Free Utility Released: Export JavaScript from CRM

Part of an upcoming commercial utility I am building exports custom JavaScript found in a CRM installation.  I needed that functionality for a current customer project so I decided to go ahead and create a separate utility that performs that one function.

Here is the user interface:

image

 

JavaScript Extraction Rules

The JavaScript found within each entity will be extracted using the following rules:

  • Only custom JavaScript is extracted. Built-in CRM JavaScript is ignored.
  • JavaScript for the Form’s OnLoad and OnSave events will be exported.
  • JavaScript for each Atttribute’s OnChange event will be exported.
  • Only active JavaScript is exported. If you don’t have the Active checkbox on the event checked, it is ignored.
  • If the JavaScript is Active but there is no JavaScript in the event, it is ignored.

 

Output Folder

A sub-folder will be created using the name of the CRM Organization in the folder where the utility is located.

 

Output Contents

Each event will be written to a separate file with a .js extension. The naming convention is:

OnLoad

<entity>_onload.js

OnChange

<entity>_<attribute>_onchange.js

Here is what the new Demo CRM VPC installation’s output looks like:

image

 

Download it from the Free Utilities page.

7 thoughts on “Free Utility Released: Export JavaScript from CRM”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>