<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Retrieve the currently applied theme on Mashup not working in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1827943#M15411</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can i get a example i have a task that is related to this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;need the applied theme ID from the application &amp;amp; apply it on my mashup&lt;BR /&gt;In mashup it returns : &lt;SPAN class="name"&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-string value"&gt;"sense"&lt;BR /&gt;&lt;/SPAN&gt;which is not the theme i have applied i have multiple applications linked, want to do di dynamically&lt;BR /&gt;&lt;BR /&gt;app.theme.getApplied().then(function(qtheme){&lt;BR /&gt;console.log( 'Current theme' , qtheme);&lt;BR /&gt;});&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 11:06:42 GMT</pubDate>
    <dc:creator>ajaykakkar93</dc:creator>
    <dc:date>2021-08-11T11:06:42Z</dc:date>
    <item>
      <title>Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1822467#M15255</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to build a mashup that allows the user to cycle between the QlikSense apps and display the theme applied to the QlikSense app.&lt;/P&gt;&lt;P&gt;I can open the apps and cycle between them, however when I use the method&amp;nbsp;a&lt;STRONG&gt;pp.theme.getApplied &lt;/STRONG&gt;it always retrieves a JSON with the default theme (sense), although my custom theme is set in QlikSense.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var app = qlik.openApp(appId, config);&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;app.theme.getApplied().then(function(qtheme){&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;console.log(qtheme);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Using the&amp;nbsp;&lt;STRONG&gt;qlik.getThemeList()&lt;/STRONG&gt; method displays all the themes, including my custom themes, so I can confirm that my theme is properly installed.&lt;/P&gt;&lt;P&gt;Is there any other method I should be using or should I use the API in other way?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 15:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1822467#M15255</guid>
      <dc:creator>gabineaq</dc:creator>
      <dc:date>2021-07-15T15:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823173#M15280</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16918"&gt;@gabineaq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance are you using qlik.theme.apply('themenameid');?&lt;/P&gt;
&lt;P&gt;Please refer to the following documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/ThemeAPI/ThemeAPI.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/ThemeAPI/ThemeAPI.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Kind Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 19:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823173#M15280</guid>
      <dc:creator>NadiaB</dc:creator>
      <dc:date>2021-07-19T19:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823179#M15281</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22488"&gt;@NadiaB&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the apps and their associated themes.&amp;nbsp; For example, in QlikSense App1 uses customTheme1, App2 uses customTheme2, App3 uses default theme. I can get the app, the objects, but I can't get the themes set by the admin in QlikSense.&amp;nbsp; Using&amp;nbsp;&lt;STRONG&gt;app.theme.getApplied()&amp;nbsp;&lt;/STRONG&gt;always returns the default theme - sense, not my custom themes: customTheme2, etc.&lt;/P&gt;&lt;P&gt;I have consulted the linked documentation and according to it&lt;STRONG&gt;&amp;nbsp;app.theme.getApplied()&amp;nbsp;&lt;/STRONG&gt;should get&amp;nbsp; the currently applied theme. As far as I understand, it should get the theme set by the user in QlikSense.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll use&amp;nbsp;&lt;STRONG&gt;qlik.theme.apply('themenameid');&amp;nbsp;&lt;/STRONG&gt;after I will get the id of the theme associated to the application.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 20:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823179#M15281</guid>
      <dc:creator>gabineaq</dc:creator>
      <dc:date>2021-07-19T20:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823501#M15289</link>
      <description>&lt;P&gt;Is there a way or API method that displays&amp;nbsp; the existing Apps and the themes associated with them?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 06:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1823501#M15289</guid>
      <dc:creator>gabineaq</dc:creator>
      <dc:date>2021-07-21T06:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1824541#M15310</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92567"&gt;@Gabi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/62620"&gt;@Nadia&lt;/a&gt;&amp;nbsp;is correct. In a mashup, the theme always defaults to the Qlik Sense default theme, not the one applied inside the app in the hub.&lt;/P&gt;
&lt;P&gt;Therefore you need to first apply the theme in the mashup ( &lt;SPAN&gt;qlik.theme.apply('themenameid'); )&amp;nbsp;&lt;/SPAN&gt;to be able to get it with&amp;nbsp;&lt;STRONG&gt;app.theme.getApplied()&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As far as I am aware, there is no method directly available in the Capability APIs to fetch the theme applied in the hub. You would need to use the Engine API (GetObject()) to get the object of type "appprops" and perform a GetProperties() if you want to do that.&lt;/P&gt;
&lt;P&gt;&lt;A title="https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-Doc-GetObject.html" href="https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-Doc-GetObject.html" target="_blank" rel="noreferrer noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-Doc-GetObject.html&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;A title="https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-GenericObject-GetProperties.html" href="https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-GenericObject-GetProperties.html" target="_blank" rel="noreferrer noopener"&gt;https://help.qlik.com/en-US/sense-developer/November2020/apis/EngineAPI/services-GenericObject-GetProperties.html&lt;/A&gt;​​​​​​​&lt;/DIV&gt;
&lt;P&gt;You can use the browser devtools in the hub when viewing the app properties to understand what is the workflow.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1824541#M15310</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-07-26T14:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve the currently applied theme on Mashup not working</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1827943#M15411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can i get a example i have a task that is related to this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;need the applied theme ID from the application &amp;amp; apply it on my mashup&lt;BR /&gt;In mashup it returns : &lt;SPAN class="name"&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-string value"&gt;"sense"&lt;BR /&gt;&lt;/SPAN&gt;which is not the theme i have applied i have multiple applications linked, want to do di dynamically&lt;BR /&gt;&lt;BR /&gt;app.theme.getApplied().then(function(qtheme){&lt;BR /&gt;console.log( 'Current theme' , qtheme);&lt;BR /&gt;});&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 11:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-the-currently-applied-theme-on-Mashup-not-working/m-p/1827943#M15411</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2021-08-11T11:06:42Z</dc:date>
    </item>
  </channel>
</rss>

