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

Bypassing Apache Sling GET Servlet

Avatar

Avatar
Level 1
kfox88
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
kfox88
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
kfox88
Level 1

15-06-2020

We have a product called "Dialog" that we would like to render a PDP at {site-root}/products/product/dialog.html but ‘dialog.html’ is triggering the Apache Sling GET Servlet's json renderer. Is there a way to bypass this? 

  • I’ve tried disabling the JSON renderer on the Apache Sling GET Servlet, but all this does is prevent the dialog page from rendering and throws a 404 instead.
  • Since our PDP leverages sling mapping, I've tried creating a page at that specific location and it’s still rendering JSON or throwing a 404.
  • And I also tried creating a specific mapping for the dialog product, but the GET Servlet seems to be taking precedent.

Any other ideas?

AEM 6.5.1

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct Reply

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

Avatar
Give Back 5
Employee
Andrew_Khoury
Employee

Likes

75 likes

Total Posts

93 posts

Correct Reply

33 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
Andrew_Khoury
Employee

16-06-2020

I'm not sure, but it sounds like based on your description you are trying to serve a static HTML file via AEM?  Here is another forum post on the same thing:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/hosting-static-html-in-the...

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

200 likes

Total Posts

264 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

200 likes

Total Posts

264 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

16-06-2020

@kfox88 what is the resource type for dialog.html? If it is a page, do you have template defined with a age component resource type.