Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
This is correct. The idea is that you are in control what theme should be used in your mashup, and not the app owner.
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]
Thanks ErikWetterberg,
That's working fine.
Can you tell me where to insert the code shown please?