0
votes

I want to add custom UI ( frame containing buttons ) to MS Dynamics CRM 2013. I am really new to Dynamics CRM and scripting. On MSDN there are several ways as per below link http://msdn.microsoft.com/en-in/library/cc150829.aspx

I am confused between IFRAME and Form Scripting.

I am not sure what is exact difference between two and how implementation differ. can anyone guide me on this.

1

1 Answers

0
votes

IFRAMES:

You would typically use an iframe when you want to embed a custom UI/form/control. You mention custom buttons, so this is likely what you want to use.

Iframes can be embedded in your form in 2 ways: through adding an iframe component on your form and specifying the URL or adding a web resource to your form, which can point to a custom html page that you can add through CRM customizations. The second method is likely the one that fits what you are trying to do.

You can then add various types of functionality through the page that updates data through calling the SOAP or REST API's that CRM exposes. You will likely want to check out the CRM SDK.

Form scripts:

Form scripting can be used to manipulate data, requirement of fields, showing/hiding of controls or sections, etc.

Ribbon Buttons:

Another thing to mention is that ribbon buttons are often the best way to add functionality like you are describing to your form. More info here.

I hope this has been helpful.