cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mennoov99
New Member

After choosing record from browsegallery that contains combobox value is not passed to sharepoint if combobox value is not changed

Hi PowerApps users,

 

After selecting a record in Browsegallery and submitting this record, values from combo boxes are not written in SP.

 

As values I have:

 

- Data Card Default= BrowseGallery.Selected.'Column Name'

- Data Card Update = ComboBox1.Selected.'Column Name'

- DataCardValue Default = ComboBox1.Selected.'Column Name'

- Combobox1 = [Browsegallery.Selected.'Column Name']

 

What do I have to change so that the combobox value is also in SharePoint if it is not changed after opening selected record from browsegallery?

 

Thanks in advance!

1 REPLY 1
RandyHayes
Super User
Super User

@Mennoov99 

If the underlying column in your datasource is a Choice column, then you will need to supply a record for the update.

If your BrowseGallery is supplying the record you are editing (assuming based on the "DataCard" in your post that this is in an EditForm), then your Item property of the Form should be BrowseGallery.Selected

Then, the Items property of the Combobox should be Choices(yourDataSource.ColumnName)

Your Default property should be ThisItem.'Column Name'

Your Update property should be Combobox1.Selected

The DefaultSelectedItems property of the combobox should be: Parent.Default

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,718)