Hi, Is it possible to find an asset ID for the assets in AEM DAM? Can it be retrieved in the metadata export?
Thanks,
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
@Amiee asset.getID() returns the jcr:uuid for the asset. If that is something that you need, you can use this method to get this value.
Since this uuid is set at the asset node itself and not at the metadata node, I am not sure if you can retrieve it from OOTB metadata export. You can however write your own custom logic to retrieve the IDs for assets.
https://javadoc.io/static/com.adobe.aem/uber-jar/6.3.3.6/com/day/cq/dam/api/Asset.html#getID--
@Amiee asset.getID() returns the jcr:uuid for the asset. If that is something that you need, you can use this method to get this value.
Since this uuid is set at the asset node itself and not at the metadata node, I am not sure if you can retrieve it from OOTB metadata export. You can however write your own custom logic to retrieve the IDs for assets.
https://javadoc.io/static/com.adobe.aem/uber-jar/6.3.3.6/com/day/cq/dam/api/Asset.html#getID--
Thanks Harwinder for your response.
Hi @Amiee
You can get the Asset ID by generating the reports under Tools > Assets > Reports
There are a number of options on what kind of report you want to generate. Once you select the type of report -
The next screen allows to add custom columns, in that you can select the jcr:UUID for Asset ID column and generate report.
Hope this helps.
Thanks
Narendra
@Amiee , Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community
Views
Likes
Replies