Creating and managing scripts

JavaScript scripts are added to a solution package just like any other resource. They are becoming part of the package, and thus are easily portable to other environments, along with the solution.

Getting ready

Using the existing solution package we have created, we will be adding a new JavaScript resource.

How to do it...

To add a new JavaScript resource, navigate to Settings, and open your existing solution package. Follow these steps to add a script resource:

  1. In the package, navigate to Web Resources.
  2. In the Web Resources view, select New to add a new script resource.
    How to do it...
  3. Give the resource a name, and select the Script (Jscript) ...

Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.