How to disable the ribbon File tab Save buttons in ms crm 2011
-
Monday, 23 April 2012 5:45 PM
Hi,
I need to disable or hide the opportunity ribbon File tab Save buttons if checkbox is checked on form in crm 2011.
How can i achieve this. Please help.
Thanks,
Yadav
All Replies
-
Tuesday, 24 April 2012 1:37 AM
Hi,
You can do it by writing a javascript to check the value and enable/disable the buttons based on the CustomRule.
Check the following links for more details.
http://mscrmshop.blogspot.com/2011/08/enabledisable-out-of-box-buttons-based.html
http://blogs.msdn.com/b/apurvghai/archive/2012/04/05/enable-disable-out-of-the-box-ribbon-items.aspx
-
Tuesday, 24 April 2012 7:14 AM
Hi,
How to get the ribbon File tab Save buttons id's?
Thanks,
Yadav
-
Tuesday, 24 April 2012 7:18 AM
Those will be
Mscrm.Form.<entityname>.Save
Mscrm.Form.<entityname>.SaveAndClose
Mscrm.Form.<entityname>.SaveAndNew
e.g.
Mscrm.Form.activitypointer.Save
-
Tuesday, 24 April 2012 6:00 PM
Hi Linn,
Thnaks for your reply.
Mscrm.Form.opportunity.Save --> is for main crmform Save button.
But I need to disable the opportunity ribbon File tab save buttons.
Please find the below mentioned snapshot for your reference.
Yadav