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

Community site session details

Session Id : YZSKbVlnNRuvILETLl4vIJ
Power Pages - Power Apps Portals
Answered

How to get current webpage name using liquid code

Like (0) ShareShare
ReportReport
Posted on 29 Oct 2020 09:44:52 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 29 Oct 2020 at 12:43:54
    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 29 Oct 2020 at 12:43:36
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 2

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 2

#3
surya narayanan Profile Picture

surya narayanan 35

Loading complete