Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

balkamal
New Contributor II

Themes Not working on Qliksense Mashup

Hi everyone,

Qlik Sense Feb-2018 release has feature of applying custom theme.This works perfectly on application. However when a mashup is created, charts and objects still seem to be using the standard Qliksense theme. Please Guide me why custom themes are not working in mashup? Or is there any other thing i need to change/add some where on my Qlik Sense server?

Tags (2)
1 Solution

Accepted Solutions
Highlighted
ErikWetterberg
Honored Contributor

Re: Themes Not working on Qliksense Mashup

Hi,

Try appling the theme with the API call theme.apply.

Erik Wetterberg

3 Replies
Highlighted
ErikWetterberg
Honored Contributor

Re: Themes Not working on Qliksense Mashup

Hi,

Try appling the theme with the API call theme.apply.

Erik Wetterberg

apq
New Contributor II

Re: Themes Not working on Qliksense Mashup

This is correct. The idea is that you are in control what theme should be used in your mashup, and not the app owner.

podikris
New Contributor II

Re: Themes Not working on Qliksense Mashup

Also, you need to give the name of the .qext file as the parameter (Not the name you have given to the theme inside QEXT file)

Example:

if mytheme.qext is the file name, below will be the code

qlik.theme.apply('mytheme').then(function(result) {

          if(result)

              console.log('theme applied!');

          else

              console.warn('could not apply theme!');

     });

[TRIED WITH QLIKSENSE DESKTOP]