Highlighted

Resource Mapping

Avatar

Avatar

rajareddych

Avatar

rajareddych

rajareddych

24-01-2019

Scenario:
For folders under /content/folderAAA/folderBBB

I have mapped "sling:internalRedirect = /content/folderAAA/folderBBB/$1/jcr:content.dt.json" to "sling:match = localhost.4502/folderAAA/en-us/(.+)"

Could anyone please provide solution on how to map content under both "/content/folderAAA/folderBBB" and "/content/folderAAA/folderBBB/folderCCC" to "sling:match = localhost.4502/folderAAA/en-us/(.+)"

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

24-01-2019

The AEM documentation for Resource Mapping is located here and provides examples -- Resource Mapping

Hope this helps....

Highlighted

Avatar

Avatar

rajareddych

Avatar

rajareddych

rajareddych

24-01-2019

1675647_pastedImage_0.png

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

24-01-2019

Here is more examples -- Apache Sling :: Mappings for Resource Resolution

I am asking other team members to look here. I have never mapped a resource at this level before. This is quite different then:

localhost:4503/content/geometrixx/en/products.html

to be accessed using:

localhost:4503/geometrixx/en/products.html

Highlighted

Avatar

Avatar

bsloki

MVP

Total Posts

1.9K

Likes

172

Correct Answer

544

Avatar

bsloki

MVP

Total Posts

1.9K

Likes

172

Correct Answer

544
bsloki
MVP

24-01-2019

Can you share your /etc/map node structure ?