Hi @AliciaDG ,
Would you like to show manager report only to managers but hide it from users?
If so, firstly you could create a collection OnStart of the App which would include all manager accounts:
ForAll(Office365Users.SearchUserV2().value,Collect(colManager,Office365Users.ManagerV2(ThisRecord.Id).userPrincipalName));
Set(varUser, Office365Users.UserProfileV2(User().Email).userPrincipalName)
Then in View Form, set Visible of the Manager Report Data Card to:
If(varUser in colManager.Value,false,true)
This will hide the Manager Report Data Card if current user is not one of the managers in the collection.
Next step, set Default of the Manager Report Data Card to
ThisItem.ManagerReport
and Default of User Report Data Card to
ThisItem.UserReport
This means NOT to set manager's report column to be what the user has entered, but to display the actual value in the corresponding column.
In the end, make sure Update of the Manager Report Data Card of the Edit Form has been set to
ManagerReportDataCardValue.Text
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.