getThemeList method

Note: STABLE.
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

Introduced Qlik Sense June 2017

Returns

A promise of a list of themes including the ID and the Meta-data name.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.6.9/docs/api/ng/service/$q#the-promise-api.

Example

qlik.getThemeList().then(function(list){
  var str = "";
  list.forEach(function(value) {
    str += value.name + '(' + value.id + ")\n";
  });
  alert(str);
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?