Hello Developers,
I'm working on sugarCRM 8.3. I need to write dependencies on custom field, where field is required or visible for specific role. I tried using JS but it is working only on web not in mobile.
Hello Developers,
I'm working on sugarCRM 8.3. I need to write dependencies on custom field, where field is required or visible for specific role. I tried using JS but it is working only on web not in mobile.
We had built a custom sugarLogic function which do this job.
Save the attached file into custom/include/Expressions/Expression/Boolean/isUserInRoleListExpression.php
Go to Admin -> Repair -> Rebuild Sugar Logic Functions
Then go to Admin -> Repair -> QRR
You will be able to see such function in Formula Builder on setting up a fiel as calculated. This way you will see the new sugarLogic formula in the formula builder and, eventually, use this formula in any Dependency Action as well.
Regards
We had built a custom sugarLogic function which do this job.
Save the attached file into custom/include/Expressions/Expression/Boolean/isUserInRoleListExpression.php
Go to Admin -> Repair -> Rebuild Sugar Logic Functions
Then go to Admin -> Repair -> QRR
You will be able to see such function in Formula Builder on setting up a fiel as calculated. This way you will see the new sugarLogic formula in the formula builder and, eventually, use this formula in any Dependency Action as well.
Regards