Make entire page readonly on a condition

Hi everyone.

    I need to make all fields and details of a page readonly if a certain  condition is met. (In this case if a field has a certain value).

    Mostly if there is any other way than going each field and adding enabled with a variable, and in each detail check the variable with EntitySchemaQuery.

 

Like 0

Like

3 comments

Dear Ezequiel, 

You can use business rules for that. Here is an academy page that: 

User tools: 

https://academy.bpmonline.com/documents/administration/7-13/setting-business-rules

Development tools: 

https://academy.bpmonline.com/documents/technic-sdk/7-13/bindparameter-rule-how-lock-field-edit-page-based-specific-condition

Best regards,

Dennis 

Thanks,

But what I need is a way to avoid doing each field, and doing the whole page.

I've searched and found this on the community:

https://community.bpmonline.com/articles/set-page-readonlymode

But I couldn't find the package mentioned in the article.

Anyways the question is still the same, if there is any way to set a page to readonly, and not every single field one by one and details?.

Regards.

Ezequiel Sacco,

Unfortunately we are not aware of the origin of the package, you can ask creator of the article in comment section of the article. We are not aware of such marketplace app as well. If you don't want to lock each field separately you can redistribute access rights for the record on a certain conditions taking away edit right for all users. You can do it for example using business process. Please note that in this case you would need to turn on managed by records. 

Best regards, 

Dennis 

Show all comments