etc/map on author instance, only for wcmmode disabled

Avatar

Avatar
Validate 1
Level 2
bertc43227855
Level 2

Likes

3 likes

Total Posts

10 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
bertc43227855
Level 2

Likes

3 likes

Total Posts

10 posts

Correct reply

2 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
bertc43227855
Level 2

09-01-2018

Hi,

Currently we have a "/etc/map/https" configuration on our publish environment (author & publish are hosted on 2 different servers).

This is because all the urls on the publish environment need to be user friendly. we don't want to publish urls containing "/content/en_us/path/index.html", but we want "en_us/index.html". This is working fine on the publish environment.

But now we have integrated Adobe Campaign in AEM and Campaign is connected to the Author instance (like the documentation has described Integrating with Adobe Campaign 6.1) It doesn't connect to the publish environment but author.

The problem now is that all the urls also need to be transformed to a "en_us/index.html" like URL. when campaign fetches the content from author.

We can set the same etc/map configuration on the author instance. this will solve the problem, but it also creates another one.

When setting up the '/etc/map' configuration on author, all the urls in edit, preview, design mode will rewrite the urls to the publish instance. ( the etc/map configuration contains the publish domain) and this is something we don't want.

When authoring (editing, setting pages up) we want to direct to page in the author instance itself, we don't want to redirect to the publish instance. for authoring/testing purposes on the author instance.

Is it possible to only execute the etc/map configuration in wcmmode disabled or something?

View Entire Topic

Avatar

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
vishalv66424037
Level 2

Likes

0 likes

Total Posts

13 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
vishalv66424037
Level 2

10-01-2018

Can you check jcr resource resolver mapping for your index page e.g. /content/en_us/path/index.html in felix console, If it is giving you the publish url then i think for author you need to create  new sling mapping with its domain name.