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 / Combo box Not Saving t...
Power Apps
Answered

Combo box Not Saving to SharePoint From Several Other Lists

(0) ShareShare
ReportReport
Posted on by 14

I have form that has a combo box that looks up names and employee numbers (fills another card). It will save to the sharepoint list but when in edit mode the fields are blank. I have 3 fields like this. 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @KHenderson ,

    Which type column do you use to store the ComboBox Selected value? Text column or Choice type column or Person type column?Could you please share a bit more about the formula you typed within the Items property of the ComboBox?

     

    1. If you use Normal Text type column to store the ComboBox Selected value:

    Set the Update property of the Data card which contains the ComboBox to following:

     

    ComboBox1.Selected.ColumnName

     

    Set the DefaultSelectedItems property of the ComboBox to following:

     

    {
     ColumnName: ThisItem.SPListTextColumn
    }

     

    Note: The ColumnName represents the column you used as Display value within the ComboBox.

     

    2. If you use Choice type column to store the ComboBox Selected value:

    Set the Update property of the Data card which contains the ComboBox to following:

     

    {
     Value: ComboBox1.Selected.ColumnName
    }

     

    Set the DefaultSelectedItems property of the ComboBox to following:

     

    {
     ColumnName: ThisItem.SPListChoiceColumn.Value
    }

     

    Note: The ColumnName represents the column you used as Display value within the ComboBox.

     

    3. If you use Person type column to store the ComboBox Selected value:

    Set the Update property of the Data card which contains the ComboBox to following:

     

    {
     Claims: "i:0#.f|membership|" & Lower(LookUp(Office365Users.SearchUser(), DisplayName = ComboBox1.Selected.ColumnName, Mail)),
     DisplayName: ComboBox1.Selected.ColumnName,
     Email: LookUp(Office365Users.SearchUser(), DisplayName = ComboBox1.Selected.ColumnName, Mail),
     Department: "", 
     JobTitle:"", 
     Picture:""
    }

     

    Set the DefaultSelectedItems property of the ComboBox to following:

     

    {
     ColumnName: ThisItem.SPListPersonColumn.DisplayName
    }

     

    Note: The ColumnName represents the column you used as Display value within the ComboBox.

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

  • KHenderson Profile Picture
    14 on at

    Greetings,

    Thank you for the help I think I am almost there. I would like to store/save my ComboBox Selected values Text(columns) and Number(columns). My Combobox items property is connected to a SharePoint collection(Lists are independent of Office 365).

    I am trying to get datacard11=John Doe, datacard12=1 to save and be able to save in edit mode. The second value is not keeping its value it is blank in the edit mode. 

     

    SharePoint List/Collection 

    FullName    EmployeeID

    John Doe    1

    Jim Bob       2

    Ect…            

     

     

    *This works for a single selection but I am trying to get the name to one Card and the number in another Card(From SharePoint List). 

    Worked

    update:ComboBox1.Selected.ColumnName

    DefaultSelectedItems: {
    ColumnName: ThisItem.SPListTextColumn
    }

     

     

     

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @KHenderson ,

    Could you please share a screenshot about your Edit form?

    Do you mean that the two ComboBox Items property connect to same SP Collection/List?

    Could you please share more details about the formula typed within the Items property of the second ComboBox?

     

    I have made a test on my side, please consider take a try with the following workaround:

    Set the Items property of the first ComboBox to following:

    Distinct('SP Collection', FullName)

    set the Result as display value within the ComboBox.

    Set the DefaultSelectedItems property of the ComboBox to following:

    {
     Result: ThisItem.FullNameColumn
    }
    

    Set the Update property of the Data card (DataCard11) which contains the first ComboBox to following:

    FirstComboBox.Selected.Result

     

    Set the Items property of the second ComboBox to following:

    Distinct('SP Collection', EmployeeID)

    Set the DefaultSelectedItems property of the ComboBox to following:

    If(
     EditForm1.Mode = FormMode.New,
     {
     Result: LookUp('SP Collection', FullName = FirstComboBox.Selected.Result, EmployeeID)
     },
     {
     Result: ThisItem.EmployeeIDColumn
     }
    )

    Set the Update property of the Data card (DataCard12) which contains second ComboBox to following:

    SecondComboBox.Selected.Result

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard