<?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 Changing document theme programatically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151983#M29594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this can be done, but if anyone has a solution I'll be pleased to see it.&lt;/P&gt;&lt;P&gt;I would like to change the theme of a document programatically. I don't really care whether that would mean setting/checking a variable in the script or doing something just when the document loads, but I would like to be able to change the theme without having to do it manually.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Oct 2010 16:31:19 GMT</pubDate>
    <dc:creator>roger_stone</dc:creator>
    <dc:date>2010-10-20T16:31:19Z</dc:date>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151983#M29594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this can be done, but if anyone has a solution I'll be pleased to see it.&lt;/P&gt;&lt;P&gt;I would like to change the theme of a document programatically. I don't really care whether that would mean setting/checking a variable in the script or doing something just when the document loads, but I would like to be able to change the theme without having to do it manually.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 16:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151983#M29594</guid>
      <dc:creator>roger_stone</dc:creator>
      <dc:date>2010-10-20T16:31:19Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151984#M29595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found an example to change the Document Theme in the API Guide.&lt;/P&gt;&lt;P&gt;Here is the example:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ActiveDocument.ApplyTheme "A:\Forest.qvt"&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That would need to be in a macro, which you could put in the OnLoad or OnActivate of the main sheet or something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 17:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151984#M29595</guid>
      <dc:creator />
      <dc:date>2010-10-20T17:10:21Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151985#M29596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ninja, that works - though not quite as expected because of the bugs that exist in the theme wizard, but that's another story. The principle ok though - cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 20:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151985#M29596</guid>
      <dc:creator>roger_stone</dc:creator>
      <dc:date>2010-10-20T20:22:53Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151986#M29597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;It works at Document level but not at Sheet level, where this method is simply un-recognized by vbscript engine (v9 SR5 ) even if it's present in API.QVW documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;DOESN'T WORK&lt;/P&gt;&lt;P&gt;ActiveDocument.Sheets("QSH01").applyTheme "C:\Etr\Cruscotto.qvt"&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;WORK&lt;/P&gt;&lt;P&gt;ActiveDocument.applyTheme "C:\Etr\Cruscotto.qvt"&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Any Idea?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 16:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151986#M29597</guid>
      <dc:creator />
      <dc:date>2011-02-17T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151987#M29598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i forgot to mention that If I manually apply the theme at sheet level, it works perfectly, so it's not a matter of theme.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 16:04:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151987#M29598</guid>
      <dc:creator />
      <dc:date>2011-02-17T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151988#M29599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also having trouble applying a theme to one sheet. I tried ActiveSheet() and GetSheetById() and neither did anything with ApplyTheme. I can set the theme for the entire document no problem. Maybe a bug?&lt;/P&gt;&lt;P&gt;EDIT: Just tried it in 10 with the same issue. I'd say this is a bug or at the very least ApplyTheme is not implemented for the Sheet object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 17:18:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151988#M29599</guid>
      <dc:creator />
      <dc:date>2011-02-17T17:18:46Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151989#M29600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NMiller,&lt;/P&gt;&lt;P&gt;I do agree with you , think it's a bug not a missing feature.&lt;/P&gt;&lt;P&gt;Hope QlikTech will fix it, it's not good when you extensively use themes and must force them manually.&lt;/P&gt;&lt;P&gt;The worst side is that themes do not dinamically update "themed" objects when you update the QVT file so this mess is a big, big deal.&lt;/P&gt;&lt;P&gt;Maybe,for tuture releases, an interesting new option could be "LINK TO A THEME" along by the actual "APPLY A THEME".&lt;/P&gt;&lt;P&gt;Thanks for your kind reply, this answered my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 17:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151989#M29600</guid>
      <dc:creator />
      <dc:date>2011-02-17T17:29:46Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151990#M29601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;fabrizioyahoo wrote:&lt;BR /&gt;Hi all,&lt;BR /&gt;It works at Document level but not at Sheet level, where this method is simply un-recognized by vbscript engine (v9 SR5 ) even if it's present in API.QVW documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;I&gt;DOESN'T WORK&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;ActiveDocument.Sheets("QSH01").applyTheme "C:\Etr\Cruscotto.qvt"&lt;BR /&gt;&lt;B&gt;&lt;I&gt;WORK&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;ActiveDocument.applyTheme "C:\Etr\Cruscotto.qvt"&lt;BR /&gt;Any Idea?&lt;BR /&gt;Thanks in advance&lt;BR /&gt; &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing out this bug. It will be fixed in QV10 SR2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 13:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151990#M29601</guid>
      <dc:creator />
      <dc:date>2011-02-21T13:24:14Z</dc:date>
    </item>
    <item>
      <title>Changing document theme programatically</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151991#M29602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I say thank you ... You and all the community members are Wellcome!&lt;/P&gt;&lt;P&gt;Happy Qliking,&lt;/P&gt;&lt;P&gt;Fabrizio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 15:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-document-theme-programatically/m-p/151991#M29602</guid>
      <dc:creator />
      <dc:date>2011-02-21T15:14:56Z</dc:date>
    </item>
  </channel>
</rss>

