sp-dev-fx-webparts/samples/react-adaptive-cards-image-.../sharepoint/assets/elements.xml

133 lines
6.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- 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/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>
</Elements>