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

推荐订阅源

Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Webroot Blog
Webroot Blog
U
Unit 42
A
About on SuperTechFans
宝玉的分享
宝玉的分享
月光博客
月光博客
C
CERT Recently Published Vulnerability Notes
P
Privacy International News Feed
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
P
Privacy & Cybersecurity Law Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Securelist
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Spread Privacy
Spread Privacy
L
Lohrmann on Cybersecurity
Apple Machine Learning Research
Apple Machine Learning Research
K
Kaspersky official blog
Hugging Face - Blog
Hugging Face - Blog
B
Blog
I
Intezer
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
V
V2EX
L
LangChain Blog
AI
AI
G
GRAHAM CLULEY
T
Tor Project blog
人人都是产品经理
人人都是产品经理
D
Docker
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
I
InfoQ
Y
Y Combinator Blog
C
Comments on: Blog
GbyAI
GbyAI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
H
Help Net Security
Vercel News
Vercel News
T
Tenable Blog
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿

博客园 - Jason Li 2011

Maven - import a web project into eclipse [分享] 兰迪·波许教授的最后一课[PDF/PPT/AVI] 转:Controlling Access to Members of a Class 转:退火算法 Simulate Anneal Arithmetic (SAA,模拟退火算法) Scrum in practise 转:MOSS 2007 and Code Access Security 转:CollaDec FriendlyQuery类库(beta)说明 转:MOSS站点的迁移(备份还原) 转:MOSS漫游(3):说说MOSS中的母版页 转:Best Practices: Common Coding Issues When Using the SharePoint Object Model 转:Best Practices: Using Disposable Windows SharePoint Services Objects 转:Free the SPWeb 转:将你的Asp.NET应用程序嵌入到SharePoint Duff International Sites 项目总结 转:Code-blocks are not allowed in this file: Using Server-Side Code with SharePoint 转:ASP.NET Web Services or .NET Remoting: How to Choose 转:类与结构的差别 转:SharePoint Server 2007 页面模型 转:MOSS 2007基础:WSS 3.0 中的母版页(Master Pages)和内容页(Content Pages) 转:How to: Create a Minimal Master Page
转:关于MOSS 2007的Content Types
Jason Li 2011 · 2010-12-29 · via 博客园 - Jason Li 2011

关于MOSS 2007Content Types

1.概述

WSS2.0,一个List是由应用于List的每个列表项的一套所需字段定义的.拥有单一一套字段意味着每个列表项和它的位置紧密关联.在某个位置的所有列表项只能和那些为List或文档库所定义的列相关联.WSS3.0,Listcontent types的形式包含了多重的架构.Content Type提供了封装数据schema以及使之独立于在sharepoint 站点上的位置.Conent Type 帮助用户组织存储在SharePoint站点上的文档和其它资料.对于开发者,一个content type提供了一种定义和使用meatadata以使每个列表项目的类型彼此区分的方法.一个content type是一组meatadata和设置的集合,它们被应用到某一类的列表内容上.例如,一个称为Specificationscontent type 可以包含这些列,比如Project ,Priority, Developer testLeader.一个称为contractContent tye使用诸如Approver,SignedAmount字段.即使有这些差别,specificationscontracts也可以在同一个List或文档库中列示出来.

因为content type 独立于特定的List或文档库,一个content type可以在多个sharepoint 站点上的lists中使用.这样可以使存储在Site collection上的内容类型更集中的加以定义和管理.一个Content type可以通过定义类似workflow和自定义属性得到扩展.

2.File Formats:

Content types独立于文件格式.在文档库中,可以为一个content type 指定一个文档模板.当用户创建这种类型的文档时,WSS会使用这个模板.用户仍可以上载一个基于不同模板的文档到文档库.

例如,假定创建一个content type,它被应用于一个工程所需要的文档,.这个Project Content type可以应用于任何文件格式,包括含有工程规划信息的Word文档,含有工程预算的Excel文档,用于计划的Microsoft project 文档,以及存储工程队成员名称和角色的Sharepoint列表项.所有的这些文件和列表项都可以分配给Project content type.

3.Site and List Content Types

site level上创建的content type称为site content type.任何子站点可以继承一个content type.如果一个content tye是在site collection的根站点上创建的,那么其下的任何一个站点都可以继承这个content type.

当一个content tye加入list,WSSlist中存储这个content tye的一个本地拷贝.这个本地实例被称为一个list content type,它仅仅被应用于所拷贝到的那个列表.正因为如此一个list content type实例的改变可以不影响到site content type本身.

4.Creating Content Types Based on Other Content Types

可以基于其它的content type 创建content types.利用这种关系,可以创建一个包含有其它不同的content type 属性的通用content type,然后再从这些通用的content type 继承产生更加具体的的content type.site level,可以创建基于其它site content type site content .list level,可以创建基于其它site content typelist content.

可以通过增,,改列的方式编辑从另一个site content type继承的site content type的属性

WSSbase content type层次结构是与所创建的类型相对应的.当创建一个列表时,WSS就基于适当的base site content typelist content type.

5. Extending Content Types

每个content type都有一个XML文件集合,第三方可以用来保存客户化的设置信息.开发者可以通过使用XML文件扩展content tye的定义和功能.在一个site content type 中包含的XML文件被拷贝到任何一个子类型中去.如果修改了一个XML文件然后执行下推操作,则在任何一个子content type中的整个XML文件将全部被覆盖.

Pasted from <http://www.cnblogs.com/yoshow/articles/1209556.html>

posted on 2010-12-29 22:44  Jason Li 2011  阅读(195)  评论()    收藏  举报