If we have custom Ribbon button and custom JS code to perform some action on click of it or to simply display/hide Ribbon button based on some condition in JS code in version prior to D365 V9, then following changes need to be done to make them work in D365 V9.
- Using Ribbon Workbench, add a new parameter to the command/enable rule/display rule of type CRM Parameter:
- Select the value of CRM Parameter as PrimaryControl:
- After making above changes Click on Publish.
- Then coming to JS code,…
Continue Reading Nishant Rana’s Article on their blog
Blog Syndicated with Nishant Rana’s Permission
More About This Author
• Microsoft Certified Professional in Microsoft Dynamics CRM (CRM 3.0 to CRM 2016), Microsoft SharePoint (2007 and 2013) and Microsoft .NET with 10+ years of experience.
• 10 years of working experience with Microsoft Dynamics CRM starting with CRM 3.0 to CRM 2016 on various project aspects: analysis, designing, developing, leading team etc.
• An avid blogger who likes to learn, help, share and contribute in Community.
• Author of “Nishant Rana’s Weblog” (https://nishantrana.wordpress.com/), technical blog on Microsoft .NET technologies with more than 2.5 million hits and 800 followers. The blog is also recognized as one of the top 35 blogs on Microsoft Dynamics CRM.
• Twitter account https://twitter.com/nishantranaCRM with more than 500 followers, which includes MVP(s) and experts in Microsoft Dynamics CRM.
• Technical Reviewer of following books on Microsoft Dynamics CRM.
- 2018.12.10#Dyn365CEYou don’t have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified error in USD Client Application
- 2018.12.03#Dyn365CEMerged vs. Child Cases – Nishant Rana’s Weblog
- 2018.12.02#Dyn365CECrmRecordId and IsNew Output in CRM/CDS Destination Component – Nishant Rana’s Weblog
- 2018.12.01#Dyn365CE[D365 CE Online] Debug Async Plug-in using “Persist to Entity” profiler option – Nishant Rana’s Weblog