Commerce Foundation ImageGallery
An image gallery represents a directory folder that contains images.
Model
This commerce entity can be modified, as required. This model, taken from the out-of-the-box site, is provided as an example.
<CommerceEntity name="ImageGallery">
<DisplayName value="ImageGallery" />
<Description value="Represents an Image Gallery directory." />
<Authorization>
<Operation name="Query" >
<Claimset name="Everyone"/>
</Operation>
</Authorization>
<Properties>
<Property name="Id" dataType="String">
<DisplayName value="Id"/>
<Description value="Directory Path - the unique id of the image gallery directory." />
</Property>
<Property name="Name" dataType="String">
<DisplayName value="Display Name" />
<Description value="The name of the gallery folder." />
</Property>
</Properties>
<Relationships>
<Relationship name="ImageGalleries" type="Relationship" modelName="ImageGallery" isMultipleItems="true" />
<Relationship name="ImageGalleryFiles" type="Relationship" modelName="ImageGalleryFile" isMultipleItems="true" />
</Relationships>
</CommerceEntity>
Properties
Property |
Type |
Description |
---|---|---|
Id |
String |
The unique ID of the image gallery directory. |
Name |
String |
The name of the image gallery folder. |
Relationships
Property |
Description |
---|---|
ImageGalleries |
Image galleries are subfolders that contain images. |
ImageGalleryFile |
The image files. |
Supported Operations
The product commerce entity supports the following operations:
Commerce Foundation ImageGallery CommerceQuery