The item may be too large or corrupt. You may also verify that you have the latest version of this IFilter.

Problem: SharePoint search didn’t return search results on Large lists and libraries. On analyzing search crawl log, found the error logged: “The item may be too large or corrupt. You may also verify that you have the latest version of this IFilter.”. Solution:  Make these registry changes in Index server and restart…

Read more

Replace Content Editor Web Part (CEWP) Links with PowerShell

After a SharePoint Migration with URL change, had to find and replace the links from the SharePoint Content Editor Web Part for all SharePoint sites in a web application. Here is the PowerShell Script to find and replace links from the Content Editor Web Part. Update Content Editor content in Publishing Sites:…

Read more

Hide List Form Field in SharePoint using jQuery

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, let’s hide fields in SharePoint list form pages using jQuery. Let’s say you have a field called “Parent Project” and want…

Read more

SharePoint 2010 Central Administration Links Missing, Ribbon Buttons Disabled – Fix

After setting up a new SharePoint 2010 farm, I noticed most of the SharePoint 2010 Ribbon buttons including “New” “Extend” buttons are disabled! Also few links in SharePoint 2010 Central Administration were missing: E.g. “Manage Services on the Server” link missing under Servers “Configure Incoming E-Mail Settings” under E-mail and Text Messages…

Read more

Add User To SharePoint Group Programmatically with STSADM and C#

Apart from SharePoint User Interface, We can programmatically add users to SharePoint group or site in these ways: Using STSADM command-line tool to add users  Add users to Sharepoint site/group using C# Object Model 1. Using STSADM command-line tool to add users: To add users to the SharePoint site, we can use…

Read more

Import From CSV File into SharePoint List using PowerShell

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 PowerShell. PowerShell Script…

Read more

Export SharePoint List Items to CSV using PowerShell

Requirement: Export SharePoint List items to a CSV file. Export SharePoint list data to CSV using PowerShell: This script exports the SharePoint list to CSV using PowerShell. It retrieves all list items, filters them based on the provided column value, and then creates a property to hold the list item values and…

Read more

“The Content Type is in Use” Error in SharePoint – Find Where and Delete

We don’t need a particular content type anymore and wanted to delete the content type. Navigated to: Oops! SharePoint returns an error: Error: “The Content Type is in Use”.  Looks like it’s a common issue when trying to delete content types. I’ve seen this “The content type is in use” error in SharePoint 2007…

Read more

SharePoint Survey – Redirect to Thank You Page on Finish

Requirement is to redirect users to Thank You Page in SharePoint Survey on clicking Finish button. One quick trick that comes to my mind is: Appending Source parameter to the Survey’s NewForm URL. E.g. https://sharepoint.crescent.com/Lists/TownhallMeetingSurvey/NewForm.aspx?source=/SitePages/thankyou.aspx Not a bad idea, But the problem is: It doesn’t matter whether you click on the “Finish”…

Read more