List builder
The List builder is used for building lists that are not a part of the Qlik Sense app your mashup is connected to.
You access the List builder by clicking Options > Lists > Add list.
Item | Description |
---|---|
Dimensions | Lists all the master dimensions available in the selected app. |
Fields | Lists all fields available in the selected app. |
Measures | Lists all the master measures available in the selected app. |
Field | Lists all dimensions and fields selected for the list. |
Expressions |
Lists the measures and expressions in the list. You can add an expression by clicking the button. |
Frequency mode |
Defines the frequency mode, and is used to calculate the frequency of a value in a list object.
Refers to the qFrequencyMode property in qListObjectDef. |
Rows |
Determines the maximum number of rows received back from the Qlik associative engine. Refers to the qHeight of qInitialDataFetch property in qListObjectDef. |
Callback | Name of your callback. |
Code rendering in Mashup editor
When you have saved your list you can go to the *.js tab and check the code rendered by the Mashup editor. The rendered code is placed at the bottom of the JavaScript file:
//create cubes and lists -- inserted here --
Example: Code rendering of added list
//create cubes and lists -- inserted here --
app.createList({
"qFrequencyMode": "V",
"qDef": {
"qFieldDefs": [
"Status"
]
},
"qExpressions": [],
"qInitialDataFetch": [
{
"qHeight": 20,
"qWidth": 1
}
],
"qLibraryId": null
},StatusList);
//callbacks -- inserted here --
function StatusList(reply, app){}