Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
in Power Apps by 8 8 13
How to customize the SharePoint Online Form to set the default value of SharePoint person column to the current login user using PowerApps

1 Answer

1 like 0 dislike
by 48 54 93
selected by
Best answer

You can customize the SharePoint form in PowerApps and follow these steps

  1. From the SharePoint list click Integration> PowerApps and select Customize forms to customize this SharePoint form in PowerApps studio.
  2. In the Onvisible property of the form set the formula to get the current logged in user .

The formula is:

    CurrentUser: {    
        '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",    
        Claims: "i:0#.f|membership|" & Lower(User().Email),    
        Department: "",    
        DisplayName: User().FullName,    
        Email: User().Email,    
        JobTitle: ".",    
        Picture: "."    

3.Set the DefaultSelectedItems property of the combo box to be CurrentUser

If you don’t ask, the answer is always NO!