Forum Discussion
DeveloperCYT
Jul 02, 2019Copper Contributor
PowerApp from showing CurrentUser
Hi, I am confused, i have 2 forms in Powerapps and they seem to be similar in structure. OnVisible i am setting CurrentUser thus :- UpdateContext({ CurrentUser: { '@odata.type': "#Microsoft...
Damien_Rosario
Jul 03, 2019Silver Contributor
Hi DeveloperCYT
Unsure what the issue is from what you have displayed. There may something happening that could be causing issues not seen on the screen.
You could possibly just add a text box and set it to current user, and then have the Person field reference the textboxname.text to grab the username. Make sure to make the Person field invisible so only the text box is shown.
It's a workaround but sometimes it's easier to do that than to figure out the problem itself.
Best wishes
Damien