码迷,mamicode.com
首页 > 其他好文 > 详细

Intellisense for Xrm.Page in CRM 2011

时间:2016-09-01 02:12:33      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

Intellisense for Xrm.Page in CRM 2011

In CRM 2011 javascripts for crm forms can be stored externally as web resources and those are no longer embedded in CRM forms. Javascripts in web resources can be edited using an external editor. Visual Studio IDE provides intellisense to the Javascripts in Xrm.Page with the help of XrmPage-vsdoc.js. It works with Visual Studio 2010 and Visual Studio 2012. Thanks to Patrick Verbeeten for bringing this cool feature in.

In order to get the intellisense Visual Studio IDE needs the reference of the XrmPage-vsdoc.js file. Follow the following steps to enable intellisense for Xrm.Page in the Javascript.

[1] Download XrmPage-vsdoc.js from HERE

[2] Add XrmPage-vsdoc.js in to the Visual Studio IDE

技术分享

 

 

技术分享

 

[3] Create a new Javascript file to a CrmForm and add following reference to that.

技术分享

 

Some Images of Intellisense inside the Javascripts

技术分享

 

技术分享

 

技术分享

 

技术分享

 

技术分享

 

Intellisense for Xrm.Page in CRM 2011

标签:

原文地址:http://www.cnblogs.com/BinBinGo/p/5828086.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!