Updated asset provisioning
This commit is contained in:
parent
285f64a396
commit
d123500b32
|
@ -1,76 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
|
||||
<ListInstance
|
||||
<!-- ImageLink Site Column -->
|
||||
<Field ID="{39A6EA41-4A25-45CD-A496-5A5BD92CE2BF}"
|
||||
Name="ImageLink"
|
||||
DisplayName="Image Link"
|
||||
StaticName="ImageLink"
|
||||
Group="SPFx Site Columns"
|
||||
Type="URL"
|
||||
Required="TRUE"
|
||||
EnforceUniqueValues="FALSE"
|
||||
Indexed="FALSE"
|
||||
Format="Hyperlink"
|
||||
/>
|
||||
|
||||
<!-- NavigationURL Site Column -->
|
||||
<Field ID="{4E2A59AD-CBB0-45FC-9309-1012EFBA58CC}"
|
||||
Name="NavigationURL"
|
||||
DisplayName="Navigation URL"
|
||||
StaticName="NavigationURL"
|
||||
Group="SPFx Site Columns"
|
||||
Type="URL"
|
||||
Required="TRUE"
|
||||
EnforceUniqueValues="FALSE"
|
||||
Indexed="FALSE"
|
||||
Format="Hyperlink"
|
||||
/>
|
||||
|
||||
<!-- SortOrder Site Column -->
|
||||
<Field ID="{BF544160-9C36-4252-A4B4-A09DEEA7764B}"
|
||||
Name="SortOrder"
|
||||
DisplayName="Sort Order"
|
||||
StaticName="SortOrder"
|
||||
Group="SPFx Site Columns"
|
||||
Type="Number"
|
||||
Required="TRUE"
|
||||
Indexed="FALSE" />
|
||||
|
||||
<!-- Parent ContentType: Item (0x0100) -->
|
||||
|
||||
<ContentType ID="0x0100A1CA45645C5A4DA4A6D2FE35B9F3B40C"
|
||||
Name="Adaptive Card Image Gallery"
|
||||
Group="SPFx Content Types"
|
||||
Description="Content type for Adaptive Card Image Gallery web part solution"
|
||||
Inherits="FALSE"
|
||||
Version="0"
|
||||
Hidden="FALSE"
|
||||
Sealed="FALSE">
|
||||
<FieldRefs>
|
||||
<!-- ImageLink Site Column -->
|
||||
<FieldRef ID="{39A6EA41-4A25-45CD-A496-5A5BD92CE2BF}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
<!-- NavigationURL Site Column -->
|
||||
<FieldRef ID="{4E2A59AD-CBB0-45FC-9309-1012EFBA58CC}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
<!-- SortOrder Site Column -->
|
||||
<FieldRef ID="{BF544160-9C36-4252-A4B4-A09DEEA7764B}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
</FieldRefs>
|
||||
</ContentType>
|
||||
|
||||
<ListInstance
|
||||
CustomSchema="schema.xml"
|
||||
FeatureId="00bfea71-de22-43b2-a848-c05709900100"
|
||||
Title="Adaptive Card Images"
|
||||
Description="List with image information"
|
||||
TemplateType="100"
|
||||
Url="Lists/Adaptive Card Images">
|
||||
<Data>
|
||||
<Rows>
|
||||
<Row>
|
||||
<Field Name="Title">Sea</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/200/200?image=100, Sea Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Sea, Sea Wikipedia</Field>
|
||||
<Field Name="SortOrder">1</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Yak</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=200, Yak Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Domestic_yak, Yak Wikipedia</Field>
|
||||
<Field Name="SortOrder">2</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Autumn</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=301, Autumn Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Autumn, Autumn Wikipedia</Field>
|
||||
<Field Name="SortOrder">3</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Plant</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=400, Plant Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Plant, Plant Wikipedia</Field>
|
||||
<Field Name="SortOrder">4</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Building</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=500, Building Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Building, Building Wikipedia</Field>
|
||||
<Field Name="SortOrder">5</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Forest</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=600, Forest Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Forest, Forest Wikipedia</Field>
|
||||
<Field Name="SortOrder">6</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Fish</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=700, Fish Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Fish, Fish Wikipedia</Field>
|
||||
<Field Name="SortOrder">7</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Auditorium</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=800, Auditorium Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Auditorium, Auditorium Wikipedia</Field>
|
||||
<Field Name="SortOrder">8</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Bridge</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=900, Bridge Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Bridge, Bridge Wikipedia</Field>
|
||||
<Field Name="SortOrder">9</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Sea Link</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=950, Sea Link Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Sealink, Sea Link Wikipedia</Field>
|
||||
<Field Name="SortOrder">10</Field>
|
||||
</Row>
|
||||
</Rows>
|
||||
Url="Lists/AdaptiveCardImages">
|
||||
<Data>
|
||||
<Rows>
|
||||
<Row>
|
||||
<Field Name="Title">Sea</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/200/200?image=100, Sea Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Sea, Sea Wikipedia</Field>
|
||||
<Field Name="SortOrder">1</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Yak</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=200, Yak Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Domestic_yak, Yak Wikipedia</Field>
|
||||
<Field Name="SortOrder">2</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Autumn</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=301, Autumn Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Autumn, Autumn Wikipedia</Field>
|
||||
<Field Name="SortOrder">3</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Plant</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=400, Plant Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Plant, Plant Wikipedia</Field>
|
||||
<Field Name="SortOrder">4</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Building</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=500, Building Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Building, Building Wikipedia</Field>
|
||||
<Field Name="SortOrder">5</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Forest</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=600, Forest Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Forest, Forest Wikipedia</Field>
|
||||
<Field Name="SortOrder">6</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Fish</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=700, Fish Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Fish, Fish Wikipedia</Field>
|
||||
<Field Name="SortOrder">7</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Auditorium</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=800, Auditorium Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Auditorium, Auditorium Wikipedia</Field>
|
||||
<Field Name="SortOrder">8</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Bridge</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=900, Bridge Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Bridge, Bridge Wikipedia</Field>
|
||||
<Field Name="SortOrder">9</Field>
|
||||
</Row>
|
||||
<Row>
|
||||
<Field Name="Title">Sea Link</Field>
|
||||
<Field Name="ImageLink">https://picsum.photos/300/200?image=950, Sea Link Image</Field>
|
||||
<Field Name="NavigationURL">https://en.wikipedia.org/wiki/Sealink, Sea Link Wikipedia</Field>
|
||||
<Field Name="SortOrder">10</Field>
|
||||
</Row>
|
||||
</Rows>
|
||||
</Data>
|
||||
</ListInstance>
|
||||
|
||||
|
|
|
@ -1,33 +1,46 @@
|
|||
<List xmlns:ows="Microsoft SharePoint" Title="Adaptive Card Images" EnableContentTypes="TRUE" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Adaptive Card Images" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
<MetaData>
|
||||
<Fields>
|
||||
<Field ID="{e6954092-6678-4538-b809-cf9065480a5d}" Type="URL" DisplayName="Image Link" Required="TRUE" Format="Hyperlink" Title="ImageLink" StaticName="ImageLink" Name="ImageLink" ColName="nvarchar4" RowOrdinal="0" ColName2="nvarchar5" RowOrdinal2="0" CustomFormatter="" EnforceUniqueValues="FALSE" Indexed="FALSE" Version="1" />
|
||||
<Field ID="{3e142196-f3dc-49f1-8147-c7d8b05775d0}" Type="URL" DisplayName="Navigation URL" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" Format="Hyperlink" StaticName="NavigationURL" Name="NavigationURL" ColName="nvarchar6" RowOrdinal="0" ColName2="nvarchar7" RowOrdinal2="0" CustomFormatter="" Version="1" />
|
||||
<Field ID="{8e328744-f48d-4981-8720-d4efa4730f0e}" Type="Number" DisplayName="Sort Order" Required="TRUE" EnforceUniqueValues="FALSE" Indexed="FALSE" StaticName="SortOrder" Name="SortOrder" ColName="float1" RowOrdinal="0" />
|
||||
</Fields>
|
||||
<Views>
|
||||
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/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="SortOrder"></FieldRef>
|
||||
<FieldRef Name="LinkTitle"></FieldRef>
|
||||
<FieldRef Name="ImageLink"></FieldRef>
|
||||
<FieldRef Name="NavigationURL"></FieldRef>
|
||||
</ViewFields>
|
||||
<Query>
|
||||
<OrderBy>
|
||||
<FieldRef Name="SortOrder" />
|
||||
</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 xmlns:ows="Microsoft SharePoint" Title="Adaptive Card Images" EnableContentTypes="TRUE" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/AdaptiveCardImages" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
|
||||
<MetaData>
|
||||
<ContentTypes>
|
||||
<ContentType ID="0x0100A1CA45645C5A4DA4A6D2FE35B9F3B40C"
|
||||
Name="Adaptive Card Image Gallery"
|
||||
Group="SPFx Content Types"
|
||||
Description="">
|
||||
<FieldRefs>
|
||||
<!--Title Site Column -->
|
||||
<FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
<!-- ImageLink Site Column -->
|
||||
<FieldRef ID="{39A6EA41-4A25-45CD-A496-5A5BD92CE2BF}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
<!-- NavigationURL Site Column -->
|
||||
<FieldRef ID="{4E2A59AD-CBB0-45FC-9309-1012EFBA58CC}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
<!-- SortOrder Site Column -->
|
||||
<FieldRef ID="{BF544160-9C36-4252-A4B4-A09DEEA7764B}" Required="TRUE" ShowInNewForm="TRUE" ShowInEditForm="TRUE" />
|
||||
</FieldRefs>
|
||||
</ContentType>
|
||||
</ContentTypes>
|
||||
<Fields></Fields>
|
||||
<Views>
|
||||
<View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/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="LinkTitle"></FieldRef>
|
||||
<FieldRef Name="ImageLink"></FieldRef>
|
||||
<FieldRef Name="NavigationURL"></FieldRef>
|
||||
<FieldRef Name="SortOrder"></FieldRef>
|
||||
</ViewFields>
|
||||
<Query>
|
||||
<OrderBy>
|
||||
<FieldRef Name="SortOrder" />
|
||||
</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>
|
Loading…
Reference in New Issue