How to Disable Attachments in SharePoint List?

Requirement: Disable Attachment in SharePoint List How to Disable Attachments in SharePoint List? If you want to disable attachments for a SharePoint list for whatever reason, head on to List Settings >> Advanced  Choose “Disabled” under Attachments section! That’s it! To make this change programmatically, set SPList.EnableAttachments = false. Its possible to…

Read more

How to Add Users to SharePoint Site and Grant Permissions?

Adding users to SharePoint site is a frequent activity for SharePoint site owners. Users can be added either to any existing SharePoint group or directly under site permissions. Lets see how to add users in SharePoint site. How to Add Users to SharePoint? To add users to SharePoint 2010 site: 1. Log-in…

Read more

Package and Deploy Content Types as Feature Based Solutions in SharePoint 2010

Task: Create a feature based solution package to pack and deploy the content type from DEV environment to STAGING environment in SharePoint 2010. Although SharePoint 2010 supports content type hub, where content types of one site collection can be used by other site collections/web application/even Farms, we needed an isolation and wanted…

Read more

How to Change Central Administration Port in SharePoint?

Changing Central Administration Port in SharePoint isn’t a frequent task, but you may have to do it in some situations: Perhaps during SharePoint installation, the Central Administration Web site may be established with a random port, and you want to change it now. It was assigned with a port number which is…

Read more

Set SharePoint Search Settings (Search Center URL, Scope Dropdown Mode) Programmatically

After migrating SharePoint 2007 sites to SharePoint 2010, we decided to set search center URL to a Enterprise Search center site and scope settings Dropdown mode to use “Show scopes dropdown” for all site collections. To update search center and search scope dropdown settings in SharePoint sites, We used to go: Site…

Read more

Configuring BLOB Cache in SharePoint

What is BLOB? BLOB means Binary Large Object and refers to any binary format file that is stored as a single entity and not converted to text. Usually, BLOB files are of type images, audio/video files. What is BLOB Cache? When BLOB types of files are uploaded to a SharePoint site (E.g….

Read more

Export-Import Site Columns in SharePoint using PowerShell

It’s a frequent requirement to copy site columns between SharePoint environments, isn’t it? Today had a requirement to copy a bunch of site columns from the development environment to the staging environment. We used to package site columns as a WSP Solution package in such requirements: Create Site Column Feature for SharePoint…

Read more

Clicking Document Type Icon does not open document, Selects the Row Instead

Issue: SharePoint 2010 clicking type icon does not open document! Clicking Type Icon Selects the Row Instead of Opening the Document! Fix: It’s a known issue! Microsoft released a KB article: https://support.microsoft.com/kb/2457975 In short: Copy and Paste the below code as a file named: “fldtypes_docicon.xsl” and save it under 14 Hive folder…

Read more

SharePoint 2010 Content Editor Web Part Hidden property is Disabled

Found an interesting issue today. Wanted to place some CSS code in Content Editor Web Part (CEWP) and hide it, so that it won’t appear to end-users. I added a content editor web part, placed some CSS code, went to web part properties, oops! Hidden property under Layout is disabled (greyed out)!!…

Read more

“There has been an error creating the personal site. Contact your site administrator for more information” – SharePoint My Site Creation Error

When end-user tries to create My sites by clicking the “My Content” link for the first time, They encountered this error message: “There has been an error creating the personal site. Contact your site administrator for more information” Troubleshooting: 1. Make sure User Profile Service Application & My Sites configuration is proper….

Read more