ContentType-definition List

Source: Internet
Author: User

Application Scenario: In the leave system, a Country list and Task list are required. The Country List displays the Country to which the user belongs as metadata. The Task list workflow is used for approval. The delete button must be hidden on the edit aspx page of the Task.

<? Xml version = "1.0" encoding = "UTF-8"?> <Br/> <Elements xmlns = ""> <br/> <! -- Country Content Type: Parent ContentType: Item (0x01) --> <br/> <ContentType ID = "0x010091b420276c64425a2aac0dcf6d1615d" <br/> Name = "Country List" <br/> Group = "astrazeneca_ssi" <br/> Description = "Create a new Country "<br/> Inherits =" FALSE "<br/> Version =" 0 "<br/> Overwrite =" TRUE "> <br/> <FieldRefs> <br/> <FieldRef Name = "Country" Required = "TRUE" <br/> ID = "{8A98B00A-C94A-4DDF-94D0-B2F42B21553F}"/> <br/> </FieldRefs> <br/> </ContentType> <br/> <ContentType ID = "content" <br/> Name =" TaskContentType "<br/> Group =" astrazeneca_ssi "<br/> Overwrite =" TRUE "<br/> xmlns =" "> <br/> <Folder TargetName =" InfoPathModule "/> <br/> <FieldRefs> <br/> <FieldRef ID = "{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Name = "ContentType"/> <br/> <FieldRef ID = "{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name = "Title" Required = "TRUE" ShowInNewForm = "TRUE" showInEditForm = "TRUE"/> <br/> <FieldRef ID = "{c3a92d97-2b77-4a25-9698-3ab54874bc6f}" Name = "Predecessors"/> <br/> <FieldRef ID = "{a8eb573e-9e11-481a-a8c9-1104a54b2fbd }" name = "Priority"/> <br/> <FieldRef ID = "{c15b34c3-ce7d-490a-b133-3f4de8801b76}" Name = "Status"/> <br/> <FieldRef ID = "{d2311440-1ed6-46ea-b46d-daa643dc3886 }" name = "PercentComplete"/> <br/> <FieldRef ID = "{region}" Name = "AssignedTo"/> <br/> <FieldRef ID = "{region }" name = "Body"/> <br/> <FieldRef ID = "{64cd316d-2f95-4bfc-a1f9-8d4324ecb007}" Name = "StartDate"/> <br/> <FieldRef ID = "{cd21b4c2-6841-4f9e-a23a-738a65f99889 }" name = "DueDate"/> <br/> <FieldRef ID = "{58ddda52-c2a3-4650-9178-3bbc1f6e36da}" Name = "Link"/> <br/> <FieldRef ID = "{Blank }" name = "OffsiteParticipant"/> <br/> <FieldRef ID = "{region}" Name = "OffsiteParticipantReason"/> <br/> <FieldRef ID = "{region }" name = "WorkflowOutcome"/> <br/> <FieldRef ID = "{e506d6ca-c2da-4164-b858-306f1c41c9ec}" Name = "WorkflowName"/> <br/> <FieldRef ID = "{ae069f25-3ac2-4256-b9c3-15dbc15da0e0 }" name = "GUID"/> <br/> <FieldRef ID = "{Blank}" Name = "TaskType"/> <br/> <FieldRef ID = "{17ca3a22-fdfe-46eb-99b5-9646baed3f16 }" name = "FormURN"/> <br/> <FieldRef ID = "{78eae64a-f5f2-49af-b416-3247b76f46a1}" Name = "FormData"/> <br/> <FieldRef ID = "{Blank }" name = "EmailBody"/> <br/> <FieldRef ID = "{47f68c3b-8930-406f-bde2-4a8c669ee87c}" Name = "HasCustomEmailBody"/> <br/> <FieldRef ID = "{cb2413f2-7de9-4afc-8587-1ca3f563f624 }" name = "SendEmailNotification"/> <br/> <FieldRef ID = "{region}" Name = "PendingModTime"/> <br/> <FieldRef ID = "{35363960-d998-4aad-b7e8-058dfe2c669e }" name = "Completed"/> <br/> <FieldRef ID = "{1bfee788-69b7-4765-b109-d4d9c31d1ac1}" Name = "WorkflowListId"/> <br/> <FieldRef ID = "{region }" name = "WorkflowItemId"/> <br/> <FieldRef ID = "{Blank}" Name = "ExtendedProperties"/> <br/> <FieldRef ID = "{Blank }" name = "SIRS_Approvers"/> <br/> </FieldRefs> <br/> <XmlDocuments> <br/> <XmlDocument NamespaceURI = ""> <br/> <FormTemplates xmlns = ""> <br/> <Display> ListForm </Display> <br/> <Edit> ListForm </Edit> <br/> <New> ListForm </ new> <br/> </FormTemplates> <br/> </XmlDocument> <br/> <XmlDocument NamespaceURI = ""> <br/> <FormUrls xmlns = " "> <br/> <Display> _ layouts/AZ. sharePoint. SSI/CustomWrkTaskIP. aspx </Display> <br/> <Edit> _ layouts/AZ. sharePoint. SSI/CustomWrkTaskIP. aspx </Edit> <br/> </FormUrls> <br/> </XmlDocument> <br/> </XmlDocuments> <br/> </ContentType> <br/> </Elements> <br/>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.