07-30-2020 16:46 PM
Supporting Carlos' blog this week, learn how to default a control in PowerApps to set the value of a Person/People column on SharePoint to the current user's manager using the Office 365 Users Connector. I noticed that the last paragraph of his blog mentions managers, after I posted the video. However, I figured the video would still be useful to some.
Carlos' awesome blog on setting default values on complex SharePoint columns:
More on the Office 365 Users Connection:
Syntax used in the Default Property of the Person Control in the video:
Form1.Mode = FormMode.New,
Claims: "i:0#.f|membership|" & Office365Users.ManagerV2(User().Email).mail
I'm able to get it to appear correctly, but when I submit the record, the value is not saved back to SharePoint. Is there an additional setting somewhere I need to use for it to store?
I'm using SubmitForm(FormEdit) to submit the form and it works for all the other values.