<?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: Container object always show the first chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267209#M100327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's simple - always select the first chart before saving then...&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise maybe it could work if you use an OnOpen trigger with the ActivateObject action. (have not tried it myself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;/Gandalf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 12:55:07 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2012-02-09T12:55:07Z</dc:date>
    <item>
      <title>Container object always show the first chart</title>
      <link>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267208#M100326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two charts in container object. i want to show the first chart as default always.&lt;/P&gt;&lt;P&gt;But if i select the second chart and save the document and open again it is showing the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want show the first chart as default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267208#M100326</guid>
      <dc:creator />
      <dc:date>2012-02-09T12:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Container object always show the first chart</title>
      <link>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267209#M100327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's simple - always select the first chart before saving then...&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise maybe it could work if you use an OnOpen trigger with the ActivateObject action. (have not tried it myself)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;/Gandalf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 12:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267209#M100327</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2012-02-09T12:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Container object always show the first chart</title>
      <link>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267210#M100328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For setting the default index of the container when opening the document, create a new action as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the main menu, go to Settings\Document Properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the Document properties window, go to the Triggers tab, click on the OnOpen option in the Document Event Triggers window and click on the Edit Action button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the Actions window, add a new External\Run Macro action and then enter the macro name SetContainerIndexDefault&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this macro for setting the default index. Note that you must replace "CT06" with the Object Id chosen to be the default in your container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub SetContainerIndexDefault&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set ContainerObj= ActiveDocument.GetSheetObject("CT06")&lt;/P&gt;&lt;P&gt;Set ContainerProp=ContainerObj.GetProperties&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ActiveChartIndex=0&lt;/P&gt;&lt;P&gt;ContainerProp.SingleObjectActiveIndex = ActiveChartIndex&lt;/P&gt;&lt;P&gt;ContainerObj.SetProperties ContainerProp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="59012" alt="Default_index_container.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/59012_Default_index_container.PNG.png" style="width: 620px; height: 202px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 19:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Container-object-always-show-the-first-chart/m-p/267210#M100328</guid>
      <dc:creator />
      <dc:date>2014-05-16T19:58:39Z</dc:date>
    </item>
  </channel>
</rss>

