Hi @The_General ,
Which type column do you use to store the Manager user value in your SP list? Single text column or Person type column?
Do you want to auto-populate the field in your Edit form based on the curret login user's manager?
1. If you use Person type column to store the Manager user value in your SP List:
Set the DefaultSelectedItems property of the ComboBox within the Person field data card to following:
If(
EditForm1.Mode = FormMode.New,
{
Claims: "i:0#.f|membership|" & Lower(Office365Users.Manager(User().Email).Mail),
DisplayName: Office365Users.Manager(User().Email).DisplayName,
Email: Office365Users.Manager(User().Email).Mail,
Department: "",
JobTitle: "",
Picture: ""
},
Parent.Default
)
2. If you use Single text type column store the Manager user value in your SP List:
Set the Default property of the Text Input box within the Person field data card to following:
Office365Users.Manager(User().Email).DisplayName
More details about setting a default value for Person field in SP list, please check the following thread:
https://powerusers.microsoft.com/t5/General-Discussion/How-to-set-a-defaul-value-for-a-person-fields-in-a-SharePoint/td-p/187880
Best regards,