queries

  • Common Properties for properties shared with other components.

  • fields to specify the fields to display in the Selection List or Tree.

Specifies the data blocks to be merged in the Selection Tree or Selection List component. (The available data blocks appear at the top of the Toolbox panel in Visual Composer.) See Add Filter Components for more information about merging compatible data blocks in a Selection Tree or Selection List.

dataBlocks 2

Type

Array

Example

queries = ['LimitedProducts', 'ProductInfo'];
SelectionList1.fields = ['State'];

Either syntax below can be used in component script:

queries                    // unqualified
SelectionList1.queries     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.