zoukankan
html css js c++ java
ContentType大展拳脚——定义List
应用场景:在请假系统中,需要一个Country列表和Task列表。Country列表作为元数据显示用户所属的国家。Task列表工作流审批使用,并且呈现Task的编辑aspx页面需要隐藏删除按钮。
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Country Content Type : Parent ContentType: Item (0x01) --> <ContentType ID="0x010091B420276C644260A2AAC0DCF6D1615D" Name="Country List" Group="AstraZeneca_SIRS" Description="Create a new Country" Inherits="FALSE" Version="0" Overwrite="TRUE"> <FieldRefs> <FieldRef Name="Country" Required="TRUE" ID="{8A98B00A-C94A-4DDF-94D0-B2F42B21553F}" /> </FieldRefs> </ContentType> <ContentType ID="0x01080100C9C9515DE4E24001905074F980F931600068262CC3E0C8D14FAA84B5A570B22588" Name="TaskContentType" Group="AstraZeneca_SIRS" Overwrite="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/"> <Folder TargetName="InfoPathModule" /> <FieldRefs> <FieldRef ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name="ContentType" /> <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" /> <FieldRef ID="{c3a92d97-2b77-4a25-9698-3ab54874bc6f}" Name="Predecessors" /> <FieldRef ID="{a8eb573e-9e11-481a-a8c9-1104a54b2fbd}" Name="Priority" /> <FieldRef ID="{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Name="Status" /> <FieldRef ID="{d2311440-1ed6-46ea-b46d-daa643dc3886}" Name="PercentComplete" /> <FieldRef ID="{53101f38-dd2e-458c-b245-0c236cc13d1a}" Name="AssignedTo" /> <FieldRef ID="{7662cd2c-f069-4dba-9e35-082cf976e170}" Name="Body" /> <FieldRef ID="{64cd368d-2f95-4bfc-a1f9-8d4324ecb007}" Name="StartDate" /> <FieldRef ID="{cd21b4c2-6841-4f9e-a23a-738a65f99889}" Name="DueDate" /> <FieldRef ID="{58ddda52-c2a3-4650-9178-3bbc1f6e36da}" Name="Link" /> <FieldRef ID="{16b6952f-3ce6-45e0-8f4e-42dac6e12441}" Name="OffsiteParticipant" /> <FieldRef ID="{4a799ba5-f449-4796-b43e-aa5186c3c414}" Name="OffsiteParticipantReason" /> <FieldRef ID="{18e1c6fa-ae37-4102-890a-cfb0974ef494}" Name="WorkflowOutcome" /> <FieldRef ID="{e506d6ca-c2da-4164-b858-306f1c41c9ec}" Name="WorkflowName" /> <FieldRef ID="{ae069f25-3ac2-4256-b9c3-15dbc15da0e0}" Name="GUID" /> <FieldRef ID="{8d96aa48-9dff-46cf-8538-84c747ffa877}" Name="TaskType" /> <FieldRef ID="{17ca3a22-fdfe-46eb-99b5-9646baed3f16}" Name="FormURN" /> <FieldRef ID="{78eae64a-f5f2-49af-b416-3247b76f46a1}" Name="FormData" /> <FieldRef ID="{8cbb9252-1035-4156-9c35-f54e9056c65a}" Name="EmailBody" /> <FieldRef ID="{47f68c3b-8930-406f-bde2-4a8c669ee87c}" Name="HasCustomEmailBody" /> <FieldRef ID="{cb2413f2-7de9-4afc-8587-1ca3f563f624}" Name="SendEmailNotification" /> <FieldRef ID="{4d2444c2-0e97-476c-a2a3-e9e4a9c73009}" Name="PendingModTime" /> <FieldRef ID="{35363960-d998-4aad-b7e8-058dfe2c669e}" Name="Completed" /> <FieldRef ID="{1bfee788-69b7-4765-b109-d4d9c31d1ac1}" Name="WorkflowListId" /> <FieldRef ID="{8e234c69-02b0-42d9-8046-d5f49bf0174f}" Name="WorkflowItemId" /> <FieldRef ID="{1c5518e2-1e99-49fe-bfc6-1a8de3ba16e2}" Name="ExtendedProperties" /> <FieldRef ID="{0644B00E-2BA9-4883-B1AA-2E835428724D}" Name="SIRS_Approvers" /> </FieldRefs> <XmlDocuments> <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"> <FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"> <Display>ListForm</Display> <Edit>ListForm</Edit> <New>ListForm</New> </FormTemplates> </XmlDocument> <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <Display>_layouts/AZ.SharePoint.SIRS/CustomWrkTaskIP.aspx</Display> <Edit>_layouts/AZ.SharePoint.SIRS/CustomWrkTaskIP.aspx</Edit> </FormUrls> </XmlDocument> </XmlDocuments> </ContentType> </Elements>
查看全文
相关阅读:
【转】SMARTY 不乱码截取中文
godaddy最新优惠码
javascript 学习之屏幕尺寸获取。
IE6 实现minwidth
css 修改页面选中时背景颜色
jQuery 闪动的文字提示
jQuery插件 blockUI
HTML 5 video 视频标签全属性详解
linux打包压缩命令汇总
Windows 下MySQL zip 安装
原文地址:https://www.cnblogs.com/mingle/p/2308210.html
最新文章
eclipse 启动参数
samba安装
过滤字符串中非法字符
jvm参数
jstl日期格式化
httpload
第二周基础作业
2019第二次课程设计实验报告
第五周学习总结&实验报告三
实验报告二&第四周学习总结
热门文章
第四周编程总结
第七周作业
第五周编程总结
2019年春季总结
第一次试验报告&学习总结
第五次实验报告&学习总结
第八周学习总结&实验报告(6)
学习总结
[BI] 通用数据级权限控制解决方案的实现(二):Cube中的角色设置与数据级权限控制
绿色设计 界面收集。
Copyright © 2011-2022 走看看