I try to build a new powerapps but I have some difficulty to make it.
I set a comboBox to connect to a sharepoint list. Once item is selected, the goal is to get value from the field "ownerstxt" . This field contains a list of concatened mail users separated by ",".
I try to display my result in a gallery and would add more informations like displayname, derpartment and companyName and even if available the photo.
I added this formule on the event "OnChange" from the Combobox :
My collection "CollectUsers" return only the first user. I doesn't understand why it not loop on others users ?
If I try whihout the connector o365User I have all my users in the collection.
Can you explain me where i'm wrong ?
Hi @stephane33 :
Could you tell me what 'Utilisateursd' is?
I made a similar test but did not encounter the problem you mentioned.
Here is my solution:
1\add a Office 365 User connection
Data sources-Connectors-Office 365 Users-Add a connection
2\add a button control and set it’s OnSelect Property to:
You can also try this code:
In addition, I suggest you check these following things:
Thanks you for your answer. In fact the problem was because there was a space. Corrected with a trim()
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.