Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

How to add button dynamically in ribbon in MS Dynamics CRM?

$
0
0

Hello,

I want to add button in the ribbon in Add New Record or Update Record Form. I can add using RibbonXML project. But I want to add dynamically on the base of selected modules.

For example, if I select Product and Case modules, the button should only display in Add/Update product and case.

This is possible as there are already some plugins are providing this kind of functionality.

Here is example: appsource.microsoft.com/.../mtccrm.cf7661c4-254c-4de4-a342-15b82f419620

I want to add buttons dynamically.

Using Ribbonworkbench, I need to open solution --> I need to select entity --> Drag new button from tool panel given on the left --> Publish. I need to do this for each entity. I want to make this dynamic.

It should work like this: I have list of entities with checkboxes. If user check the checkbox for Product and Case entity, buttons should display for Product and Case entity records. If I check one more entity 'Order', it should display button in Order form also.

I understand that I need to code to add this. But I don't know what/where I need to code.

Can somebody please guide me? 


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images