I have a SharePoint form with people picker field that auto populates the current user. Because it's a person field, the current user can change that value if they are filling out the form for someone else. I also have Phone, Email, Department, and City/Location field that I need to auto populate with the current user but change to the selected user's information. I have figured out each separately but I'm have issues trying to get both to work. Currently I have:
Default of Department field:
SharePointForm1.Mode = FormMode.New && applicant=false,
Office365Users.UserProfile(User().Email).Department, Parent.Default) Or
SharePointForm1.Mode = FormMode.New && applicant=true,
DataCardValue66.Selected.Department , Parent.Default)
OnChange in Name field:
I'm using Office365Users as my connector.
I also can't get the Phone/Location field to work:
DataCardValue66.Selected.Phone ⬅️ is not an option
and I don't know what to do with DataCardValue66.Selected.Claims
Solved! Go to Solution.
This helped with the Phone and Location fields that I was stuck on but it's still not auto populating the current user's information when I open the app. It does change to the selected user successfully.
Find your favorite faces from the community presenting at the Power Platform Community Conference!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021