This can be easily changed by adding a reference to the JavaScript file which contains the API that you’re using in your custom JavaScript code.ĭepending on whether you’re working with a standalone JavaScript file (.js) or an Application Page (.aspx) or a User Control (.ascx) you have to use different syntax to reference the JavaScript files provided with SharePoint 2010. But do we really have to memorize the syntax and the location of all the files we need? What’s wrong with the SharePoint 2010 JSOM intellisense?Īs Kirk Evans mentions in his article, by default there is no intellisense for the SharePoint 2010 JSOM. One downside of working with the SharePoint 2010 is the lack of intellisense. Using the new JSOM you can create pretty powerful solutions especially when combined with libraries like jQuery. SharePoint 2010 ships with the new JavaScript Object Model (JSOM) that allows you to create rich solutions without a single line of server-side code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |