Replace Content Editor Web Part (CEWP) Links with PowerShell

April 30, 2013    , , , ,
After a SharePoint Migration with URL change, had to find and replace the links from SharePoint content Editor Web Part for all SharePoint sites in a web Application. Here is the PowerShell Script to find and replace links from Content Editor Web Part. Add-PSSnapin Microsoft.SharePoint.PowerSh…

Hide List Form Field in SharePoint using jQuery

April 30, 2013    , , , , , ,
My earlier post listed various methods such as C# Object model, PowerShell, JavaScript methods to hide columns in SharePoint list forms: Hide Columns in SharePoint List NewForm, EditForm and DispForms Now, lets hide fields in SharePoint list form pages using jQuery. Lets say you have a field ca…

Import From CSV File into SharePoint List using Powershell

April 29, 2013    , , , , ,
Periodically, We needed the data from a CSV file, which is generated by an external Third-party application, to be imported to SharePoint 2010 List. To fulfill this requirement,  I wrote a quick PowerShell script which will read the CSV file and import the data into the SharePoint list using Powe…

Export SharePoint List Items to CSV using PowerShell

April 28, 2013    , , , , , ,
Requirement: Export SharePoint List items to a CSV file. Export SharePoint list data to CSV using PowerShell: This script exports SharePoint list to csv using PowerShell . It retrieves all list items, Filters it based on the provided column value and then creates a property to hold the list…

"The Content Type is in Use" Error in SharePoint - Find Where and Delete

April 28, 2013    , , , , ,
We don't needed a particular content type anymore and wanted to delete the content type. Navigated to:     Site Actions >> Site Settings.     Under Galleries click Site content types.     Select the Content type to delete by clicking on its name.     Click "Delete this site…

Add Web Application User Policy using PowerShell in SharePoint

April 09, 2013    , , , , ,
SharePoint web application user policy is the ideal way to manage permissions at the web application level instead of individual site collections. E.g. You want to provide full control to your CIO to all site collections in a intranet web application. Web app policy is discussed in my another art…

Change SharePoint Authentication from Classic Mode to Claims Based

April 08, 2013    , , , ,
As SharePoint 2013 and SharePoint 2016 requires claims authentication for most of its functionalities like Office web Apps, its mandatory to migrate to claims if your SharePoint 2010 is using classic mode authentication. Please note, you'll have to convert the authentication mode before movin…

The server may not have Microsoft SharePoint foundation installed, your machine's IP address may not have access to the server, or you may have specified an invalid proxy server (HTTP Error 403)

April 04, 2013    , ,
Problem:  Tried opening a SharePoint 2013 site in SharePoint Designer 2013 and got this error message "The server may not have Microsoft SharePoint foundation installed, your machine's IP address may not have access to the server, or you may have specified an invalid proxy server (HTTP E…

How to Rename SharePoint Column Programmatically (PowerShell / C#)?

April 01, 2013    , , , , , ,
Here is how we can rename SharePoint list or site field or column programmatically with PowerShell and C# object model code: PowerShell Code to Rename a SharePoint Field: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue $Web= Get-SPWeb "http://sharepoint.crescen…

Powered by Blogger.