O'Reilly logo

Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook by Yaroslav Pentsarskyy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting SharePoint list item validation with PowerShell

As we've learned from the recipe Creating lists of custom structure, you can create a list of a desired structure and deploy it to multiple sites in your SharePoint solution.

Since lists and libraries are containers of data in SharePoint, business users often require a mechanism to ensure that the correct metadata is associated to list items. In past versions of SharePoint, business users could define whether the metadata field is required to be filled in or not. With SharePoint 2010, you can define custom validation formulas which allow for more granular list item validation.

In this recipe, we'll learn how you can enforce business rules on list items by using list item validation formulas. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required