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 / Combobox values not sa...
Power Apps
Answered

Combobox values not saving to SharePoint Single line of text field

(0) ShareShare
ReportReport
Posted on by 125

Something so simple is just not working and I don't know why!

I have a combobox inside of a datacard. The datacard is on my form in the app and is linked to a SharePoint list. However, for some reason the combobox value isn't saving to my list! 

 

Combobox is pulling from a separate data source. User can select multiple. Displayfield and searchfield is "FriendlyName".

The datacard is a single line of text. Datacard's datafield and display name matches the column name in the SP list, so does default: ThisItem.'Servers to install onto'. 

The update property.... I have tried so many... here is a few: 

 

Text(ComboBox26.Selected.FriendlyName)

ComboBox26.Selected.FriendlyName

Combobox26.SelectedItems

I also tried a Concat....

 

NOTHING IS SAVING! WHY?!

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

    Hi @dixonbridgeta ,

    Can you please post (in Text)

    • The Items of the Combo Box
    • The DefaultSelectedItems of the Combo Box
    • The Update of the Data Card
    • The name and type of field it is writing back to (if Choice is it single or multi-value)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @dixonbridgeta concat was the right answer. Try the below on the Update property of the DataCard:

     

     

    Concat(
     ComboBox26.SelectedItems,
     Value, //assumes the data source for your combo box returning a single column table with the default header of "Value"
     ";" //change if you are using a different delimiter, such as a comma ","
    )

     

     

  • dixonbridgeta Profile Picture
    125 on at

    Items: Filter(CMDB_SERVERS,Location = Dropdown3.Selected.Value)

    Defaultselected: empty

    Update: I have tried;

    Text(ComboBox26.Selected.FriendlyName)

    ComboBox26.Selected.FriendlyName

    Combobox26.SelectedItems

     

    field is a single line of text

    datafield: "field_42"

    displayname: DataSourceInfo([@'Application OnBoarding'],DataSourceInfo.DisplayName,"field_42")

  • dixonbridgeta Profile Picture
    125 on at

    tried this as well, didn't work

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

    "didn't work" is not very descriptive @dixonbridgeta . Is there an error message for example?

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

    @dixonbridgeta - i've just seen another super user has responded to your question. I will drop out.

  • dixonbridgeta Profile Picture
    125 on at

    sorry, no error message or anything. Just didn't save to the list.

  • Verified answer
    dixonbridgeta Profile Picture
    125 on at

    Not sure what happened, but it seems like the column was just broken. I made a new one and it is working now although I was trying to avoid doing this because I have to change more fields now.

     

    Thanks though!

  • WarrenBelz Profile Picture
    153,462 Most Valuable Professional on at

    @dixonbridgeta ,

    Importing from Excel with the field_xx underlying names will cause you considerable inconvenience (and confusion) going forward, but that is not your current issue. From what you have posted, your data card Update should be

    Concat(
     Combobox26.SelectedItems,
     FriendlyName,
     ","
    )

    and if this is on an Edit Form, you also need to get the values back into the Combo Box to save existing records, so the DefaultSelectedItems would be

    RenameColumns(
     Split(
     ThisItem.field_42,
     ","
     ),
     "Value",
     "FriendlyName"
    )

    I wrote a blog on this some time back which may be of use to you.

     

    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

     

     

  • dixonbridgeta Profile Picture
    125 on at

    thank you! The forms are set to new though.

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 421

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard