惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 叶小钗
月光博客
月光博客
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
阮一峰的网络日志
阮一峰的网络日志
罗磊的独立博客
IT之家
IT之家
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
博客园 - 司徒正美
爱范儿
爱范儿

博客园 - navyliu

高成长公司诚聘Web平台开发工程师(Leader) 高成长公司诚聘.Net 互联网架构师 如何在SharePoint中Debug SharePoint开发小窍门,没事就IISReset SharePoint的时间怎么和指定的时间不一样了? SharePoint中的参数nCLID Project Server 2007中项目组成员无法看到我的项目的问题解决 SharePoint 2007 SP1 Upgrade Error MOSS 2007中解决用户没有关联电子邮件的一种方法 不良的UI是对资源的极大浪费 Application Platform Infrastructure Optimization Model WF中的自定义Activity(Custom Activities)(1) Local Communication Events Windows Workflow Foundation中的基本活动(Basic Activities) Workflow and the Outside world Rule Engine of Biztalk (Biztalk的规则引擎) OBA应用案例(1)--在Word 2007中填写表单(客户需求) Promoting in Biztalk Server 2006 对倪光南院士关于文档格式国际标准之争观点的不同看法
Custom Field Type Deployment
navyliu · 2009-02-23 · via 博客园 - navyliu

这两天在开发自定义的字段。在字段部署的时候,遇到了几个问题。后来在SharePoint SDK中找到十分简单扼要的Custom Field 的部署方法,先记录下来。

Custom field types are deployed at the server farm-level, using the Windows SharePoint Services Solution Deployment functionality.

The various pieces of a custom field type solution must be deployed to the following locations:

  • The field type class must be deployed as a strong-named assembly to the global assembly cache.
  • The field type definition XML file must be deployed to the same location as fldtypes.xml, the XML file that defines the base Windows SharePoint Services 3.0 field types:  

\program files\...\web server extensions\12\template\xml\

Each field type definition must be included in a file named fldtypes*.xml. For example, if you have a field type definition for a field type that defines a Social Security Number, you might name the XML file fldtypes_ssn.xml.

  • If you have specified a custom field editor user control for the field type, it must be deployed to the following location:

\program files\...\web server extensions\12\template\controltemplates\

在开发Custom Field Type的时候,Reflector是一个很好的工具,可以很方便的获得Assembly Information参数。