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 / Power Apps - Portal Ma...
Power Pages
Unanswered

Power Apps - Portal Management - Get full URL

(0) ShareShare
ReportReport
Posted on by 17

Hi, 

We have a Power Apps website which is using Footer web template. We need to show different links in the footer based on the page user is on.

I am newbie in Power Apps website and need to know if there is any code that can be use to check for a specific string in the URL (for example show link A if the URL contains Appointment; otherwise, show link B).

I tried below code but it's not returning the full URL:

{% capture featured_url %}{{ featured.url | within: collection }}{% endcapture %}
{% if featured_url contains "Appointment" %}
 

Thanks in advance.

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    One way you can pickup what page the user is on is in Liquid

    {% if request.path == "/xxxxxxx/yyyyyy/" %}

     

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 61

#2
Valantis Profile Picture

Valantis 46

#2
11manish Profile Picture

11manish 46

Last 30 days Overall leaderboard