SharePoint

Add Custom menu Item in ECB Menu using Javascript

SharePoint provides a build in JavaScript, which has two functions for ECB AddListMenuItems and AddDocLibMenuItems.These methods are executed by SharePoint to display context menu. The below code will help you to add a Custom Menu in ECB using JavaScript. By default the ECB menu comes for the Title column where user can click on the ECB menu Read more about Add Custom menu Item in ECB Menu using Javascript[…]

SharePoint

Follow a Video in SharePoint

Now in SharePoint, the videos are actually stored as Document Sets . And you cannot follow a Document Set. Which is why you do not get the option to follow a video. The following content types can be followed : User Document Site Tag Now we can follow a Document Set using JavaScript based on Read more about Follow a Video in SharePoint[…]

SharePoint

Get All Sites and Sub Sites using REST API

This post will explain you how to Get All Sites and Sub Sites using REST Api in SharePoint Online In order to get the list of sub sites from a site we need to call the below URL:

Now to get the entire site structure we will need to loop every site to see Read more about Get All Sites and Sub Sites using REST API[…]

Event Timeline for SharePoint

Event Timeline are Events are taken from the Calendar List and displayed in a more intuitive manner. I have used the timeline script from the below URL: http://tympanus.net/codrops/2012/11/19/responsive-css-timeline-with-3d-effect/ I have added an extra column to store the image URL. Code: timeline

List:  Timeline:    

SharePoint Security

The code I am attaching will do the following things Get all users from the site Check if User is Site Admin Get all groups the user belongs to Details page of user on click of user name Navigate to group on click of group name I have used datatables.net to enable the following Default Read more about SharePoint Security[…]

Convert SharePoint List to PDF,CSV,Excel using JavaScript

This blog will explain you how to Convert SharePoint List to PDF,CSV,Excel using JavaScript for SharePoint Online Just few days back I was surfing through the SharePoint Store and I found an app called “List2Pdf”. This actually is useful when it comes to users who store the data in SharePoint Lists and then export the Read more about Convert SharePoint List to PDF,CSV,Excel using JavaScript[…]

SharePoint

Create Document Set using SharePoint REST Interface

This blog post explains you how to create a Document Set using SharePoint REST Interface. Happy SharePointing!!!!!!!!!!!!! 😀 Reference Link: http://sharepoint.stackexchange.com/questions/147149/creating-document-set-and-setting-values-with-rest-listdata-svc

Version History Trimmer

The version history trimmer code currently deletes all the versions from just one document.But this will give you an idea of how to make it work for multiple documents as well here is the code below on how to  use it Version Trimmer :

below is what you will see ARF.docx has 2 versions as Read more about Version History Trimmer[…]