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

SharePoint

Create Document Set using SharePoint REST Interface

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

0  The 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 shown below Read more about Version History Trimmer[…]

Display multiple lists/libraries in an accordion view

0Recently i was surfing through the SharePoint store and checking out all the apps that developers made. I found this Accordion app which shows data from multiple lists. And so i thought, why not i try the same thing for my projects. Below is a concept i implemented. I have a Custom List called as Read more about Display multiple lists/libraries in an accordion view[…]

Library Statistics using ChartNew.js

0Shows 4 reports: Active Editors (Users who have modified documents in the last one month) Active Authors (Users who have uploaded or created documents in the last one month) Work in Progress (Users who have checked-out documents) File Types (Different Document Extensions present in the Library) Please visit ChartNew.js to know how the charts work. Read more about Library Statistics using ChartNew.js[…]

Download selected files as Zip file using JavaScript

0I get a requirement where user needs to download the selected files from the SharePoint Document Library by zipping all of them. This I wanted to tr purely using JavaScript. The below will explain you how to download selected files as zip file using JSZip. After surfing the internet I found this useful tool called Read more about Download selected files as Zip file using JavaScript[…]