Skip to content

Form Librairies Manager

MscrmTools edited this page Jul 30, 2015 · 4 revisions

When developing scripts for Microsoft Dynamics CRM forms, you need to register Scripts libraries in forms. With the use of shared Scriptslibraries, we often need to register these shared scripts in multiple forms. This tool allows to register one or multiple Scripts libraries to one or multiple forms.

To use this tool, first connect to an organization

Then click on "Load Libraries and Forms"

As seen in the above screenshot, you can select Scripts libraries and forms. Then, available actions are the following

##Add checked scripts

This action registers all selected Scripts libraries in selected forms.

As forms can already contains existing Scripts libraries and because you also may have the need to order Scripts libraries to register, the following dialog appears when adding Scripts libraries to form

You can specify the order of the Scripts libraries to add and also choose to add them after or before the existing Scipts libraries.

The bottom panel displays information to confirm scripts were added correctly or not

##Remove checked scripts

This action removes selected Scripts libraries from selected forms, and also unregisters all events related to these libraries in selected forms

The bottom panel displays information to confirm scripts were removed correctly or not