Skip to main content
Level 2
Nov 14, 2023 9:07 PM UTC
Solved

Page properties page URL in AEM - retrieve to head.html

I am trying to implement custom meta tags , and read the values from page properties. I am not able to read the values from page properties for the page url. Could you provide some answers how to read page url from page properties. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Harwinder-singh
Harwinder-singhAccepted solution
Community Advisor
Nov 14, 2023 9:32 PM UTC

@cxasha If i understand your question correctly, you are trying to access the page path ?

if yes, you can use ${currentPage.path}

 

3 replies

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
Nov 14, 2023 9:32 PM UTC

@cxasha If i understand your question correctly, you are trying to access the page path ?

if yes, you can use ${currentPage.path}

 

Translate
cxashaAuthor
Level 2
Nov 15, 2023 12:10 AM UTC

Thank you! it worked.

Translate
kautuk_sahni
Level 9
Jun 7, 2024 6:37 AM UTC

@cxasha I trust the AEM community has been beneficial for you. We hope to see you back as either a learner or a contributor. The community flourishes with SMEs like you. Encourage your AEM peers to participate as well. Happy AEM learning!

Translate
Kautuk Sahni