SharePoint

Open Modal Popup from Top Navigation

You may face a certain requirement where you would want a popup to open instead of opening a new tab, or redirecting within the same tab when a user clicks on the Top navigation. This

event_note
close

You may face a certain requirement where you would want a popup to open instead of opening a new tab, or redirecting within the same tab when a user clicks on the Top navigation. This

Read more

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

event_note
close

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

Read more

JavaScript: Reuse the “Working on it…” pop in

An issue was reported in which, on navigating to different pages, the user gets to see a blank screen for about 10 seconds and then the page used to load. After careful research we observed

event_note
close

An issue was reported in which, on navigating to different pages, the user gets to see a blank screen for about 10 seconds and then the page used to load. After careful research we observed

Read more

SharePoint

Add values to Choice Field drop down sharepoint choice field column

I tried this just for fun 😛 , enjoy

 

event_note
close

I tried this just for fun 😛 , enjoy

 

Read more

Display Version History Through JavaScript (List)

Well this requirement came in one of my project where the user should be able to view version history of list items but ribbon access should not be allowed. When you usually view version history

event_note
close

Well this requirement came in one of my project where the user should be able to view version history of list items but ribbon access should not be allowed. When you usually view version history

Read more

Open Create Folder dialogue in Document Library using JavaScript

Well this requirement came in one of my project where the user should be able to create folder but ribbon access should not be allowed. When you usually create a folder through the SP Ribbon,

event_note
close

Well this requirement came in one of my project where the user should be able to create folder but ribbon access should not be allowed. When you usually create a folder through the SP Ribbon,

Read more

SharePoint

Check if current user belongs in particular group using JavaScript

To check if current user belongs in a particular group kindly implement the code below script:

Check out the below link: http://stackoverflow.com/questions/22122139/check-if-current-users-belongs-to-sp-group-using-javascript-client-side-object-m

event_note
close

To check if current user belongs in a particular group kindly implement the code below script:

Check out the below link: http://stackoverflow.com/questions/22122139/check-if-current-users-belongs-to-sp-group-using-javascript-client-side-object-m

Read more

SharePoint

Tips & Tricks: SharePoint Modal Dialogs

The following JavaScript snippet is sample code that you could use to open a SharePoint page in a modal dialog:

Opening and Closing Modal Dialog: If dialog requires updating information on the parent page,

event_note
close

The following JavaScript snippet is sample code that you could use to open a SharePoint page in a modal dialog:

Opening and Closing Modal Dialog: If dialog requires updating information on the parent page,

Read more

SharePoint

Delete selected SharePoint list items through JavaScript

To delete a list item, call the deleteObject() function on the object. The following example uses the getItemById(id) function to return the second item from the list, and then deletes the item. SharePoint Foundation 2010

event_note
close

To delete a list item, call the deleteObject() function on the object. The following example uses the getItemById(id) function to return the second item from the list, and then deletes the item. SharePoint Foundation 2010

Read more

SharePoint

Display Version History Through JavaScript (Document Library – Document)

Your version history is basically an .aspx page with certain parameters passed through Query String to identify for which item you are check the version history for. In case you hide the ribbon and edit

event_note
close

Your version history is basically an .aspx page with certain parameters passed through Query String to identify for which item you are check the version history for. In case you hide the ribbon and edit

Read more