Collections in views.json
Purple Experience Builder
In this article, you learn which settings can be done to request a collection from the Catalog API with the views.json in Purple Experience Builder so that you can display it in your Purple Experience for App and/or Web.
- Have a Collection created in Purple Hub and have it published to the Public Database
- dataSource: Is responsible for querying the collection from the Purple Hub. Value from dropdown should be: CollectionDataSource
- type: To work with a collection, the value from the dropdown should be: collection
- mode: value ‘get collection’ will return the whole collection without content; value ‘getContentsInCollection’ will return a list of all the content of the collection.