@Voltes
Yes of course. This is the most important section of my code.
{
DisplayName:User().FullName,
Claims:"i:0#.f|membership|" & Lower(User().Email),
Department:"",
Email:User().Email,
JobTitle:"",
Picture:""
}
A person field in SharePoint is known as a complex column type. This means it stores more than one piece of data about a person. In fact it stores several!
- DisplayName: Office 365 display name
- Claims: a unique identifier that represents a specific user
- Email: the user's email etc.
- Picture: Office 365 user photo
- etc, etc, etc.
So when we want to display a person in a new Power Apps form we must build the person object from scratch. That's why we need all of that code inside the { } brackets.
I would suggest you copy my code entirely. At the very least you must have these fields: Claims, DisplayName, Email.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."