How to hide '+' on a subgrid in dynamics CRM?
I’ve to hide ‘+’ button of Order subgrid on Account form, because we are not allowing accounts to directly create Orders.
Pre-requisite: Install latest version RibbonWorkBench tool from here
4. Create a new Enable rule and set following properties
a. Default: False
b. InvertRule: True
c. EntityName: account
d. Context: Form
e. AppliesTo: PrimaryEntity
5. Attach newly created Enable rule with the customized commands of all three buttons.
6. Hit Publish Solution
Verify by going through the Accounts and Contacts forms.
Keep Learning!
Pre-requisite: Install latest version RibbonWorkBench tool from here
- Create a Solutions, OrderRibbonSolution
- Add existing Entity, Order
- Publish the customization
4. Create a new Enable rule and set following properties
a. Default: False
b. InvertRule: True
c. EntityName: account
d. Context: Form
e. AppliesTo: PrimaryEntity
5. Attach newly created Enable rule with the customized commands of all three buttons.
6. Hit Publish Solution
Verify by going through the Accounts and Contacts forms.
Keep Learning!
Please share the enable rules with the steps to understand better:
ReplyDeleteCreate a new Enable rule and set following properties
a. Default: False
b. InvertRule: True
c. EntityName: account
d. Context: Form
e. AppliesTo: PrimaryEntity
But if you want a condition relationed with a field ? JS ?
DeleteBut if you want a condition relationed with a field ? JS ?
ReplyDeleteContext should be “SubgridStandard”
ReplyDelete