sp-dev-fx-webparts/samples/react-questions-and-answers/sharepoint/assets/schema.xml

93 lines
4.5 KiB
XML

<List xmlns:ows="Microsoft SharePoint" Title="Questions" EnableContentTypes="TRUE" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Questions" BaseType="0" NoCrawl="FALSE" xmlns="http://schemas.microsoft.com/sharepoint/">
<MetaData>
<!-- ContentTypeRef was resulting in empty Item list content type (Title only) but still with Question/Reply as parent -->
<ContentTypes>
<ContentType ID="0x01008B64E4A73BE90C46A62FC880772E3184" Name="Question">
<FieldRefs>
<!--Title Site Column -->
<FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" />
<!-- TW_Details Site Column -->
<FieldRef ID="{8f1abe02-cc82-477c-be27-6fefaac2cb6f}" />
<!-- TW_DetailsText Site Column -->
<FieldRef ID="{b9e9da58-096d-4d3d-bf8c-4034f97461a9}" />
<!-- TW_IsAnswered Site Column -->
<FieldRef ID="{7d4ee5f7-d1cc-4d04-983d-2052031800f5}" />
<!-- TW_LikeCount Site Column -->
<FieldRef ID="{54c33e2a-a458-4ef9-8d7a-f1167887ec5c}" />
<!-- TW_LikeIds Site Column -->
<FieldRef ID="{9fb0a0fc-75e9-4224-a9b1-9bb0acc3bdcd}" />
<!-- TW_FollowEmails Site Column -->
<FieldRef ID="{521325f8-6e0a-4b9f-9a53-a34fe70f2488}" />
<!-- TW_Category Site Column -->
<FieldRef ID="{c913f4f2-60a4-4603-bda1-f6325b5fb9d0}" />
<!-- TW_SourcePage Site Column -->
<FieldRef ID="{529b4614-c444-4fef-b581-30108e44f4b6}" />
<!-- TW_QuestionType Site Column -->
<FieldRef ID="{8687a351-7e1b-4f4d-a85e-2feca68079f6}" />
</FieldRefs>
</ContentType>
<ContentType ID="0x0100E33B533F27584848845AF62A7C292F00" Name="Reply">
<FieldRefs>
<!--Title Site Column -->
<FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" />
<!-- TW_Details Site Column -->
<FieldRef ID="{8f1abe02-cc82-477c-be27-6fefaac2cb6f}" />
<!-- TW_DetailsText Site Column -->
<FieldRef ID="{b9e9da58-096d-4d3d-bf8c-4034f97461a9}" />
<!-- TW_IsAnswer Site Column -->
<FieldRef ID="{a41b6b54-7fa0-426b-8bf6-d8b7d07f1baa}" />
<!-- TW_HelpfulCount Site Column -->
<FieldRef ID="{9b2e96d7-4084-4881-8f6a-91f07eb78ca6}" />
<!-- TW_HelpfulIds Site Column -->
<FieldRef ID="{d78817a1-eaba-48f6-a55a-5ecfe645de46}" />
<!-- TW_LikeCount Site Column -->
<FieldRef ID="{54c33e2a-a458-4ef9-8d7a-f1167887ec5c}" />
<!-- TW_LikeIds Site Column -->
<FieldRef ID="{9fb0a0fc-75e9-4224-a9b1-9bb0acc3bdcd}" />
<!-- TW_QuestionLookup Site Column -->
<FieldRef ID="{672f66ce-f9a0-447e-ba2c-96b1814f1898}" />
<!-- TW_ReplyLookup Site Column -->
<FieldRef ID="{06fb6a45-b62c-4c31-a82c-4fc95e510029}" />
</FieldRefs>
</ContentType>
</ContentTypes>
<Fields></Fields>
<Views>
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="All Items" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/generic.png" Url="AllItems.aspx">
<XslLink Default="TRUE">main.xsl</XslLink>
<JSLink>clienttemplates.js</JSLink>
<RowLimit Paged="TRUE">30</RowLimit>
<Toolbar Type="Standard" />
<ViewFields>
<FieldRef Name="ContentType" />
<FieldRef Name="TW_QuestionType" />
<FieldRef Name="ID" />
<FieldRef Name="LinkTitle" />
<FieldRef Name="TW_Category" />
<FieldRef Name="TW_IsAnswered" />
<FieldRef Name="TW_IsAnswer" />
<FieldRef Name="TW_LikeCount" />
<FieldRef Name="TW_HelpfulCount" />
<FieldRef Name="TW_QuestionLookup" />
<FieldRef Name="TW_ReplyLookup" />
<FieldRef Name="TW_SourcePage" />
<FieldRef Name="Created" />
<FieldRef Name="Author" />
<FieldRef Name="Modified" />
<FieldRef Name="Editor" />
</ViewFields>
<Query>
<OrderBy>
<FieldRef Name="ID" />
</OrderBy>
</Query>
</View>
</Views>
<Forms>
<Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
<Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
</Forms>
</MetaData>
</List>