Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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?

1 Solution

Accepted Solutions
5 Replies
ErikWetterberg

Hi,

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

Erik Wetterberg

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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]

Khawar_Hussain
Contributor
Contributor

Thanks ErikWetterberg,

                                               That's working fine.

amonjaras_c40
Luminary
Luminary

Can you tell me where to insert the code shown please?