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 / My Profile Screen wont...
Power Apps
Unanswered

My Profile Screen wont pull data

(0) ShareShare
ReportReport
Posted on by 13

 

Hi All,

I have an app where the fist screen is a basic login. just takes in Phone Number and pin#.

when they login it takes them to a main menu screen. on that screen I have a My Profile button that should display all their registered info like name company phone number and such, but it doesn't. does anyone have an example for this? 

right now the user registration and login is working, but just don't know how to pass the user info to the main menu screen. 
I should add the user database is a SharePoint list, thanks!

 

Dexter1088_0-1614612345443.png

 

1.png

 

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Where is the profile data coming from?

     

     

  • Dexter1088 Profile Picture
    13 on at

    SharePoint List

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Do you want this information to be displayed when the user chooses the login option and would you want it to be displayed automatically or only when they click a button?

  • Dexter1088 Profile Picture
    13 on at

    when the user presses the login it verifies the phone number and pin number are a match then takes them to a Main Menu screen. On that screen I have a My profile button, where I want the users data diplayed and able to edit if necessary....

    Here's the code I have in my Login Button, it works but im having issues now that i'm trying to pass a 2nd variable through with user info, but not sure if this is the best way to do this, ty.

    If(!IsBlank(LookUp(GC_Login, Phone_Number=[@Phone_Number].Text And Pin=[@Pin].Text).Phone_Number), Navigate('Menu Screen') {User: Phone_Number}, UpdateContext({Pin_Invalid: true}))



  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    In your code it 'looks like' your second variable is the {User: Phone_Number}

     

    If(!IsBlank(LookUp(GC_Login, Phone_Number=[@Phone_Number].Text And Pin=[@Pin].Text).Phone_Number), Navigate('Menu Screen') {User: Phone_Number}, UpdateContext({Pin_Invalid: true}))

     

    If this is the case you can't set a variable this way.   To use it on another screen you would need to Set(User, Phone_Number) as context variables are only accessible on a single screen.

     

    Also it looks like you are missing the ; between Navigate('Menu Screen') and {User: Phone_Number}

     

     

     

     

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard