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

Announcements

News and Announcements icon
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
    154,471 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard