Expand my Community achievements bar.

SOLVED

AEM-SPA Angular Shorthand URL implementation

Avatar

Level 4

Hi Team,

 

I need help in implementing short-hand URL in my AEM-SPA Angular project.

 

FYI,

ALL the URL's will be the part of the model.json string, it is not working after dispatcher shorthand URL configurations enabled.

* Normal short-hand URL's configuration wont work for AEM-SPA projects?

* Anything I need to write custom utility to convert this Long URL's to short URL's?

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @shyamasundar-ks ,

 

For the URL shortening in the SPA (tried with react only) , please look into the threads 

1. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-spa-react-dispatcher-s...

 PS : read through the comments where I have mentioned the methods where we need to short the urls for it to work.

2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/short-urls-using-react-spa... (reference solutions)

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @shyamasundar-ks , 
Could you please add sample URL, what you looking for(Long URL to Short URL pattern )

Avatar

Correct answer by
Level 4

Hi @shyamasundar-ks ,

 

For the URL shortening in the SPA (tried with react only) , please look into the threads 

1. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-spa-react-dispatcher-s...

 PS : read through the comments where I have mentioned the methods where we need to short the urls for it to work.

2. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/short-urls-using-react-spa... (reference solutions)