Hi,
I have a SharePoint list with a Person column in it.
In my app I have a combobox control which displays the selected person.
I populate this by setting the DefaultSelectedItems property to:
{'odata.type':"#Microsoft.Azure.Connectors.Sharepoint.SPListExpandedUser",
Claims:"i:0#.f|membership|" & Lower(recFNCR.'FNCR Initiator'.Email),
DisplayName:recFNCR.'FNCR Initiator'.DisplayName,
Email:recFNCR.'FNCR Initiator'.Email,
Department:recFNCR.'FNCR Initiator'.Department,
Title:recFNCR.'FNCR Initiator'.JobTitle,
Picture:""
}
Elsewhere in the app, I am setting the Visible property of a control to:
If(cboReportedBy.Selected.Mail=_sUserMail,true,false)
where _sUserMail is set up when the app is loaded to store the logged in users email. This is so that certain controls are only visible if the logged in user is the user who created the record in the first place.
However, the cboReportedBy.Selected.Mail is blank. How do I save the email of the user in the Person record and the combo box control?
Any help, much appreciated.
Pete