Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

How to get current webpage name using liquid code

(0) ShareShare
ReportReport
Posted on by

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

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: How to get current webpage name using liquid code

    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

  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: How to get current webpage name using liquid code

    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.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35