Tuesday, June 16, 2009

Unique Column Policy in SharePoint List/Library

There is a tool on http://www.codeplex.com/features/Release/ProjectReleases.aspx?ReleaseId=2502 called "Uniuq Column policy Feature", download it (*.wsp file) then install it on your server using the following command:


C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o addsolution -filename "C:\Documents and Settings\Administrator\Desktop\UniqueColumnPolicy.wsp"

then go to Central Administration>Operations> Solution management, you will find a solution called uniquecolumnpolicy.wsp, go and deploy it.

Then go to your document library or list> Settings> docuemnt library settings>Information management policy settings > Select Define a Policy, you will find "Unique Column Policy" then check the "Unique Column Policy" box next to it, then you will have the list of columns in your document library, select the column you want to apply a unique constrains on.

7 comments:

  1. Thanks, it was a great help

    ReplyDelete
  2. I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
    I'll go ahead and bookmark your website to come back down the road. All the best
    Here is my website - www.youtube.com

    ReplyDelete
  3. I every time used to read piece of writing in news papers but now as I am a user of
    web therefore from now I am using net for content, thanks to web.
    Here is my web page ... slow computer

    ReplyDelete
  4. I've read a few good stuff here. Definitely value bookmarking for revisiting. I surprise how much attempt you place to make this sort of wonderful informative website.
    My website to get rid of acne

    ReplyDelete
  5. Hi my family member! I want to say that this article is awesome, great written and include almost all significant
    infos. I would like to peer extra posts like this .
    Also visit my blog - bostaditurkiet.net

    ReplyDelete
  6. Howdy just wanted to give you a quick heads up. The text in your content seem to
    be running off the screen in Opera. I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I'd post
    to let you know. The design look great though!
    Hope you get the issue resolved soon. Thanks
    Stop by my weblog : http://grouprescue.com/

    ReplyDelete
  7. Howdy just wanted to give you a quick heads up. The text in your
    content seem to be running off the screen in Opera.

    I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I'd post
    to let you know. The design look great though!

    Hope you get the issue resolved soon. Thanks
    my website :: http://grouprescue.com/

    ReplyDelete