Sunday, April 3, 2011

Content organizer feature.

Content organizer is a really cool feature available in SharePoint 2010, This is available at site level and  activation is quiet straightforward, as we always do, navigate to the site features of the site where we plan to use the content organizer and activate the content organizer feature which is mostly the first feature in the list of site features.

As usual, as long as the feature get activated, we are happy and we do not attempt to look any further and enjoy using the content organizer. The only and also the interesting time that we tend to look at this feature in detail is, if it fails during activation or if you want to customize the application of content organizer, if you are in the latter category, the following will help you bit in understanding  a bit of internals of this  feature.

In fact the basic content organizer feature is coming with two features, one is at the site level and the other is at the site collection level. The site collection level feature is hidden and the main content organizer feature is depending on this. The folder names for these two features are DocumentRoutine and DocumentRoutineResources,

The DocumentRoutine is the site level feature and which get activated when the content organizer feature is activated, but this feature as I mentioned above depends on the DocumentRoutineResources hidden site collection level feature, so the DocumentRoutineResources hidden feature is activated by the site collection feature known as "SharePoint Server Standard Site Collection Features"


 


Normally, this feature is always activated by default as such the DocumentRoutineResources is also activated bu default.

As the name implies, DocumentRoutineResources features adds all the required content types and site columns for content organization while the DocumentRoutine feature creates the  two lists, the Drop off library which is available under the libraries and the other is the routing rules list which can be accessed by the link provided at the Site Administration under site settings and also one more link to access the content organizer settings page.

Monday, January 31, 2011

GUIDs of the standard features in SharePoint 2010

We can always goto the hive \template\features and open the feature xml and find the unique ID of the feature that we are after but only intrigue part is most of the time the name appear in the feature folder is different to what we see in the SharePoint feature list either at the site or site collection level, one good example is Content Organizer, the folder name is DocumentRoutine, so I founnd the following link is very usefull in this aspect.

http://blogs.msdn.com/b/mcsnoiwb/archive/2010/01/07/features-and-their-guid-s-in-sp2010.aspx

Use DataSets in document libraries.

Document sets is a really cool thing in SharePoint 2010, I have read many articals about this and also seen how to get it to use.

Here is the simple steps to get the document set content type into your document library.

- Goto the site collection features and activate the Document Sets feature for the site collection
   Once this is activated, the document sets content type is available for this site collection.
- Goto the library settings of the document library where you like to have the document sets.
- Select the advance settings
- Select Yes for the Allow management of content types under the Content types section and save it.
  Now the Content types section is available under the library settings.
- Click Add fromm existing site content types under the Content Types section.
- Select the Document Set fromm the list.
This is pretty simple but we forget so I decided to keep it here :)