web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / save either selectedit...
Power Apps
Answered

save either selecteditem or search text

(0) ShareShare
ReportReport
Posted on by 44

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

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,495 Most Valuable Professional on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 401

#2
WarrenBelz Profile Picture

WarrenBelz 334 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 325 Super User 2025 Season 2

Last 30 days Overall leaderboard