I have a sharepoint sheet, in which one of the columns is a person.
I have created a new application in which I add a new line.
In the application, I created a form that I connected to the list.
I added to DefaultSelectItem I am using
{
'@ odata.type': "# Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
DisplayName: User (). FullName,
Claims: "i: 0 # .f | membership |" & Lower (User (). Email),
Department: "",
Email: User (). Email
}
In Items, I added:
Office365Users.SearchUser ({searchTerm: DataCardValue3.SearchText}). DisplayName
and allowed field search.
It turned out great. By default, there is the mail of the person who opened the application, it is possible to search and edit.
That's just not saved 😃
After clicking the button with "SubmitForm (Form4);" the string is created, but the field named is empty.
How to find out what exactly is sent from the field and how to make it save the user to the list?