How does AEM Look Up Page Path in the Database? | Community
Skip to main content
Level 3
March 4, 2024
Solved

How does AEM Look Up Page Path in the Database?

  • March 4, 2024
  • 2 replies
  • 634 views

If I have a page path of /content/country/us/oregon/portland/homepage, how does AEM look up this path? I know AEM JCR database is No SQL, so there won't be any primary key or foreign key involved. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sherinregi-1

@aemuser2345 

The below picture explains clearly on how URL lookup is done and the content is delivered. 

 

Ref URL: https://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/

 

 

2 replies

Harwinder-singh
Community Advisor
Community Advisor
March 5, 2024

@aemuser2345  On a high level , the URL is decomposed into individual parts and based on that a mapping to a resource in the JAVA content repository is done.

For a detailed look at this url resolution, check out the below links :

https://sling.apache.org/documentation/the-sling-engine/url-decomposition.html

https://medium.com/@techzette2/sling-resource-resolution-aem-a72fabc07a59

https://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/

 

 

 

sherinregi-1
Community Advisor
sherinregi-1Community AdvisorAccepted solution
Community Advisor
March 5, 2024

@aemuser2345 

The below picture explains clearly on how URL lookup is done and the content is delivered. 

 

Ref URL: https://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/