JSOM is a part of SharePoint Client Object Model that intended for accessing and manipulating SharePoint objects by using JavaScript in an asynchronous. It’s provides a comprehensive set of APIs that can be used to perform operations on most SharePoint objects such as Site, Web, List, items, Content Types, User Permission and so forth.
To Enable SharePoint JSOM IntelliSense in Visual Studio, you shloud add reference directive file to your project as the following:
To Enable SharePoint JSOM IntelliSense in Visual Studio, you shloud add reference directive file to your project as the following:
/// <reference path="~/_layouts/15/init.js" />
/// <reference path="~/_layouts/15/SP.Core.js" />
/// <reference path="~/_layouts/15/SP.Runtime.js" />
/// <reference path="~/_layouts/15/SP.UI.Dialog.js" />
/// <reference path="~/_layouts/15/SP.js" />
No comments:
Post a Comment