ms.collections

This widget is used to render all collections (or single collection) from an entity.


Attributes

page_size This attribute is used to define the page size i.e number of records that you want to show on a single page.
sortfields This is attribute is used to sort the records on the basis of any field. Example: ms-data-sortfields='name'
resolve This attribute is used to resolve the data from a particular entity from the field whose typeof is select.

Variables

collections
Returns array of collections in hierarchical format. Each collection has various detail about itself such as name, alias, image and etc.
name Returns the name of the collection name.
alias Returns the alias of the collection alias.
image Returns the url of the image of the collection.
substore Returns the substores in which collection are active.