Asset Selector Collections asset-selector-collections
A collection is a set of assets, folders, or other collections within Asset Selector. Use collections to share assets between users. Unlike folders, a collection can include assets from different locations.
The Micro Front-end Collections in Asset Selector is available out of the box in read only mode. It fetches assets and collections directly from the Experience Manager Assets repository that you have access to.
The Micro Front-end Collections in Asset Selector is available out of the box in read only mode. It fetches assets and collections directly from the Experience Manager Assets repository that you have access to and inherits the properties of public and private folders from your Experience Manager Assets repository. See more about creating a public or private collection in Assets view.
You can view Collections in Asset Selector in both rail view and modal view.
Moreover, you can also customize the selection of assets under the Collections tab. To do this, you can customize it using handleSelection
. See handling selection of Assets using Object Schema.
View collections view-collections
Asset Selector allows you to view collections in either a list view or a grid view. See types of view in Asset Selector.
Drag and drop assets to collection collection-drag-and-drop
You can drag and drop an asset to Collections directly from the Assets as a Cloud Service view in the Author environment. To do this, drag the asset from the Assets tab to the Collections workarea of Asset Selector application to build rich applications.
- The drag and drop of an asset is possible only in rail view.
- You can drag and drop files only (assets) and not the folders.
On the other hand, you can also enable or disable drag and drop of assets in the collections directly.
Disable selection of asset in Collections disable-selection-collection
Disable selection is used to hide or disable the assets or folders from being selectable. It hides the select checkbox from the card or asset which refrains it from getting selected. See disable selection.
Enable or disable Collections tab enable-disable-collections-tab
Asset Selector allows you to customize the components as per the requirement and usability. To enable or disable Collections tab in Asset Selector, you can use featureSet
property in the following manner:
- Enable Collections tab: To enable collections tab, you need to provide
collections
as value to the array. By default, Collections tab is enabled out of the box for all the users. For example,featureSet:["collections"]
- Disable Collections tab: To disable collections tab, you need to provide an empty array as its value. For example,
featureSet:[ ]