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.
Read the announcement for more information!
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Features releasing from October 2019 through March 2020
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications