Tag Archives: CSOM

Send list items to recycle bin with JavaScript CSOM


Delete operations examples provided by Microsoft include how to delete list items using JavaScript CSOM. And everything is fine, with a small exception. “deleteObject” operation is completely deleting items and you cannot restore them from recycle bin. But instead you can use “recycle” method of SP.ListItem object. My article will show how to sent multiple […]

https://anvlpopescu.wordpress.com/2015/08/12/send-list-items-to-recycle-bin-with-javascript-csom/

At Work 01 : Two reasons not to use the $.ajax with SharePoint REST calls


The first thing I really like about SharePoint REST APIs is, we do not need any reference to client assemblies or JS libraries. The basic operations in REST API includes CRUD operations on lists. You can find the list of these end points on MSDN. And we can find so many examples on MSDN and other websites using […]

https://sharepointatwork.wordpress.com/2015/05/09/two-reasons-not-to-use-the-ajax-with-sharepoint-rest-calls/

At Work 04 : Custom Context Menu in search results PreviewPane (using Display Templates)


This post is about showing the context menu in SharePoint Search results preview panes using Custom Display templates. The solution provided here is not an OOTB menu that comes in Document Library ListView webpart. This is a custom markup and JS to render the options. I’m using a custom JS file(previewpanefunctions.js) where I wrote all […]

https://sharepointatwork.wordpress.com/2015/07/29/custom-context-menu-in-search-results-previewpane-using-display-templates-jsom/

Two reasons not to use the $.ajax with SharePoint REST calls


Two reasons not to use the $.ajax with SharePoint REST calls
The first thing I really like about SharePoint REST APIs is, we do not need any reference to client assemblies or JS libraries. The basic operations in REST API includes CRUD operations on lists. You can find the list of these end points on MSDN. And we can find so many examples on MSDN and other websites using […]