Friday, February 22, 2013

Get SharePoint list id using SharePoint object model

In this post we will discuss about how we can get the list id of a particular SharePoint list using SharePoint 2010 object model.

Also check previous posts on My Site document libraries improvements in SharePoint 2013, Create a Survey in SharePoint 2010 and  Modify All Items view using SharePoint object model.

Below is the code that will give the list if of a SharePoint list.

Saturday, February 16, 2013

How to get userprofile properties in SharePoint 2013 object model?

In this post we will discuss about how to retrieve UserProfile properties in SharePoint 2013 using object model. You can also check some tutorials on SharePoint Server object model and Client Object Model SharePoint 2010.

Below is the code:

using Microsoft.Office.Server.Social;

using Microsoft.Office.Server.Administration;

Wednesday, February 13, 2013

Delete webpart using client object model in SharePoint 2010

In this post we will discuss about how to delete a web part using SharePoint 2010 client object model.

You can also check my previous posts on Document Sets in SharePoint 2010, Add safe controls programmatically in SharePoint 2010 and Developer Dashboard in SharePoint 2010.

Below is the code to delete the webpart using SharePoint 2010 client object model:

ClientContext ctx = new ClientContext("http://SiteURL");

Saturday, February 9, 2013

Content Search Web Part in SharePoint 2013

In this post we will discuss about the new Content search webpart which was introduced in SharePoint 2013.

You can also check my previous posts on: New microblogging features in SharePoint 2013, SharePoint 2013 workflow development tools and New master pages in SharePoint 2013.

SharePoint Server 2013 has added a new Content Search Web Part that displays content that was crawled and added to the search index.

Tuesday, February 5, 2013

SharePoint 2013 in-place holds

In SharePoint Server 2013, content that is put on hold is preserved, but users can still change it. The state of the content at the time of preservation is recorded. If a user changes the content or even deletes it, the original, preserved version is still available. Regular users see the current version of the content; compliance officers who have permissions to use the eDiscovery features of SharePoint Server 2013 can access the original, preserved version.

In-place holds in SharePoint Server 2013 offer improvements to the hold functionality in earlier versions of SharePoint Server. Improvements include the following: