Page properties page URL in AEM - retrieve to head.html | Community
Skip to main content
Level 2
November 14, 2023
Solved

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

  • November 14, 2023
  • 1 reply
  • 1023 views

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.
Best answer by Harwinder-singh

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

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

 

1 reply

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
November 14, 2023

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

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

 

cxashaAuthor
Level 2
November 15, 2023

Thank you! it worked.

kautuk_sahni
Community Manager
Community Manager
June 7, 2024

@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!

Kautuk Sahni