Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
SantiagoAguilar
Partner - Contributor II
Partner - Contributor II

Custom theme not translating correctly from Qlik sense to mashup

Hi guys, I have a situation where the theme i made for a dashboard in Qlik sense, is not translating at all into the same graphs in Mashups. Any idea why that is?

First image, colors in Qlik Sense

SantiagoAguilar_0-1770915965750.png

Second image, colors in Mashups

SantiagoAguilar_1-1770916075874.png

Any help would be appreciated.

Labels (2)
1 Solution

Accepted Solutions
vighnesh_gawad
Partner - Creator II
Partner - Creator II

are you apply theming your mashup code? you can need to do that as it doesnt take automatically. if you have created mashup using Capability APIs then you can use below code. 

 

 

 

 

qlik.theme.apply('my-theme-id').then(function(result){console.log('theme applied with result: ' + result); });

 

Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub

View solution in original post

4 Replies
yunus_emre
Contributor III
Contributor III

Hi @SantiagoAguilar,

It is about theme setting probably. Mashup gets default theme option. If you have special theme, you may not see in mashup.

You can reach to following screenshot by right click>Share>embed.

yunus_emre_0-1770983475512.png

i hope it works.

SantiagoAguilar
Partner - Contributor II
Partner - Contributor II
Author

Hi @yunus_emre I tried that first, but all graphs had the custom theme set in there aswell.

vighnesh_gawad
Partner - Creator II
Partner - Creator II

are you apply theming your mashup code? you can need to do that as it doesnt take automatically. if you have created mashup using Capability APIs then you can use below code. 

 

 

 

 

qlik.theme.apply('my-theme-id').then(function(result){console.log('theme applied with result: ' + result); });

 

Regards, Vighnesh Gawad
Connect with me on LinkedIn | GitHub
SantiagoAguilar
Partner - Contributor II
Partner - Contributor II
Author

Hi! Here was the solution, i was using the API, but i was not using it after the OpenApp, so i revised the JS code and just moving that was the solution, silly me.

 

Thank you.