Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

Shorten the DAM URL (DAM Resource Resolver)

Avatar

Level 2

My requirement is :  We have multiple country sites for our company(nearly 103 different country site). When it comes to Assets, business wants to maintain only 9 regions like en, fr, es, ko, jp....,      

the assets path  in dam look like, "content/dam/xxx/collaterals/en/analysit-reports/a.pdf" , "content/dam/xxx/collaterals/en/analysit-reports/a.pdf" "content/dam/xxx/collaterals/es/analysit-reports/a.pdf" "content/dam/xxx/collaterals/fr/analysit-reports/a.pdf".

 

Where as in html page we want place the link like for US site "en-us/analysit-reports/a.pdf" for France site "fr-fr/analysit-reports/a.pdf" to match actual site structure. .

The US site asset link should mach en-us/analysit-reports/a.pdf -> content/dam/xxx/collaterals/en/analysit-reports/a.pdf and fr-fr/analysit-reports/a.pdf -> content/dam/xxx/collaterals/fr/analysit-reports/a.pdf and so on....

 

Based on my java knowledge the  I tried to implement filter, when request match used the RequestDispatcher with new location, but I am getting blank pdf page instead of actual page content.  

 

Could someone help me what are the other options to resolve this issue.

 

Thanks in advance.

1 Solução aceita

Avatar

Resposta correta de
Employee

to clarify: did you try the options under here?

https://docs.adobe.com/docs/en/aem/6-2/manage/seo-and-url-management.html

Another way would be to add “sling:vanityPath” property to the property node of the image, but this is not exposed in the UI, to my knowledge.

So you would need to customise the screen so that the end user could modify this value.

Or if you want to control it a different way, write an app which updates the jcr directly

Ver solução na publicação original

3 Respostas

Avatar

Resposta correta de
Employee

to clarify: did you try the options under here?

https://docs.adobe.com/docs/en/aem/6-2/manage/seo-and-url-management.html

Another way would be to add “sling:vanityPath” property to the property node of the image, but this is not exposed in the UI, to my knowledge.

So you would need to customise the screen so that the end user could modify this value.

Or if you want to control it a different way, write an app which updates the jcr directly

Avatar

Level 2

Thanks for your suggestion.  I'll try these options.

Avatar

Employee