Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
eftrotter
Partner - Contributor
Partner - Contributor

JSON theme within Mashup

Hi Qlikers, 

I'm working to create a templatized mashup where the colors can be edited from one set of variables, and have the updates apply to the CSS and theme. 

I've created a theme via https://sensetheme.com/ and uploaded the JSON to the mashup editor. How do I reference the theme within the JSON to get it to apply? 

I've tried within the Javascript: qlik.theme.apply('\theme.json'); but no luck. 

Is what I'm trying to do possible and if so what is the best way of going about it. 

Let me know if I can provide any additional details. 

2 Replies
Christopher_prem

Hi,

    Are you trying it with custom themes extension?

When your theme is ready you will have to import it to QMC> extension and then you will be able to use it from your App

https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/Extensions/Content/Sense_Extensions/c...

 

Thank you

eftrotter
Partner - Contributor
Partner - Contributor
Author

Hi Christopher, 

I would like to be able to add variables to the theme and update the colors as I update the mashup. I don't believe this is possible if I upload it to the qmc. 

Please let me know if I'm incorrectly interpreting your suggestion.