Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM SPA | URL shortening

Avatar

Avatar
Boost 1
Level 1
sandrateixeira
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
sandrateixeira
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
sandrateixeira
Level 1

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

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

24-09-2019

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

Avatar

Avatar
Give Back 10
Employee
lmha
Employee

Likes

16 likes

Total Posts

20 posts

Correct Reply

4 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Give Back 10
Employee
lmha
Employee

Likes

16 likes

Total Posts

20 posts

Correct Reply

4 solutions
Top badges earned
Give Back 10
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
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

Avatar

Avatar
Validate 1
Level 1
ksuayan_shc
Level 1

Likes

3 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
ksuayan_shc
Level 1

Likes

3 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
ksuayan_shc
Level 1

25-09-2019

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

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,115 likes

Total Posts

3,149 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,115 likes

Total Posts

3,149 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
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

Avatar

Avatar
Give Back
Level 1
nm561028
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
nm561028
Level 1

Likes

2 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
nm561028
Level 1

02-11-2020

Any example ?

Avatar

Avatar
Validate 1
Level 1
nasrinj31078225
Level 1

Like

1 like

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
nasrinj31078225
Level 1

Like

1 like

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back
Boost 1
View profile
nasrinj31078225
Level 1

16-02-2021

Is there any update on this? If we can do URL shortening with AEM SPA editor using dispatcher rewrite rule?