Ribbon customization show /hide button using javascript
- Install ribbon bench managed solution
- Import the ribbon bench managed solution
- Go setting ->customization->Click on ribbon bench
- Open solution which should contain entity and javascript logic to show/hide
- Add new button on the form
- Add the command on the new button
- Add enable rule ->custom rule->give websource name and display
- Add parameter in enable rule ->Crm parameter->primary control
- Add the newly added enable rule to command
Perform action after button click
- Add action on the command ->select javascript ->add function
- Add parameter->crm parameter-.>primary control
Display rule:
- Show/hide button based on field value->add display rule
- Add value rule->field name->value
No comments:
Post a Comment