It's the little things! JavaScript Extraction Tool

by Bill Owens 5. August 2008 16:13
I just saw this post by Joris Kalz on his blog posted Monday, August 04, 2008 5:04 PM and I cannot wait to try it out. There has been many times I wanted a tool like this, plus it will help me document those hidden customizations for my clients. WAY TO GO Joris and thanks.


I recently had to transfer several customizations to a different CRM installation. While Microsoft Dynamics CRM offers an export and import functionality, in this case I just wanted to select specific client side customizations. However, manually grabbing all jscript code is a little bit time consuming. Instead, I wrote a few lines of code to export all jscript code without annoying interaction.VS Project CRM to JS Export

 

The code is pretty straight forward, so feel free to modify. You can download the VS 2008 project here: Microsoft Dynamics CRM Jscript Export Tool

Before you start this tool, you have to change the app.config according to your CRM installation:

WindowClipping

After running the tool, all client side jscript will be stored at the declared output folder.Running-CRM-Jscript-Export-Tool

The result will be a list of all entities containing jscript separated by event type and further by form and field events.

JScript-File-List

Hopefully you like this tool. In the final stage of this tool, it will be even possible to write changes back to Microsoft Dynamics CRM.

Tags: , ,

CRM 4.0

Page List

About the author

I work for a consulting firm in Dublin Ohio called Affiliated Resource Group. For the last five years I have been spearheading our Microsoft Dynamics CRM practice. I have a deep appreciation for the Microsoft CRM platform and I am very excited about it. You might even describe me as a Microsoft CRM Advocate. I have many battle scars from my experience with the product and I’m constantly being asked questions about CRM and how-to-do something in it. Hence, this BLOG is to help disseminate that knowledge and information to everyone. As of last year I was posting links to many other blogs to help spread the knowledge, but now with the community.dynamics.com doing that for me, I will be following that practice unless a really juicy article catches my eye. Many people have asked where my post are for the first half of 2010, my company had me posting to another blog and maintain two was near impossible. I am now down to just this blog. So good luck and I hope that this blog may help in some way. If you have suggestions or questions, please email me them.

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 BillOnCRM