Archive for August, 2013

Common code requirements in SharePoint Javascript Object Model

Introduction In this post we will check some common codes used in SharePoint JavaScript Object Model. The post includes Getting current site object Getting current web object Getting current web full url Getting current list name and id Getting current list selected items Skill Level – Medium

August 11, 2013 · Adi · No Comments
Tags: , , , ,  · Posted in: Client Object Model, JavaScript Object Model, Sharepoint 2010, SharePoint 2013

Download files as Zip File in SharePoint

Introduction In this post we will see how to download selected document library items as zip file. The zip file creation api is from open source code of icsharpcode.net Skill Level – Medium

August 11, 2013 · Adi · 48 Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Hide Explorer button in the Ribbon

Introduction In this post we will see how to hide ‘Open with Explorer’ button option from the ribbon. This is one common requirement where most of the clients request for as they do not want expose this option for users. Skill Level – Medium

August 10, 2013 · Adi · No Comments
Tags: , ,  · Posted in: Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Move Folders of SharePoint Document Library using object model

Introduction SharePoint does not support moving folders directly but in this post we will see how we can achieve move folders of SharePoint document library to one location to another using object model. We will also see how to keep same folder Version, Modified and ModifiedBy values after moving The post includes Moving folder along […]

August 10, 2013 · Adi · 4 Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Move Files of SharePoint Document Library using Object Model

Introduction In this post we will see how to move files of SharePoint document library to one location to another using object model. We will also see how to keep same file Version, Modified and ModifiedBy values after moving The post includes Generic method to move file to destination Keeping the file version, Modified and […]

August 9, 2013 · Adi · No Comments
Tags: , , , , ,  · Posted in: C#, Sharepoint 2007, Sharepoint 2010, SharePoint 2013

Download Images from SharePoint Picture Library with PowerShell

Introduction In this post we will see a generic function to download images to local folder from SharePoint Picture Library (Image Library) through PowerShell script The script include Download images from SharePoint Picture Library. Folder structure is preserved as it is

August 4, 2013 · Adi · No Comments
Tags: , , ,  · Posted in: Powershell, Sharepoint 2010, SharePoint 2013