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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Can you use URL Parame...
Power Pages
Unanswered

Can you use URL Parameters with Microsoft Power Pages?

(0) ShareShare
ReportReport
Posted on by 2

Is it (or will it be) possible to use URL Parameters with Microsoft Power Pages?

I don't mean query parameters (or 'querystring' parameters), but rather URL parameters. For example:

  • Query Parameter:domain.com/path?key=value
  • URL Parameter: domain.com/path/value

For example, if I have an entity/table like "Staff", I could use use something like: domain.com/team/johnsmith to point directly to a page template that is filled with the johnsmith record in the Staff entity/table.

Ultimately, it allows me to use page templates and manage content in my datasource (e.g. Dataverse), without editing the page itself. It also helps with SEO.

(All other major Content Management Systems, like Wordpress, Drupal, and even newer ones like Webflow are able to do this).

Categories:
I have the same question (0)
  • Conway Profile Picture
    120 on at

    I don't think you can, if you are using Entity Forms, as they work on record id passed to the URL.

    But if you build your own display form, you can use the liquid template request object (https://learn.microsoft.com/en-us/power-apps/maker/portals/liquid/liquid-objects#request) to get the parameter values and then construct fetchXML to get the data to display on the page.

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

    Hi, not sure if this would help, but take a look at this article: http://oliverrodrigues365.com/2021/03/02/power-apps-portals-loading-large-data-in-entity-lists/

    might be a starting point

  • Community Power Platform Member Profile Picture
    on at

    Yes, for example;

    If your URL is like https://abc.powerappsportals.com/xyz-page?yourparametername=parameter-value 
    You can reference it in your code as {{request.params.yourparametername}} to retrieve its value.

    You can also use it in your liquid code as something like 

    {% if request.params.yourparametername == value %}

    <p> something here </p>

    {% endif %}

     

    You can read more here: Custom URL Query Parameters for your Power Apps Portals – Franco Musso

  • sweb Profile Picture
    117 on at

    @SeyiLowo

    He wants to use url params, not query params.

     

    request.params.yourparametername returns parameter-value the URL is ?yourparametername=parameter-value

    But if the url is /something/else?yourparametername=parameter-value

     

    He wants /something/else, maybe one of them or both.

    What I could find is request.path, it would return /something/else, and you'd have to work your way to get each param since it just gets the URL path.

  • Fubar Profile Picture
    8,354 Super User 2025 Season 2 on at

    @sweb I agree they are asking about using the path. 

    I wouldn't recommend doing it, but something is probably possible.  The portal/power pages does not natively support dynamics paths.  if the url path does not match a defined Web Page short name hierarchy you will get page not found. Which means the only place you could attempt to apply your logic is behind the "Page Not Found" Web Page or its Web Template.

    As you can get the path as a string you can then probably use the the Liquid string filters (e.g. 'split' filter) to separate out the parts in the path.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard