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

Get corresponding vanity path of a page while in author by referring mapping in publish

Avatar

Level 3

Hi All,

I have a requirement of getting the vanity URL of a page based on the mapping mentioned in pub while being in author instance.Mappings are available only in publish instance.

My ultimate requirement is while activating a page I need clear dispatcher cache of that specific page both in full page path as-well as in vanity path location.

Thanks in advance

LM

1 Solução aceita

Avatar

Resposta correta de
Level 10

General architecture is author for write & publish is read only copy of author with exception of social module. In your setup that is not true. Any reason?

Anyhow For your use case you do not have to get vanity path from publish instead configure flush at publish instance rather than at author.  

Alternately there are couple of option to make a call to publish from author to get a vanity path Ex:- http://<port>:<port>/content/geometrixx/en/jcr:content.json  the property sling:vanityPath will give the required value.

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Level 10

General architecture is author for write & publish is read only copy of author with exception of social module. In your setup that is not true. Any reason?

Anyhow For your use case you do not have to get vanity path from publish instead configure flush at publish instance rather than at author.  

Alternately there are couple of option to make a call to publish from author to get a vanity path Ex:- http://<port>:<port>/content/geometrixx/en/jcr:content.json  the property sling:vanityPath will give the required value.