How do I find the record ID string query parameter of a column (Account table - Parent Account column) in Portals?
How do I find the record ID string query parameter of a column (Account table - Parent Account column) in Portals?
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
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35