Hello guys,
I'm pretty new to Power Apps development and I'm wondering how to implement my idea. First of all, I want to have a combo box in my form that searches people inside my organization and allows multiple selections. The second step, that I assume is a little bit harder is... how can I select all the all the users in my organization by default when the user opens the form? To demonstrate my dream, I have posted an picture below of what I'm looking for. The user opens the form - boom, all the users in my organization are already selected by default!
Thanks,
Ville
Solved! Go to Solution.
Hi@VilPel,
Based on the issue that you mentioned, do you want to populate the Combo Box with all the users in your organization?
Could you please share a bit more about your scenario?
In my scenario, I have connected Office365Users to my app.
Set Items property of the Combo Box:
Office365Users.SearchUserV2({searchTerm:ComboBox5.SearchText}).value.DisplayName
Set DefaultSelectedItems property of the Combo Box:
Office365Users.SearchUserV2({searchTerm:""}).value.DisplayName
Regards,
Qi
In the DefaultSelectedItems property of your combo box, try inputting your formula that you have in the Items property.
Hi@VilPel,
Based on the issue that you mentioned, do you want to populate the Combo Box with all the users in your organization?
Could you please share a bit more about your scenario?
In my scenario, I have connected Office365Users to my app.
Set Items property of the Combo Box:
Office365Users.SearchUserV2({searchTerm:ComboBox5.SearchText}).value.DisplayName
Set DefaultSelectedItems property of the Combo Box:
Office365Users.SearchUserV2({searchTerm:""}).value.DisplayName
Regards,
Qi
User | Count |
---|---|
119 | |
86 | |
83 | |
74 | |
69 |
User | Count |
---|---|
215 | |
179 | |
140 | |
108 | |
83 |