Skip to Content
avatar image
Former Member

Dynamically Set the Properties of Contols in Accounts

Hi Team,

We have a requirement to set the properties of controls as Editable/Grade out based on the custom field 'Approval status' and 'Role'.

If the approval status is 'Yet to be approved' then fields on the account screen should be grade out except for the role 'Master data'.

How can we achieve this functionality?

Thank you in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 31, 2017 at 09:43 AM

    Hi Smita,

    It can be achieved by creating one rule and apply it to read only property of fields. You have to write script using your extension fields in Rule Editor.

    Regards,

    Deepak

    Add comment
    10|10000 characters needed characters exceeded

    • Hi smita,

      As you mentioned Role is custom field so you need to write logic like if approval status is 'Yet to be approved' and role is NOT 'Master data' then set result of rule to 'true' and assign it to the field which you want to be read only.

      Regards,

      Deepak