sp-dev-fx-webparts/samples/react-realtime-incidentdash.../assets/pnp-list-template.xml

159 lines
50 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2021/03/ProvisioningSchema">
<pnp:Preferences Generator="PnP.Framework, Version=1.9.1.0, Culture=neutral, PublicKeyToken=0d501f89f11b748c" />
<pnp:Templates ID="CONTAINER-TEMPLATE-20383B78FCE94E9D95B574CF586C0576">
<pnp:ProvisioningTemplate ID="TEMPLATE-20383B78FCE94E9D95B574CF586C0576" Version="1" Scope="RootSite">
<pnp:Lists>
<pnp:ListInstance Title="Tickets" Description="" DocumentTemplate="" TemplateType="100" Url="Lists/Tickets" EnableVersioning="true" MinorVersionLimit="0" MaxVersionLimit="50" DraftVersionVisibility="0" TemplateFeatureID="00bfea71-de22-43b2-a848-c05709900100" EnableFolderCreation="false" DefaultDisplayFormUrl="{site}/Lists/Tickets/DispForm.aspx" DefaultEditFormUrl="{site}/Lists/Tickets/EditForm.aspx" DefaultNewFormUrl="{site}/Lists/Tickets/NewForm.aspx" ImageUrl="/_layouts/15/images/itgen.gif?rev=47" IrmExpire="false" IrmReject="false" IsApplicationList="false" ValidationFormula="" ValidationMessage="">
<pnp:ContentTypeBindings>
<pnp:ContentTypeBinding ContentTypeID="0x01" Default="true" />
<pnp:ContentTypeBinding ContentTypeID="0x0120" />
</pnp:ContentTypeBindings>
<pnp:Views>
<View Name="{40AD4F1C-26B8-497E-82AD-55A718663465}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="{site}/Lists/Tickets/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47">
<Query>
<OrderBy>
<FieldRef Name="DateReported" Ascending="FALSE" />
</OrderBy>
</Query>
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Description" />
<FieldRef Name="Priority" />
<FieldRef Name="Status" />
<FieldRef Name="Assignedto0" />
<FieldRef Name="DateReported" />
<FieldRef Name="IssueSource" />
<FieldRef Name="Images" />
<FieldRef Name="Attachments" />
<FieldRef Name="Issueloggedby" />
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<JSLink>clienttemplates.js</JSLink>
<CustomFormatter>
<![CDATA[{
"additionalRowClass": {
"operator": ":",
"operands": [{
"operator": "==",
"operands": [{
"operator": "toLowerCase",
"operands": ["[$Status]"]
}, {
"operator": "toLowerCase",
"operands": ["Blocked"]
}]
}, "sp-css-backgroundColor-errorBackground", ""]
},
"rowClassTemplateId": "ConditionalView"
}]]>
</CustomFormatter>
<ViewType2>GRIDFIXED</ViewType2>
</View>
<View Name="{F2E42828-F4D4-4F6D-85C5-FEAB2AD53CE2}" Type="HTML" DisplayName="Issues grouped by priority" Url="{site}/Lists/Tickets/Issues grouped by priority.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47">
<Query>
<OrderBy>
<FieldRef Name="ID" />
</OrderBy>
<GroupBy>
<FieldRef Name="Priority" Ascending="TRUE" />
</GroupBy>
</Query>
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Description" />
<FieldRef Name="Priority" />
<FieldRef Name="Status" />
<FieldRef Name="Assignedto0" />
<FieldRef Name="DateReported" />
<FieldRef Name="IssueSource" />
<FieldRef Name="Images" />
<FieldRef Name="Attachments" />
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<JSLink>clienttemplates.js</JSLink>
</View>
<View Name="{CE428A11-5432-4DCE-89B9-66930D8AECFB}" Type="HTML" DisplayName="Issues grouped by status" Url="{site}/Lists/Tickets/Issues grouped by status.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47">
<Query>
<OrderBy>
<FieldRef Name="ID" />
</OrderBy>
<GroupBy>
<FieldRef Name="Status" Ascending="TRUE" />
</GroupBy>
</Query>
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Description" />
<FieldRef Name="Priority" />
<FieldRef Name="Status" />
<FieldRef Name="Assignedto0" />
<FieldRef Name="DateReported" />
<FieldRef Name="IssueSource" />
<FieldRef Name="Images" />
<FieldRef Name="Attachments" />
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<JSLink>clienttemplates.js</JSLink>
</View>
<View Name="{5CD0E9E4-7765-4C75-B658-395D9F0959F8}" Type="HTML" DisplayName="Issues grouped by person assigned to" Url="{site}/Lists/Tickets/Issues grouped by person assigned to.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47">
<Query>
<GroupBy>
<FieldRef Name="Assignedto0" Ascending="TRUE" />
</GroupBy>
</Query>
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Description" />
<FieldRef Name="Priority" />
<FieldRef Name="Status" />
<FieldRef Name="Assignedto0" />
<FieldRef Name="DateReported" />
<FieldRef Name="IssueSource" />
<FieldRef Name="Images" />
<FieldRef Name="Attachments" />
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<JSLink>clienttemplates.js</JSLink>
</View>
</pnp:Views>
<pnp:Fields>
<Field ID="{8f6b0ce0-2e04-40a1-88b8-db183e4f7033}" DisplayName="Issue description" Description="Describe the issue" Name="Description" AppendOnly="FALSE" ClientSideComponentId="00000000-0000-0000-0000-000000000000" Format="Dropdown" IsolateStyles="FALSE" NumLines="6" RichText="FALSE" RichTextMode="Compatible" Title="Description" Type="Note" StaticName="Description" SourceID="{{listid:Tickets}}" ColName="ntext2" RowOrdinal="0" />
<Field ID="{8a92eec2-4079-48df-a26a-84ca3426032b}" DisplayName="Priority" Description="Add the priority of this issue" Name="Priority" CustomFormatter="{&#xD;&#xA; &quot;elmType&quot;: &quot;div&quot;,&#xD;&#xA; &quot;style&quot;: {&#xD;&#xA; &quot;flex-wrap&quot;: &quot;wrap&quot;,&#xD;&#xA; &quot;display&quot;: &quot;flex&quot;&#xD;&#xA; },&#xD;&#xA; &quot;children&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;elmType&quot;: &quot;div&quot;,&#xD;&#xA; &quot;style&quot;: {&#xD;&#xA; &quot;box-sizing&quot;: &quot;border-box&quot;,&#xD;&#xA; &quot;padding&quot;: &quot;4px 8px 5px 8px&quot;,&#xD;&#xA; &quot;display&quot;: &quot;flex&quot;,&#xD;&#xA; &quot;border-radius&quot;: &quot;16px&quot;,&#xD;&#xA; &quot;height&quot;: &quot;24px&quot;,&#xD;&#xA; &quot;align-items&quot;: &quot;center&quot;,&#xD;&#xA; &quot;white-space&quot;: &quot;nowrap&quot;,&#xD;&#xA; &quot;overflow&quot;: &quot;hidden&quot;,&#xD;&#xA; &quot;margin&quot;: &quot;4px 4px 4px 4px&quot;&#xD;&#xA; },&#xD;&#xA; &quot;attributes&quot;: {&#xD;&#xA; &quot;class&quot;: {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; &quot;[$Priority]&quot;,&#xD;&#xA; &quot;Critical&quot;&#xD;&#xA; ]&#xD;&#xA; },&#xD;&#xA; &quot;sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralPrimary&quot;,&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; &quot;[$Priority]&quot;,&#xD;&#xA; &quot;High&quot;&#xD;&#xA; ]&#xD;&#xA; },&#xD;&#xA; &quot;sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralPrimary&quot;,&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; &quot;[$Priority]&quot;,&#xD;&#xA; &quot;Normal&quot;&#xD;&#xA; ]&#xD;&#xA; },&#xD;&#xA; &quot;sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralPrimary&quot;,&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; &quot;[$Priority]&quot;,&#xD;&#xA; &quot;Low&quot;&#xD;&#xA; ]&#xD;&#xA; },&#xD;&#xA; &quot;sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralPrimary&quot;,&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; {&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [&#xD;&#xA; &quot;[$Priority]&quot;,&#xD;&#xA; &quot;&quot;&#xD;&#xA; ]&#xD;&#
<CHOICES>
<CHOICE>Critical</CHOICE>
<CHOICE>High</CHOICE>
<CHOICE>Normal</CHOICE>
<CHOICE>Low</CHOICE>
</CHOICES>
</Field>
<Field ID="{4c66e88e-aadb-4b83-a2fa-e6b8b65a6bb5}" DisplayName="Status" Description="Status of the issue" Name="Status" ClientSideComponentId="00000000-0000-0000-0000-000000000000" FillInChoice="TRUE" Format="Dropdown" Title="Status" Type="Choice" StaticName="Status" CustomFormatter="{&#xD;&#xA; &quot;elmType&quot;: &quot;div&quot;,&#xD;&#xA; &quot;children&quot;: [{&#xD;&#xA; &quot;elmType&quot;: &quot;div&quot;,&#xD;&#xA; &quot;style&quot;: {&#xD;&#xA; &quot;box-sizing&quot;: &quot;border-box&quot;,&#xD;&#xA; &quot;padding&quot;: &quot;4px 8px 5px 8px&quot;,&#xD;&#xA; &quot;display&quot;: &quot;flex&quot;,&#xD;&#xA; &quot;border-radius&quot;: &quot;16px&quot;,&#xD;&#xA; &quot;min-height&quot;: &quot;24px&quot;,&#xD;&#xA; &quot;align-items&quot;: &quot;center&quot;,&#xD;&#xA; &quot;white-space&quot;: &quot;nowrap&quot;,&#xD;&#xA; &quot;overflow&quot;: &quot;hidden&quot;,&#xD;&#xA; &quot;margin-right&quot;: &quot;4px&quot;&#xD;&#xA; },&#xD;&#xA; &quot;attributes&quot;: {&#xD;&#xA; &quot;class&quot;: {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;[$Status]&quot;]&#xD;&#xA; }, {&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;Blocked&quot;]&#xD;&#xA; }]&#xD;&#xA; }, &quot;sp-css-backgroundColor-errorBackground50&quot;, {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;[$Status]&quot;]&#xD;&#xA; }, {&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;In progress&quot;]&#xD;&#xA; }]&#xD;&#xA; }, &quot;sp-css-backgroundColor-neutralBackground10&quot;, {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;[$Status]&quot;]&#xD;&#xA; }, {&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;Completed&quot;]&#xD;&#xA; }]&#xD;&#xA; }, &quot;sp-css-backgroundColor-BgMintGreen&quot;, {&#xD;&#xA; &quot;operator&quot;: &quot;:&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;==&quot;,&#xD;&#xA; &quot;operands&quot;: [{&#xD;&#xA; &quot;operator&quot;: &quot;toLowerCase&quot;,&#xD;&#xA; &quot;operands&quot;: [&quot;[$Status]&quot;]&#xD;&#xA;
<CHOICES>
<CHOICE>Blocked</CHOICE>
<CHOICE>In progress</CHOICE>
<CHOICE>Completed</CHOICE>
<CHOICE>Duplicate</CHOICE>
<CHOICE>By design</CHOICE>
<CHOICE>Won't fix</CHOICE>
<CHOICE>New</CHOICE>
</CHOICES>
<Default>New</Default>
</Field>
<Field ID="{06262fd7-42cc-407c-a222-d22d91ca6a7f}" DisplayName="Assigned to" Description="Person or group the issue is assigned to" Name="Assignedto0" ClientSideComponentId="00000000-0000-0000-0000-000000000000" Format="Dropdown" List="UserInfo" Title="Assigned to" Type="User" UserDisplayOptions="NamePhoto" UserSelectionMode="0" UserSelectionScope="0" StaticName="Assignedto0" SourceID="{{listid:Tickets}}" ColName="int1" RowOrdinal="0" />
<Field ID="{b62320ca-3aaf-4919-8b82-162438c4bf16}" DisplayName="Date reported" Description="The date the issue was reported" Name="DateReported" ClientSideComponentId="00000000-0000-0000-0000-000000000000" FriendlyDisplayFormat="Disabled" Format="DateOnly" Title="Date reported" Type="DateTime" StaticName="DateReported" SourceID="{{listid:Tickets}}" ColName="datetime1" RowOrdinal="0" />
<Field ID="{581b1cb8-8c66-47ef-8492-16228221e980}" DisplayName="Issue source" Description="Where was the issue logged (ticket, customer support call etc.)" Name="IssueSource" ClientSideComponentId="00000000-0000-0000-0000-000000000000" Format="Hyperlink" Title="Issue source" Type="URL" StaticName="IssueSource" SourceID="{{listid:Tickets}}" ColName="nvarchar9" RowOrdinal="0" ColName2="nvarchar10" RowOrdinal2="0" />
<Field ID="{8717190e-a19e-40f1-a2a6-4b0a75ed3697}" DisplayName="Images" Description="Any photos or images of the issue" Name="Images" ClientSideComponentId="00000000-0000-0000-0000-000000000000" Format="Thumbnail" Title="Images" Type="Thumbnail" StaticName="Images" SourceID="{{listid:Tickets}}" ColName="ntext3" RowOrdinal="0" Version="3" />
<Field ID="{136b7240-118d-49d2-ad15-a322ee7763fa}" DisplayName="Issue logged by" Description="The person who logged the issue" Name="Issueloggedby" Format="Dropdown" List="UserInfo" Title="Issue logged by" Type="User" UserDisplayOptions="NamePhoto" UserSelectionMode="0" UserSelectionScope="0" StaticName="Issueloggedby" SourceID="{{listid:Tickets}}" ColName="int2" RowOrdinal="0" />
</pnp:Fields>
<pnp:FieldRefs>
<pnp:FieldRef ID="76d13cd2-1bae-45a5-8b74-545b87b65037" Name="_ColorTag" DisplayName="Color Tag" />
</pnp:FieldRefs>
<pnp:Webhooks>
<pnp:Webhook ServerNotificationUrl="https://ukwest1-0.pushnp.svc.ms/notifications?token=a535205f-3aed-41eb-bb9f-2bd67bd06046" ExpiresInDays="1" />
<pnp:Webhook ServerNotificationUrl="https://o365c-sp-webhook.azurewebsites.net/api/SPWebhookReceiver?clientId=blobs_extension" ExpiresInDays="161" />
</pnp:Webhooks>
</pnp:ListInstance>
</pnp:Lists>
</pnp:ProvisioningTemplate>
</pnp:Templates>
</pnp:Provisioning>