Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM 2013: Hide system ribbon button for selected entities

$
0
0

Hello, 

I want to hide a system button on the Advanced Find ribbon for selected entities. I have customized the application ribbon and added a display rule (OrRule) to check for the list of entities. However, I am not able to get the InvertResult property work for the rule so that the button will be hidden for these entities.

I have used the Ribbon workbench as well as tried editing the ribbon xml manually. Both did not work. With the workbench solution, I can edit the display rule properties and set the InvertResult property to True. However, the changes are not being saved/published. I don't know what I'm missing.

Can someone please help me solve this issue ?

Here is the DisplayRule

<DisplayRule Id="new.ApplicationRibbon.Subgrid.SystemDeactivate.DisplayRule"><OrRule><Or><EntityRule EntityName="new_fcall" AppliesTo="SelectedEntity" Context="SubGridStandard" /></Or><Or><EntityRule EntityName="new_plan" AppliesTo="SelectedEntity" Context="SubGridStandard" /></Or><Or><EntityRule EntityName="new_automaticnotification" AppliesTo="SelectedEntity" Context="SubGridStandard" /></Or></OrRule></DisplayRule> 


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>