I have created a screen that uses individual controls to databind back to the datasource and then I am using Patch to save the data. All works good. Now I have created a search screen that searches records based on criteria like RequestNumber, startDate, endDate, etc...this also works, populating a Results Gallery with the search results. I want the user to be able to select a record in the results gallery and then set the Default values in the form based on ThisItem.Field. All of this also works except for the person fields. These are comboboxes that use the Office365Users source to choose data. I have tried just using the ThisItem.Email, or doing a new Office365User.SearchUser...I have the user displayname and email in ThisItem, but I keep getting either and "expecting table" error or "text" error.
I do have this and it does not error, but there is no data: First(Office365Users.SearchUser({searchTerm:SelectedRequestor}).DisplayName)
Thanks for the information and help