Hello awesome people! I'm trying to apply a Global Variable:
Set(VarUser, Office365Users.MyProfileV2());
Set(VarManager,Office365Users.ManagerV2(VarUser.userPrincipalName))
To my form called FormEdit with DefaultSelectedItems set to the following for that field where I'm trying to retrieve the Manager name of the user logged in. So when I click on creating a new form, the manager does populate correctly, but then when I submit the form (using a check mark icon with SubmitForm(FormEdit).
If(FormEdit.Mode = FormMode.New,
Filter(
Table(
{
'@aodata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
DisplayName: VarManager.displayName,
Claims: "i:0#.f|membership|" & VarManager.mail
}),
Not(IsBlank(DisplayName))),
Parent.Default)
Why is the Manager name not saving to the SharePoint list? Once SubmitForm executes, it just sets itself back to blank (nothing selected). But the rest of