Highlighted

AEM SPA | URL shortening

Avatar

Avatar

sandrateixeira

Avatar

sandrateixeira

sandrateixeira

24-09-2019

Hey

Its is possible to have URL shortening in a react SPA?

Do I need to active some configuration or do something in the dispatcher?

Replies

Highlighted

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

24-09-2019

The best practice is to shorten (rewrite) URL at a dispatcher /HTTPD level.

Highlighted

Avatar

Avatar

lmha

Employee

Avatar

lmha

Employee

lmha
Employee

24-09-2019

Hi Sandrateixeira,

Currently, it is a known limitation that AEM SPA Editor does not have the ability to perform URL shortening -- refer to [1].  I did not find a timeline/roadmap for the implementation of this feature, however, if it is released, the SPA documentation will be updated accordingly.

Regards,

Lisa

[1] SPA Editor Overview

Highlighted

Avatar

Avatar

ksuayan_shc

Avatar

ksuayan_shc

ksuayan_shc

25-09-2019

Seems like a pretty important use case that should have been covered.

Highlighted

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

913

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

913

Correct Answer

1.0K
Jörg_Hoh
Employee

25-09-2019

When you own the model classes, you can implement logic to rewrite the repository paths accordingly. Should not be a big problem, and much safer than a heuristic provided by AEM itself (like the link rewriter).

Jörg

Highlighted

Avatar

Avatar

nm561028

Avatar

nm561028

nm561028

02-11-2020

Any example ?