Skip to Content
0

Dynamically Set the Properties of Contols in Accounts

Oct 31, 2017 at 05:12 AM

46

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Deepak Singhal Oct 31, 2017 at 09:43 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you Deepak for your quick response,

If i create Rule in the rule editor , irrespective of the role , the fields will be grade out based on conditions.

could you please help or suggest in this regard.

0

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

0