Create Shortcut in SharePoint Document Library

The requirement is to create a Shortcut link inside the SharePoint document library. OK, tried uploading the URL shortcut (.url) file, and got the error message saying “The following file(s) have been blocked by the administrator: URL Shortcut.url”. Solution: Add “Link to a Document” content type to the document library. Here is…

Read more

How to Create SharePoint List or Library Programmatically?

At times, We may have to create List or Document Libraries programmatically. These code snippets will help to get it done. Create a Document Library in SharePoint Using .Net Object Model (C#) For all available List template types, Refer: SPListTemplateType Create a SharePoint List using PowerShell:

Read more

How to delete a File from SharePoint Document Library using PowerShell?

Requirement: Delete a file from SharePoint document library using PowerShell PowerShell to delete a file from document library: At times, you may have to delete a particular file from a library. In one of my cases, as part of a deployment, before copying certain files, I had to check whether the particular…

Read more