Hi,
I have an issue getting a o365 search list into a sharepoint list.
I've built a basic sharepoint list with two columns - Staff and Age (With an unused Title). The staff is a Person and the age is a number.
The powerapp literally shows both these columns in a gallery.
Rather than show the entire o365 users, i've filtered this down as thus, in Items:
Filter(Office365Users.SearchUser({searchTerm:DataCardValue2.SearchText}),"Staff" in OfficeLocation)
This brings back the correct users, based on the word 'Staff' in the OfficeLocation field.
When i use the 'SubmitForm', this does not write this selected info to the list.
I thought about using a patch function, but this does not work:
Patch('Patch', Defaults('Patch'), {Staff:DataCardValue2.Selected}) - where 'Patch' is the name of the SP list, and 'DataCardValue2 is the name of the Value of the Staff Datacard.
Has anyone got any ideas on how to get this to work?
Thanks in advance