首页 > 其他 > 详细

Intellisense for Xrm.Page in CRM 2011

时间:2016-09-01 02:11:13      阅读:303      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!