Saturday, July 31, 2010

Enable IntelliSense for SharePoint Client Object Model in Visual Studio 2010

Microsoft released some guidance on enabling intellisense for the SharePoint client object model and was disappointed, it only gave partial intellisense. After a bit of investigating, I found that there are a number of debug.js files in the layouts folder. Adding the SP.Core.debug.js file gave me the result I was looking for. 

<script type="text/javascript" src="/_layouts/MicrosoftAjax.js" ></script>
<script type="text/javascript" src="/_layouts/SP.debug.js" />
<script type="text/javascript" src="/_layouts/SP.Core.debug.js" />


No comments:

Post a Comment