web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to get current web...
Power Pages
Answered

How to get current webpage name using liquid code

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Experts,

 

I am trying to get the current webpage name using liquid code but I can find only one way i.e to get the page title using below:

 

{{ page.title }}

 

But I want to get the Page name not the title because in some case title is empty on the web page. 

Is there any way by which I can get the web page name?

 

Thanks,

Amit

Categories:
I have the same question (0)
  • Verified answer
    OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @Anonymous ,

     

    You can use adx_name field to get the name of the web page (like this {{page.adx_name}}). You can do it because page object is reference to web page entity in CDS and adx_name is Name field from it.

  • oliver.rodrigues Profile Picture
    9,455 Most Valuable Professional on at

    Hi, you can use the following to get the name of the record

    {{ page.adx_name }}

     

    I personally recommend adding prefix to any custom object you might create in the Portal, so for example:

    AMIT My Custom Web Page

     

    the reason for this is to quickly and visually separate your components from OOB components.. I do this for nearly all Portal objects, you just can't do this for Web Links and a few other things

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard