getThemeList method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.getThemeList()
Gets a list of all default and custom themes installed in Qlik Sense.
Version history
Version state | Details |
---|---|
Introduced | Qlik Sense June 2017 |
Parameters
None.
Returns
A promise of a list of themes including the ID and the Meta-data name.
Tip noteFor more information regarding a promise, see The Promise API.
Example
qlik.getThemeList().then(function(list){
var str = "";
list.forEach(function(value) {
str += value.name + '(' + value.id + ")\n";
});
alert(str);
});