How can i pass Current user to the Item property in Edit form powerapps - SharePoint List

%3CLINGO-SUB%20id%3D%22lingo-sub-2710126%22%20slang%3D%22en-US%22%3EHow%20can%20i%20pass%20Current%20user%20to%20the%20Item%20property%20in%20Edit%20form%20powerapps%20-%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710126%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3CBR%20%2F%3EI%20would%20like%20to%20embed%20a%20form%20in%20edit%20mode%20in%20a%20moder%20ui%20page.%3CBR%20%2F%3EWhen%20the%20user%20logs%20in%20and%20the%20page%20loads%20i%20want%20to%20get%20the%20current%20user%20in%20powersapps%20and%20pass%20it%20like%20so%20below%20in%20the%20item%20property%20of%20the%20Form%20in%20edit%20mode%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EFilter('People'%2C%20%3D%20Email%20%3D%20User().Email)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BEmail%20is%20a%20field%20in%20my%20SharePoint%20list%20and%20User().Email%20is%20the%20logged%20on%20user%20and%20i%20can%20confirm%20i%20can%20get%20that%20value%3C%2FP%3E%3CP%3EBut%20i%20get%20error%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PatrickRote_0-1630563159961.png%22%20style%3D%22width%3A%20540px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307473iFC4812582336DC6E%2Fimage-dimensions%2F540x37%3Fv%3Dv2%22%20width%3D%22540%22%20height%3D%2237%22%20role%3D%22button%22%20title%3D%22PatrickRote_0-1630563159961.png%22%20alt%3D%22PatrickRote_0-1630563159961.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%20with%20powerapps%3F%3CBR%20%2F%3EIf%20not%20what%20options%20do%20i%20have%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%20and%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2710126%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2710244%22%20slang%3D%22en-US%22%3ERe%3A%20How%20can%20i%20pass%20Current%20user%20to%20the%20Item%20property%20in%20Edit%20form%20powerapps%20-%20SharePoint%20List%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2710244%22%20slang%3D%22en-US%22%3ETry%20Filter('People'%2C%20Email%20%3D%20User().%20Email)%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi All,
I would like to embed a form in edit mode in a moder ui page.
When the user logs in and the page loads i want to get the current user in powersapps and pass it like so below in the item property of the Form in edit mode

Filter('People', = Email = User().Email)

 Email is a field in my SharePoint list and User().Email is the logged on user and i can confirm i can get that value

But i get error

PatrickRote_0-1630563159961.png

 

Is this possible with powerapps?
If not what options do i have?

 

Regards and thanks

2 Replies
Try Filter('People', Email = User(). Email)
Thanks Brendan
Thats exactly what i tried in my original post