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 / PowerApp - Directing t...
Power Apps
Unanswered

PowerApp - Directing to Details/Edit Screen after log in

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am new to PowerApps and am trying to develop a system to track information about people (organization, position, degree, etc.).

I have figured out how to make the log in work for each user from a SharePoint list, but I am wondering if there is a way to direct each user to a details/edit screen where they can view/edit their own information after they successfully log in.  Each user in the SharePoint list has a Username, Password, and unique ID. I have an Excel table (in Office 365) that has the details for each person (e.g. Unique ID, username, first name, last name, organization, position, degree, etc.)

I found code online that will direct people to a specific page eg.: 

 

 

 

Switch(Param("WhatScreen"), 
"1", Screen1,
"2", Screen2,
"3", Screen3
)

 

 

 

 

I would like for user with Unique ID 1 to be directed to a view/edit details page for user Unique ID 1 with the details from the the Excel table.  I will have approximately 700 people in the system.  I was hoping to use some kind of logic so that if user with unique ID 1 logs in, they will be directed to the screen with details for unique ID 1, if user with unique ID 2 logs in, then they are directed to the screen with details for unique Id 2.....etc. to user 700.  Is this possible or will I have to write a separate line for each user to direct them to the correct screen? 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Believe it or not, you can probably use a single screen and edit form, say Form1 to accomplish your task.  When the user logs in obtain the ID and call it uniqueID,  then all you need is an edit form with the Data Source as your SharePoint list and an Item property as Lookup(yoursharepointlist, ID=uniqueID).  Set the Default mode as View. Add a button, call it Edit and make the OnSelect property: EditForm(Form1).  Add a second button, call it Save and make the OnSelect property: SubmitForm(Form1).  In the OnSuccess property of the form, put ViewForm(Form1).  The user can now view his information and if desired, can edit the information and save the changes. 

    Make sure that there is an ID card in the form and make the Update property of the card, uniqueID.  Move it to the bottom of the list of fields and  hide this card so the user cannot accidently change it. 

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard