SharePoint

Add Custom menu Item in ECB Menu using Javascript

0SharePoint 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

0Now 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

0This 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

0Event 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

0The 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[…]