Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

Query string parameter of a record

(0) ShareShare
ReportReport
Posted on by 26

How do I find the record ID string query parameter of a column (Account table - Parent Account column) in Portals? 

  • Verified answer
    Christian Leverenz Profile Picture
    1,214 on at
    Re: Query string parameter of a record

     Hi @Ihabkhiri1 ,

    if the request is something like https://myportal.powerappsports.com/?id=12345

    you can get the value of the get-parameter id in liquid with 

    {% assign myid = request.params["id"] %}

    if this id is an accountid you can get the parentaccount by using

    {% assign myparentaccount = entities.account[myid].parentaccountid %}

    if myparentaccount is filles, myparentaccount.id will be the id of the parentaccount.

    Details on this can be found for example here: https://docs.microsoft.com/en-us/power-apps/maker/portals/liquid/liquid-objects#entities 

     

    Hope this is an answer to the question. If not, may be you answer with a little bit more details on your requirements 🙂

     

    Have fun,

      Christian

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