I'm building a simple feedback form app that writes to a Sharepoint list. The sharepoint list has a 'User' field to record the user submitting feedback. If I complete an entry in the sharepoint form, I can type the name in the User field and select from a dropdown list that recognises the users name. However, when I add the field to the form, a dropdown with 3-digit numbers comes up instead. Typing the name doesn't filter this list.
I'd like to automatically record the user, so have the user field default to the same user as is shown in the profile picture of the header, and hide the field. The options I have for User() in the default field are;
But selecting any of these, inc. 'EntraObjectId' returns an 'Expected Record Value' error.
How can I either change the field to accept names/EntraObjectIds or return the record value of the current user?