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 / Cannot save combo box
Power Apps
Answered

Cannot save combo box

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Had a combo box in a form that is getting data from a different Sharepoint list than the rest of the form. Thanks to you guys I was able to get it to save correctly using the update function of the data card. 

 

Unfortunately that produced a new problem that I can't seem to solve. Later in the app, the information from that combo box is displayed in another combo box in view mode but can be edited by the user. I can get the combo box to display the previously selected items, I can get it to allow user's to add and remove items..... I CANNOT get it to save back to the Sharepoint list. 

 

Combo box properties currently: 

DefaultSelectedItems: Gallery_Select_Employee_1.Selected.Distribution_Lists

Items: Distinct(Filter('Distribution Lists', Department=CDD_Department_1.Selected.Value),Title)

 

Current save properties: 

 

Patch('Config Sheet', Defaults('Config Sheet'), {
 Full_Name:CT_FullName_1.Text,
 Title:CT_Title_1.Text,
 Cell_Phone:CT_PhoneNumber_1.Text,
 Personal_Email:CT_PersonalEmail_1.Text,
 King_Estate_Email:CT_KE_Email_1.Text,
 Extension:CT_Extension_1.Text,
 Department:CDD_Department_1.SelectedText,
 Supervisor:CT_Supervisor_1.Text,
 Start_Date:Date_StartDate_1.SelectedDate,
 Status:CT_Status_1.Text,
 Microsoft_License:CDD_License_1.SelectedText,
 Revel:Combo_Revel_1.SelectedItems,
 HotSchedules:Combo_HotSchedules_1.SelectedItems,
 NVPOS:CDD_NVPOS_1.SelectedText,
 Computer:CDD_Computer_1.SelectedText,
 Computer_Model:CT_Model_1.Text,
 Computer_Serial:CT_Serial_1.Text,
 Company_Phone:CDD_CompanyPhone_1.SelectedText,
 Change_Log:CT_ChangeLog_1.Text,
 Activation_Date:Date_ActivationDate_1.SelectedDate,
 Deactivation_Date:Date_DeactivationDate_1.SelectedDate,
 Printer_ScantoEmail: Check_ScanToEmail_1.Value,
 G_Drive: Check_GDrive_1.Value,
 Revel_Management_Console: Check_Mgmnt_Console_1.Value,
 HotSchedules_AboveStoreConsole: Check_ASC_1.Value,
 Butterfly: Check_Butterfly_1.Value,
 Cameras: Check_Cameras_1.Value,
 Distribution_Lists: Combo_DL_1
 
});

 

When I run this, it deletes the entire record. No idea why... it doesn't do that when I don't include the Distribution List. 

Have also tried removing the Distribution_Lists from the Patch statement and doing an Update or UpdateIf. Tried pulling everything into a collection first and then transferring data to Sharepoint. 

I'm sure I'm missing something simple.... but any help would be SUPER appreciated. 

Categories:
  • Verified answer
    v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    Could you please share more details of your two SP lists's column type? Choice?look up or what?

    Could you please share more details of your combobox?

     

    This case is Patch Patch-Combobox-to-SharePoint-Choice-Coloum, you can reference it firstly:

    https://powerusers.microsoft.com/t5/General-Discussion/Patch-Combobox-to-SharePoint-Choice-Coloum/m-p/166522

     

    Best Regards.

    Yumia

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard