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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

papenaarun
papenaarun
Offline

Badges

Badges
9

Accepted Solutions

Accepted Solutions
0

Likes

Likes
9

Posts

Posts
18

Discussions

Discussions
12

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by papenaarun
Customize the badges you want to showcase on your profile
Re: Adding custom execution path in Servlet Resolver - Adobe Experience Manager 17-05-2021
Create an XML file with name org.apache.sling.servlets.resolver.SlingServletResolver in config folder.Add servletresolver.paths property with your custom paths as specified below. Note: If you have already configured this manually in config manager console, and later trying to configure through code will not work. As, AEM tries to read from system rather from config folder.In this case you have to delete the paths created in the CRX and then the paths will get configured through config folder.

Views

412

Likes

0

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 21-04-2021
Yes, but how do we know which page model.json has to load?Because I will be receiving the request as abc.model.json

Views

422

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
Yes. For SPA entire page content is based on model.json. And this will called internally from clientlib-react. While rewriting the URL in dispatcher page will be loaded but the model.json will be of the page which we are accessing from the browser.

Views

451

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
Yes, I have made the change as you suggested.Also, when I access /page1 then page1.model.json is getting called, and the same for page2.

Views

457

Likes

0

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
ideally it has to be page1.model.json for /page1 and page2.model.json for /page2 which we are making from dispatcher

Views

591

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
This is what happening. While accessing /abc abc.model.json is getting called and the content coming under this is getting loaded in page. After applying rules, still abc.model.json is getting loaded for both the /page1 and /page2

Views

598

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
Yes, I have placed that. You can check in the post above I have updated it. But the issue is with the content of the page.

Views

612

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
This is for AEM - React SPA. FYI

Views

629

Like

1

Replies

0
Re: Rewrite Rules in AEM Dispatcher are not working for A... - Adobe Experience Manager 20-04-2021
Not redirect. It should be Rewrite. User end URL shouldn't change. I have already configured and internally page is getting loaded for that. But, the content is not changing as it depends on model.json

Views

637

Like

1

Replies

0
Rewrite Rules in AEM Dispatcher are not working for AEM - React SPA - Adobe Experience Manager 20-04-2021
We are using AEM - React as a SPA.The Rewrite Rules which are configured for URL shortening were not working with this AEM-React SPA.We have made some changes in HierarchyPageImpl class so that :path will be specific to the short URL. And the changes are working fine.But, we have a new use case where we a URL for which there will be different values for a query param. And based on that I need to load a specific page.Ex:When users access the below URLs, I need to check the param value and rewrite...

Views

708

Likes

0

Replies

14
Likes given to
Likes from