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

  1.  Create a Solutions, OrderRibbonSolution
  2. Add existing Entity, Order
  3. Publish the customization
Launch RibbonWorkBench (RWB), Open the solution OrderRibbonSolution in RWB

    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!

Comments

  1. Please share the enable rules with the steps to understand better:
    Create a new Enable rule and set following properties
    a. Default: False
    b. InvertRule: True
    c. EntityName: account
    d. Context: Form
    e. AppliesTo: PrimaryEntity

    ReplyDelete
    Replies
    1. But if you want a condition relationed with a field ? JS ?

      Delete
  2. But if you want a condition relationed with a field ? JS ?

    ReplyDelete
  3. Context should be “SubgridStandard”

    ReplyDelete

Post a Comment

Popular posts from this blog

Get Rid off Pending Email Warning - Microsoft Dynamics CRM

How to Rename Status field options of an Entity in Dynamics CRM