locked
Display system Button for one entity? RRS feed

  • Question

  • Hi,

    Using application ribbon "Run Report" system button is hiding for all entities homepagegrid.

    Now i want to display it only for Account entity homepage grid not for all.

    How can i do this for only one entity?

    thanks,

    sravan J

    Thursday, August 1, 2013 12:29 PM

Answers

  • Hi,

    Rather than using a HideAction (I'm presuming you've used this so far), you'll need to use a Custom Display Rule.

    Steps using the Ribbon Workbench:

    1. Create a solution and add the Application Ribbon

    2. Load into the Ribbon Workbench

    3. Locate the '{!EntityPluralDisplayName}' tab

    4. Right click on the 'Run Report' button and click 'Customise Command' (Not customise button!)

    5. Locate the 'Mscrm.ReportMenu.Grid'  in the Command section of the 'Solution Elements' pane.

    6. Right Click -> Edit Display RUles

    7. Add New

    8. Add Step

    9. Select 'Entity Rule' and set the 'Entity' property to be 'account'

    10. Click OK and then 'Publish'

    Note: If you don't want to customise the other enable/display rules that were created, you can mark the IsCore Property as true on the the rules 'Mscrm.ReadReport', 'Mscrm.VisualizationPaneNotMaximized'

    hth


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"


    Thursday, August 1, 2013 12:49 PM
    Answerer