Command(Ribbon) button Enable rules behavior in CRM 2013

Hi Guys,

Here is an interesting fact about ribbon behavior in CRM 2013.

With the command bar, commands that are disabled are hidden. With the ribbon, commands that are disabled are visible but do not respond to events.

Recently i have created a ribbon button through Ribbon-work bench and used Custom JavaScript enable rule on form level.

And observed that ribbon button will be visible when my JS returns true but if it returns false it is hidden.

I have waste lots of time debugging the script and finally found this MSDN artcile. This is by design of CRM 2013.

Hope it helps..!


Sreeni Pavalla



Published by Sreeni Pavalla

Working as a Assistant Technical Manager in Positive Edge Technologies. Having over 11 years of extensive hands-on experience in MS Dynamics CRM 4.0, 2011, 2013, 2015, 2016, Dynamics 365 with over 5 years of experience in CRM Online. You can visit my blog here

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: