0
votes

I am new to Microsoft Dynamics. I managed to create new solution and know how to add web resource to particular page like Contacts. Also, I have added few buttons to Ribbon control with their actions.

Now my problem is, I want to add a button either to ribbon control or anywhere in page, which I can access in complete CRM (like I can do in Master Page of asp.net), and which will help me open my web resource.

For example, if I click on Charts bar, web resource should be visible, otherwise it should be hidden.

enter image description here

My question may be lame, because I am very new to CRM Dynamics, kindly suggest my way is correct or I need to take some different approach?

1
What action will the button perform? A CRM action / link, or trigger something outside CRM? Have you look into adding Javascript to the page? msdn.microsoft.com/en-us/library/hh771584.aspxKye
@Kye I want to show web resource..Pranit Kothari

1 Answers

0
votes

If I understand it correctly you're looking for a way to add a button to multiple screens without need to modify each of them separately. (To avoid the pain when modifying all the ribbons or all the forms.)

In that case I'd suggest creating a separate JS web resource with code that adds a button with desired functionality, styling etc. And use Form Libraries Manager from XrmToolbox to bulk add the resource to all the forms.