I have a Sharepoint list that stores data on current employees. I am building a powerApp that allows the user to view and edit their own information from the list.
The list has multiple columns including:
- Name (Title) - Single Line of Text
- E-mail - Person or group
- Team - Choice
- Job Role - Single Line of Text
I have used Sharepoint integration to 'Customize form' and edit the default form that is automatically produced in PowerApps.
Currently, the form pre-populates based on the first person in the list which I believe is due to the Item property related to the form:
If(IsBlank(SharePointIntegration.Selected),First([@'MyList']),SharePointIntegration.Selected)
Does anyone have a fix for this formula so that it pre-populates based on Current User rather than based on the first entry in the list?
I have tried various look up formulas/patch functions but I can't make it work, so any advice on best practice would be great.