Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear all,
As mentioned in below reference url i have applied the custom theme ID inside js file of my mashup page but I am getting below error in dev tools as well theme is not getting applied in the mashup page as well:
3)https://community.qlik.com/t5/Design/An-Introduction-to-the-Theme-API/ba-p/1464592
Kindly help.
All right @Tool_Tip,
Is it in Qlik Cloud? If so, the change below worked for me in some extensions.
In your extension files, replace '-' with '_' in every single folder and file. Be careful to rename everything include the code inside your scripts.
A few weeks later Qlik made an update in Qlik Cloud that broke some extensions and that is how I fixed the ones I needed.
Dear Mark,
Thank you for your information.
It is enterprise.
@Tool_Tip Hey! We've created tons of mashups here and we often use qlik.theme.apply, and not app.theme.apply. Did you try qlik.theme.apply?
Cheers
Hi Thomas,
I have tried applying theme using qlik.theme.apply too
What is that id you're using? You should use the theme name, for example.
I have a theme here and I apply it like this:
qlik.theme.apply('nightmode')
I think you're passing the wrong parameter to the apply function
Yes. I tried with theme name as below too:
I have also noticed that I am getting below messages:
But theme is working fine in qliksense
Can you send the theme ZIP file? I can check it for you
Hi Thomas,
File attached,