Skip to content

Project Setup

James Novak edited this page Mar 31, 2019 · 5 revisions

The DynamicsPortalScripts Visual Studio solution contains shared TypeScript libraries for shared Dynamics Portal scripts includes two primary folders:

  • scripts - contains the current set of shared library scripts as TypeScript files
  • typings - includes any typescript reference/definition files required for the TypeScript compiler Once compiled, the scripts can be included in your Dynamics Portal project.

References

References to external TypeScript definitions have been included in the typings folder. These are required to allow references strong types in Types. For example, a snippet referencing a JQuery object: var name: JQuery = $("#futz_name").val();

For this to compile in TypeScript, the following reference is required: /// <reference path="../typings/jquery/jquery.d.ts"/>

Compiling

Clone this wiki locally