Asset Selector — Adobe Experience Manager(AEM) | Digital Asset Management
Asset selector lets you search, filter, and browse the DAM assets. Asset selector is available at https://[aem_server]:[port]/aem/assetpicker.html
. You can fetch the metadata of your selected assets using the asset selector. You can launch it with supported request parameters, such as asset type (image, video, text) and selection mode (single or multiple selections). These parameters set the context of the asset selector for a particular search instance and remain intact throughout the selection.
Some of the important request parameters:
mode — single, multipleroot - root folder for the asset selector.e.g /content/dam/testviewmode — searchassettype — Images, documents, multimedia, archivesmimetype - MIME type(e.g png)
Sample URL — http://localhost:4502/aem/assetpicker.html?mode=multiple&root=/content/dam/test&mimetype=*png
The asset selector uses the HTML5 Window.postMessage
message to send data for the selected asset to the recipient.
Event Message on Cancel:
{"config":{"action":"close"}}
Event Message on Asset Selection(Single or Multiple assets can be selected based on the mode):
{"data":[{"path":"/content/dam/test/test1.png","url":"http://localhost:4502/content/dam/test/test1.png","type":"image/png","ti…