sp-dev-fx-webparts/samples/react-holidays-calendar/Metadata.xml

49 lines
5.5 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema">
<pnp:Preferences Generator="PnP.Framework, Version=1.11.2.0, Culture=neutral, PublicKeyToken=0d501f89f11b748c" />
<pnp:Templates ID="CONTAINER-TEMPLATE-47E7C23DA1134744BED17D1CD2BE6A4E">
<pnp:ProvisioningTemplate ID="TEMPLATE-47E7C23DA1134744BED17D1CD2BE6A4E" Version="1" BaseSiteTemplate="GROUP#0" Scope="RootSite">
<pnp:Lists>
<pnp:ListInstance Title="Holidays" Description="" DocumentTemplate="" OnQuickLaunch="true" TemplateType="100" Url="Lists/Holidays" EnableVersioning="true" MinorVersionLimit="0" MaxVersionLimit="50" DraftVersionVisibility="0" TemplateFeatureID="00bfea71-de22-43b2-a848-c05709900100" EnableFolderCreation="false" DefaultDisplayFormUrl="{site}/Lists/Holidays/DispForm.aspx" DefaultEditFormUrl="{site}/Lists/Holidays/EditForm.aspx" DefaultNewFormUrl="{site}/Lists/Holidays/NewForm.aspx" ImageUrl="/_layouts/15/images/itgen.png?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="{64388604-296F-4F45-94FE-92AE6E1DD759}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="{site}/Lists/Holidays/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=47">
<Query />
<ViewFields>
<FieldRef Name="LinkTitle" />
<FieldRef Name="Date" />
<FieldRef Name="Location" />
<FieldRef Name="Optional" />
</ViewFields>
<RowLimit Paged="TRUE">30</RowLimit>
<JSLink>clienttemplates.js</JSLink>
<CustomFormatter />
</View>
</pnp:Views>
<pnp:Fields>
<Field DisplayName="Date" FriendlyDisplayFormat="Disabled" Format="DateOnly" IsModern="TRUE" Name="Date" Title="Date" Type="DateTime" ID="{2cf76e70-f12c-46ec-888b-c65da9dd01bb}" SourceID="{{listid:Holidays}}" StaticName="Date" ColName="datetime1" RowOrdinal="0" />
<Field ClientSideComponentId="00000000-0000-0000-0000-000000000000" CustomFormatter="{&quot;elmType&quot;:&quot;div&quot;,&quot;style&quot;:{&quot;flex-wrap&quot;:&quot;wrap&quot;,&quot;display&quot;:&quot;flex&quot;},&quot;children&quot;:[{&quot;forEach&quot;:&quot;__INTERNAL__ in @currentField&quot;,&quot;elmType&quot;:&quot;div&quot;,&quot;style&quot;:{&quot;box-sizing&quot;:&quot;border-box&quot;,&quot;padding&quot;:&quot;4px 8px 5px 8px&quot;,&quot;overflow&quot;:&quot;hidden&quot;,&quot;text-overflow&quot;:&quot;ellipsis&quot;,&quot;display&quot;:&quot;flex&quot;,&quot;border-radius&quot;:&quot;16px&quot;,&quot;height&quot;:&quot;24px&quot;,&quot;align-items&quot;:&quot;center&quot;,&quot;white-space&quot;:&quot;nowrap&quot;,&quot;margin&quot;:&quot;4px 4px 4px 4px&quot;},&quot;attributes&quot;:{&quot;class&quot;:{&quot;operator&quot;:&quot;:&quot;,&quot;operands&quot;:[{&quot;operator&quot;:&quot;==&quot;,&quot;operands&quot;:[&quot;[$__INTERNAL__]&quot;,&quot;India&quot;]},&quot;sp-css-backgroundColor-BgCornflowerBlue sp-css-color-CornflowerBlueFont&quot;,{&quot;operator&quot;:&quot;:&quot;,&quot;operands&quot;:[{&quot;operator&quot;:&quot;==&quot;,&quot;operands&quot;:[&quot;[$__INTERNAL__]&quot;,&quot;United States&quot;]},&quot;sp-css-backgroundColor-BgMintGreen sp-css-color-MintGreenFont&quot;,{&quot;operator&quot;:&quot;:&quot;,&quot;operands&quot;:[{&quot;operator&quot;:&quot;==&quot;,&quot;operands&quot;:[&quot;[$__INTERNAL__]&quot;,&quot;Canada&quot;]},&quot;sp-css-backgroundColor-BgGold sp-css-color-GoldFont&quot;,{&quot;operator&quot;:&quot;:&quot;,&quot;operands&quot;:[{&quot;operator&quot;:&quot;==&quot;,&quot;operands&quot;:[&quot;[$__INTERNAL__]&quot;,&quot;All&quot;]},&quot;sp-css-backgroundColor-BgCoral sp-css-color-CoralFont&quot;,&quot;sp-field-borderAllRegular sp-field-borderAllSolid sp-css-borderColor-neutralSecondary&quot;]}]}]}]}},&quot;txtContent&quot;:&quot;[$__INTERNAL__]&quot;}],&quot;templateId&quot;:&quot;BgColorChoicePill&quot;}" DisplayName="Location" FillInChoice="FALSE" Format="Dropdown" Name="Location" Title="Location" Type="MultiChoice" ID="{c10a22de-e1a3-4cf7-b9bd-69d4b9516ff6}" Version="4" StaticName="Location" SourceID="{{listid:Holidays}}" ColName="ntext2" RowOrdinal="0">
<CHOICES>
<CHOICE>India</CHOICE>
<CHOICE>United States</CHOICE>
<CHOICE>Canada</CHOICE>
</CHOICES>
</Field>
<Field DisplayName="Optional" Format="Dropdown" IsModern="TRUE" Name="Optional" Title="Optional" Type="Boolean" ID="{f7e35a2f-0483-4939-82a5-473928d5db93}" SourceID="{{listid:Holidays}}" StaticName="Optional" ColName="bit1" RowOrdinal="0">
<Default>0</Default>
</Field>
</pnp:Fields>
<pnp:FieldRefs>
<pnp:FieldRef ID="fa564e0f-0c70-4ab9-b863-0177e6ddd247" Name="Title" Required="true" DisplayName="Title" />
</pnp:FieldRefs>
<pnp:Webhooks>
<pnp:Webhook ServerNotificationUrl="https://southindia1-0.pushnp.svc.ms/notifications?token=cbeca6d3-9742-4e3a-add6-4b18c8256703" ExpiresInDays="1" />
</pnp:Webhooks>
</pnp:ListInstance>
</pnp:Lists>
</pnp:ProvisioningTemplate>
</pnp:Templates>
</pnp:Provisioning>