I am trying to get a combobox to populate with the data from a column in a BAQ so that the result can be used to filter, but when I preview the dashboard the combobox is disabled which I presume it means it’s not being populated
This is the setup I currently have
Hey Steve, what you filled out looks good. Did you also make sure to enter a value in the EpBinding field? That’s usually the culprit when a control is disabled.
Yes I did, figured out why it was disabled, didn’t have “Key Field” ticked
How ever the combo is still not populating
The BAQ used to popluate it is the same as the one used for the dashboard, do I need to trigger the BAQ on Create to get it populate?
I recommend debugging this with the DevTools (Network tab). The first time you click the Combo Box’s down arrow, it should call ExecuteByID. If you don’t see that call, it’s likely a binding issue. Be careful when binding to TransView, you’ll need to initialize it yourself if it’s a custom App.
“Key Field”, yes, will set the control to enabled by default… but this setting is primarily supposed to be used for key identifying columns in a dataview that identify the row/record. Part.PartNum for example.
A combobox NEEDs a binding. It is programmed to store a value (the value selected by the user). If you don’t have a binding, it doesn’t have anywhere to store their selection.