21 March 2011

SharePoint 2010 Content Organizer

A mechanism to route the files based on the meta data provided on the base of rules set by rule managers.
This feature act like an Servant who can put the files in appropriate deck......  

20 March 2011

Content Type Syndication in SharePoint 2010

Content type syndication feature is amazing feature in share point 2010.This feature enable to centralized management and publication of content type. One of the scenarios where we can utilize this feature is when we need to maintain policies attached to the content types globally. In share point all the data structures are implemented as List and this lists are composed of content types. Content types are powerful data structures in share point where you can attached event receivers, work flows, policies etc.

Share point 2010 allows metadata management globally. For this one of the Site collection in the farm need to be act as the centralized location. This location is called content type hub in share point 2010 environment. Share point 2010 limits only one content type hub across the farm. Once the content type hub is set up, any number of content types in this hub can be a candidate for publishing. Once content type is published it can be accessed across the farm in any site collection, as they are globally available content types.

The settings for a content type hub can be initially done in the central admin using UI, however if we plan to change the content type hub we need to use power shell script for it. The content type publishing is carried out by timer jobs. So the scheduling of this timer jobs and their frequency are subject to be determined while planning the change propagation of the existing content type to its subscribers. A content type can re-publish any number of times for changes.

Content type syndication feature is very use full for implementing document retention policy across the farm. When workflow is attached to the content type which is candidate for publishing, And the target site have the same workflow. The workflow will be associated to the subscribed content type. But when a content type is published default no workflow associated with it is published. The only required thing is the required workflow to bring up in the subscribed site. The content type syndication will automatically take care of associating with the workflow in the subscribed site.

10 March 2011

Static Name and Name for List Columns

Static name will work with the list item , while Name works with after and before properties.

7 March 2011

Setting Creater/Author in document library in sharepoint

SPUser Author = web.EnsureUser("YourUser");
currentItem["Author"] = Author.ID;
currentItem["Editor"] = Author.ID;
currentItem.SystemUpdate(false);
currentItem.Update().

For setting both Author and editor comment currentItem.SystemUpdate(false); in the above code.

6 March 2011

Setting SharePoint 2010 site public URL using Alternate Access Mapping & Host Header Setting

1.In Iss select the sharepoint site > Edit Bindings
provide the host name say "myportal.site.com"
2.Configure Alternate Access Mapping
Go to Central Admin > Application Management > Alternate Access Mappings
Edit Public URLs add the site "http://myportal.site.com"
3. Refer this link to solve the error 401.1 error when you try from the same server
(from different system the link will work fine).