Skip to main content

Notifications

Community site session details

Community site session details

Session Id : kHVz9Q6r5+jq2PUzRLVday
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,266 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started
Loading complete