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 / From Combobox to Share...
Power Apps
Answered

From Combobox to Sharepoint List

(0) ShareShare
ReportReport
Posted on by 42

Hi everyone, 

 

I have a combobox that contains data from a global variable.

It's a code list :

Charline_74_0-1709741962886.png

 

And I'd like to add the items selected in my combobox to a sharepoint list.

Here is my current formula and I would like to add my combobox.

Charline_74_1-1709742061677.png

Does anyone have any ideas?

Categories:
I have the same question (0)
  • Charline_74 Profile Picture
    42 on at

    Hi @Amik 

    Thanks it's work now !!

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Charline_74 -

     

    Please read my first response to your post again, paying particular attention to the bold section:

     

    "assuming that the "Entity Code" field is a Single Line Text data type in your data source"

     

    I take it then, that the "Entity Code" field is not a Single Line Text data type?

  • Charline_74 Profile Picture
    42 on at

    Hi @Amik

     

    I get this error when I use your formula:

    the type of this argument 'SSP' does not match the expected table type. Type found Text

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Charline_74 - and the solution I suggested does not work for you because...?

  • Charline_74 Profile Picture
    42 on at

    Hi @Amik 
    Basically, I have a combobox in which I have a list of SSP code that comes from a global variable.
    And I'd like it so that when a user selects one or more SSP codes, and clicks on a button, the code or codes are written to a SharePoint list.

  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Charline_74 -

     

    Sorry I have no idea what your response means...

  • Charline_74 Profile Picture
    42 on at

    Hi @Amik

     

    In my basic formula I just want to add my combobox, I have an SSP column in my SharePoint List

  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @Charline_74 - assuming that the "Entity Code" field is a Single Line Text data type in your data source, is this what you're trying to do?

     

    Patch(
     Entity,
     Defaults(Entity),
     {
     Entity: TextInput1.Text,
     Country: TextInput1_1.Text,
     'Entity Code': Concat(
     'Your ComboBox'.SelectedItems,
     ssp,
     ";"
     )
     }
    )
    

     

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 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard