Programmatically upload a file to Document Library
Following is a utility function which you can use to upload a file programmatically in SharePoint document library. It has two parameters. First is the source file path and second is the target...
View ArticleGot MCTS Status Today! – Exam 70-542 Done!
Today, I got the status of MCTS: Microsoft Office SharePoint Server 2007 ― Application Development. This exam focuses on Application Development for Sharepoint Portal Server by utilizing enterprise...
View ArticleHow to add custom CSS in your WebPart
If you want to add custom CSS file for your webpart, here is the code: protected override void CreateChildControls() { base.CreateChildControls(); CssLink cssLink = new CssLink(); cssLink.DefaultUrl =...
View ArticleHow to generate a valid SharePoint FileName
SharePoint imposes several restrictions for the filenames. To get the details of all these restrictions, please check this support article from Microsoft. I have created a utility function to convert a...
View ArticleDownload wsp solution file from SharePoint Farm
Some times you need to download the solution file from SharePoint Farm. SharePoint user interface does not provide any functionality to achieve it . Don’t worry, you can extract the solution file from...
View ArticleGet FormDigest from C# using REST in SharePoint 2013
If you want to communicate with SharePoint 2013 through REST, you need to send FormDigest value with every request. In JavaScript, it is very easy as it will always be available on SharePoint Page...
View Article
More Pages to Explore .....