Where can we for the asset ID in AEM assets?
Hi, Is it possible to find an asset ID for the assets in AEM DAM? Can it be retrieved in the metadata export?
Thanks,
Hi, Is it possible to find an asset ID for the assets in AEM DAM? Can it be retrieved in the metadata export?
Thanks,
@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--
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.