https://community.dynamics.com/365/customerservice/f/dynamics-365-for-customer-service-forum/401759/ribbon-workbench-display-rule-based-on-field-containing-data
Based on the field has value or not, the button will be visible or disabled.You can achieve it with the help of ‘ValuRule’ of enable rule in ribbon workbench.
For example, I want to hide Save&Close button in Contact based on text Muti text field.
Here are steps.
1.write JS and add it as web resource to onChange event of form.
2.Go ribbon workbench
(1) On form tab, right-click button and select custom command.
(2) Add a new enable rule and click it to add step ‘ValueRule.
(3) fill ‘ValueRule’ as follow shown:
(4) Click command to add enable rules that just add.
(5) Publish it.
3.Test.
No comments:
Post a Comment