Hello,
how would you save datas from combobox to shareponint list,
in sharepont list i have lets say 20 names.
combobox allows searching,
i have 20 names to save -- this one is combobox.selected items,
if i have 21 name which is not in the list - it is combobox.searchtext
Can these two functions work together like this:
SubmitForm(Form1);
Patch('name_list',Defaults('name_list'),
{names:ComboBox1.Selected.names, or names: Combobox1.SearchtText})
When i write it like this - in sharepont is appearing fasle.
So is it possible to save either selected items or searchtext depens which one is blank ??
Thanks
Hi @11playto16 ,
Try this
Patch(
'name_list',
Defaults('name_list'),
{
names:
Coalesce(
ComboBox1.Selected.names,
Combobox1.SearchText
)
}
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps