Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In a typical extension javascript file, a return block contains a definition section which defines the properties for the extension.
The 'HorizList' extension, for example, contains the following code to show a dropdown for 'selection mode'
selection : {
type : "string",
component : "dropdown",
label : "Selection mode",
ref : "selectionMode",
options : [{
value : "NO",
label : "No selections"
}, {
value : "CONFIRM",
label : "Confirm selections"
}, {
value : "QUICK",
label : "Quick selection"
}]
}
What I want to do is populate such a list with applications using a call to:
qlikview.getAppList
which is of course asynchronous... I have tried putting this call before the top return statement, but its callback is fired after the other code is returned, so I see nothing in the list!
I hope I've made sense... any ideas would be much appreciated.
Thanks,
Shane.
Hi Shane
Is this for QlikView or Qlik Sense?
Thanks in advance
-Matt
Hi Matt,
Qlik Sense
Thanks,
Shane.
Awesome, thanks!
I'll have a look and see if we can help you as soon as possible. '
All the best
-Matt