摘要: 1. when updating field which lookups from Content Types, (for example: set Required to Yes), it needs update Content Types first. please read this article: http://www.novolocus.com/2010/10/28/programmatically-making-a-field-required-in-sharepoint-2007/2. Configuration: A. Set"Allow management o 阅读全文
posted @ 2011-09-27 15:32 LeimOO 阅读(189) 评论(0) 推荐(0) 编辑
摘要: In a scenario where you need to create Content Type in bunch, there comes the role of Dynamic Content types.The following code snippet helps you in creating content type dynamically.Code:using System;using Microsoft.SharePoint;namespace DynamicContentTypeConsole{ class Program { static void Main(str 阅读全文
posted @ 2011-09-27 15:08 LeimOO 阅读(203) 评论(0) 推荐(0) 编辑