摘要: [http://www.cnblogs.com/FreeDong/archive/2011/11/16/2250548.html]在SharePoint中创建自定义字段类型,必须完成两个工作:创建继承于SPField的字段类;编写字段的配置文件,声明字段的基本属性、字段的实现类和字段的呈现逻辑等。 首先在SharePoint站点创建一个自定义列表,我命名为“客户资料”。 接下来打开VS2010,并创建一个空白SharePoint项目,我的项目命名为“MyCustomFieldsDemo”,一定要选择”部署为场解决方案“,否则不能部署; 然后添加一个类CustomAgeField.cs, ... 阅读全文
posted @ 2011-11-20 23:48 小师傅 阅读(276) 评论(0) 推荐(1) 编辑
摘要: [http://vspug.com/roni/2007/08/27/moss-2007-using-property-bag-of-spweb-to-store-metadata/]On an SPWeb there is no out-of-the-box solution to store custom metadata, you only have the name (URL), the title and the description. If you need more (e.g. status (active/inactive) or location) you have to i 阅读全文
posted @ 2011-11-20 13:54 小师傅 阅读(197) 评论(0) 推荐(0) 编辑