Dynamic Media: access assets by full path | Community
Skip to main content
August 25, 2022
Solved

Dynamic Media: access assets by full path

  • August 25, 2022
  • 2 replies
  • 1484 views

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-serving-api/attributes/r-allowdirectaccess.html?lang=en

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vikram1285

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-transform-urls.html

Thanks,

Vikram Gaur

2 replies

ksh_ingole7
Community Advisor
Community Advisor
August 25, 2022

Hi,

 

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

 

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

 

 

 

vikram1285Adobe EmployeeAccepted solution
Adobe Employee
September 2, 2022

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-transform-urls.html

Thanks,

Vikram Gaur

September 6, 2022

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