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

Display multiple lists/libraries in an accordion view

Recently 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

Shows 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

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

Google Map with current time and Yahoo Weather for SharePoint

The code below does the following things 1) Gets the City and WOEID from City Marker List (where city for e.g. Mumbai and WOEID is the ID through which we can get the weather of Mumbai from yahoo) 2) Interacts with Google API and loads the map. Then mark the city win a pin (the city Read more about Google Map with current time and Yahoo Weather for SharePoint[…]