Asset selector asset-selector
The asset selector lets you browse, search, and filter assets in Adobe Experience Manager Assets. You can also fetch the metadata of assets that you select using the asset selector. To customize the asset selector interface, you can launch it with supported request parameters. These parameters set the context of the asset selector for a particular scenario.
Currently, you can pass the request parameters assettype
(Image/Video/Text) and selection mode
(Single/Multiple) as contextual information for the asset selector, which remains intact throughout the selection.
The asset selector uses the HTML5 Window.postMessage message to send data for the selected asset to the recipient.
The asset selector is based on Granite’s foundation picker vocabulary. By default, the asset selector operates in browse mode. However, you can apply filters using the Omnisearch experience to refine your search for particular assets.
You can integrate any web page (irrespective of whether it is part of the CQ container) with the asset selector (https://[AEM_server]:[port]/aem/assetpicker.html
).
Contextual Parameters contextual-parameters
You can pass the following request parameters in a URL to launch the asset selector in a particular context:
http://localhost:4502/aem/
assetpicker.html/<folder_path>
/content/dam/we-retail/en/activities
selected, the URL should be of the form: http://localhost:4502/aem/assetpicker.html
/content/dam/we-retail/en/activities?assettype=images
http://localhost:4502/aem/assetpicker.html
?mode=multiple
http://localhost:4502/aem/assetpicker.html
?mode=single
http://localhost:4502/aem/assetpicker.html
?dialog=true
<folder_path>
http://localhost:4502/aem/
assetpicker.html?assettype=images
&root=/content/dam/we-retail/en/activities
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=images
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=documents
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=multimedia
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=archives
/jcr:content/metadata/dc:format
) of an asset (wildcard also supported)http://localhost:4502/aem/assetpicker.html?viewmode=search&mimetype=image/png
http://localhost:4502/aem/assetpicker.html?viewmode=search&?mimetype=*png
http://localhost:4502/aem/assetpicker.html?viewmode=search&mimetype=*presentation
http://localhost:4502/aem/assetpicker?viewmode=search&mimetype=*presentation&mimetype=*png
Use the asset selector using-the-asset-selector
-
To access the asset selector interface, go to
https://[AEM_server]:[port]/aem/assetpicker
. -
Navigate to the desired folder, and select one or more assets.
Alternatively, you can search for the desired asset from the OmniSearch box and then select it.
If you search for asssets using the OmniSearch box, you can select various filters from the Filters pane to refine your search.
-
Tap/click Select from the toolbar.