variableConfigSingleSelect - Select first value by default?

Hello Dear App-Specialists,

I used the variableConfigSingleSelect to get specific Row IDs and want to show the data of this IDs in a table - so far, so good.
It would be great to select the first ID in my VCSS by default, to show the customer data when he enters the page, is that possible? I tried the config.selectFirstByDefault from the filter element and it didn’t worked, neither is there a similar functionality described in the manual (https://internal.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/elements/VariableSingleSelectElement.html#configuration-overview)

Is this functionality for the VCSS planned, or is there a hacky workaround? :stuck_out_tongue:

Cheers,
Marcel

Hi Marcel,
you can set a default value for the variable in globals.
https://internal.onedata.de/apps/apps-docs/odml-documentation/AppBuilder/global/Global.html#variable-default-value

1 Like