Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Set default selected items in MultiSelect ComboBox

 My setup is this, I have combobox that it's Items is set to this

cbContactEdit.Items = (Office365Users.SearchUser({searchTerm:cbContactEdit.SearchText}),AccountEnabled=true,EndsWith(Mail,""))

It is a multiselect combobox so they can select many, my update for the datacard is this 

Concat(cbContactEdit.SelectedItems, DisplayName,";")

So you end up with a string stored like this in a sharpoint list Doe, John;Doe, Jane;


In my app you can edit this entry, so when you come back to this record I want the defult selected items to display both names.  The DefaultSelecedItems is set to this

Filter(Office365Users.SearchUser(),DisplayName in Split(varContactEdit,";").Result)

and it works ONLY if the names appear in the combobox with however many values are intially loaded, (first 100 records) . For example it works if their last names began with an "A".  In the scenario explained above, the variable has the correct value but the Combobox is just blank when loading. 


I could have sworn this was working a month or two ago.  So my question is was there a update that may have caused this to not work or did this never actually never work and how would I make it so?








Level: Powered On

Re: Set default selected items in MultiSelect ComboBox

This helps but the default selected items do not become selected items.  If i update this field the existing ones are wiped out and only the new updates are saved

Helpful resources


Watch Sessions On Demand!

Continue your learning in our online communities.


PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!


Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 97 members 3,708 guests
Please welcome our newest community members: