Expand my Community achievements bar.

SOLVED

Dynamic Media: access assets by full path

Avatar

Level 1

Hi everyone

I'm looking for a way to access assets from the DM server using full path.

 

For example, currently I can access an image like:

https://{host-name}/is/image/{company-name}/image

 

In crx/de this asset is in the following path: /content/dam/brand/images. I can see the full path in the metadata properties of this asset, it is stored in dam:scene7Folder and it contains the following url {company-name}/brand/images/.

 

Is there any way to access an asset using url like this?

https://{host-name}/is/image/{company-name}/brand/images/image



If it's related to the DM server configuration, please let me know. I found the next property, but I'm not sure this will help me because there is no url examples in documentation:

https://experienceleague.adobe.com/docs/dynamic-media-developer-resources/image-serving-api/image-se...

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

Welcome to AEM Community !!

This functionality is not available in Dynamic Media ah

Although, you can transform URLs using RuleSets.

Details information available here : https://experienceleague.adobe.com/docs/experience-manager-65/assets/dynamic/using-rulesets-to-trans...

Thanks,

Vikram Gaur

View solution in original post

3 Replies

Avatar

Community Advisor

Hi,

 

Kindly refer to the below document. Can you confirm if you have tried changing the Company Root Folder Path in Dynamic Media Configuration.

ksh_ingole7_0-1661438155324.png

 

Let me know if adding desired folder path does the job.

 

 

 

Avatar

Correct answer by
Employee Advisor

Hi,

Welcome to AEM Community !!

This functionality is not available in Dynamic Media ah

Although, you can transform URLs using RuleSets.

Details information available here : https://experienceleague.adobe.com/docs/experience-manager-65/assets/dynamic/using-rulesets-to-trans...

Thanks,

Vikram Gaur

Avatar

Level 1

Thank you so much! I was able to achieve exactly what I need using Rule Sets.