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 Apps / Get website logged user
Power Apps
Unanswered

Get website logged user

(0) ShareShare
ReportReport
Posted on by

We have a shopify website where we want to embed a power app aplication, for the staff, and to display certain information of the the app in each of the customers profile page. 

 

The information displayed on the customer profile page is private and unique so it is necesarry to check the user name wich is currently logged in each moment. 

 

¿Is it possible to do this with power apps?

 

Categories:
I have the same question (0)
  • sathyav Profile Picture
    18 on at

    Unfortunately, the Powerapp canvas app cannot read the parent page context. But to meet your requirement indirectly - you can make use of the PARAM function. 

     

    In your parent page you could use a function that fetches the logged in user and generates the below url.

    https://apps.powerapps.com/play/<GUID>?tenantId=<GUID>?userName=<loggedinuser>

     

    This dynamically generated URL could be used as the PowerApp Embed source.  Now you would be able pass the data to the embed using the PARAM function

     

    sathyav_0-1655477589530.png

    Basically, this means the text of the Label1 will be of the Parameter value of "USERNAME" parameter of the specific app's Power App URL. This parameter value will be obtained from the parent page.


    Wrote a detailed article below.
    Passing data to Powerapp Embed and Using Parameters in PowerApps | by satyav | Jun, 2022 | Medium

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 Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard