Hi all,
I have an app that lets people quote parts for customers. I am able to successfully create, save and load quotes - but have an issue when I try to edit them.
The details of a quote are loaded into the app as collections. I have a collection called colEditBlowerDetails for when I am editing a quote. There is a ComboBox called "BlowerModel" which brings in the previously selected blower. When I try to re-save the quote, I re-collect all the data to save it again. My problem is, when I use ClearCollect the value from my combobox disappears, and nothing is added to the collection for it.
The default selected items property for the ComboBox is [First(colBlowerDetailsEdit).BlowerModel]
My clear collect function updates Blower Model with: ClearCollect(colBlowerDetailsEdit,
{'Quote #': "Test2",
BlowerModel: BlowerModel.Selected.'Product Name' ,
every other item I collect and save is done so successfully.
The combobox's items property is set to: Filter('Scope 2 Products', Text('Product Category') = "Blower")
If I manually enter a blower in the combobox, the ClearCollect function works properly. I only have this issue when trying to copy over the default selected item.
Does anyone know why I am not able to collect my combobox value, and then save it back to dataverse?
The screen before I click "Button" (has the clearcollect formula in it)
The screen right after I click "Button" (has the clearcollect formula in it)
^ Before Clear Collect ^After ClearCollect

Report
All responses (
Answers (