<?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: Ignore OnOpen trigger when document is opened with bookmark in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163843#M36771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are open to use macros the below may work running on document open instead of clearall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;set bm = ActiveDocument.GetBookmark("BM01")&lt;/P&gt;&lt;P&gt;if bm.Default = true then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if bm.Bookmark.ApplyLayoutState = false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.ClearAll false &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 16:59:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-09T16:59:05Z</dc:date>
    <item>
      <title>Ignore OnOpen trigger when document is opened with bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163841#M36769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm looking for a way to have QV ignore its OnOpen trigger routine when the document is opened via a bookmark link. Most of our documents have OnOpen triggers that involve Clear All (in case the developer left any selections by accident) and then a selection of a time value (yesterday, current month, etc). Unfortunately, these triggers seem to override any bookmarks that should be activated when the user accesses the document through a link - e.g.&lt;/P&gt;&lt;P&gt;qvp://MyQVServer/MyModel.qvw?bookmark=Server\BM01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming this is intended behavior rather than a bug, is there any way around it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specs: QV9 SR2 64 Bit Server 32 Bit clients&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 13:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163841#M36769</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2010-05-25T13:22:45Z</dc:date>
    </item>
    <item>
      <title>Ignore OnOpen trigger when document is opened with bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163842#M36770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Were you ever able to resolve this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 15:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163842#M36770</guid>
      <dc:creator />
      <dc:date>2011-11-09T15:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore OnOpen trigger when document is opened with bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163843#M36771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are open to use macros the below may work running on document open instead of clearall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;set bm = ActiveDocument.GetBookmark("BM01")&lt;/P&gt;&lt;P&gt;if bm.Default = true then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if bm.Bookmark.ApplyLayoutState = false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.ClearAll false &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 16:59:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163843#M36771</guid>
      <dc:creator />
      <dc:date>2011-11-09T16:59:05Z</dc:date>
    </item>
    <item>
      <title>Ignore OnOpen trigger when document is opened with bookmark</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163844#M36772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; In my scenario, I don't know what the bookmark would be -- each user (restricted) would create a bookmark.&amp;nbsp; Is there a way to determine that any bookmark is attempting to be applied? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 02:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-OnOpen-trigger-when-document-is-opened-with-bookmark/m-p/163844#M36772</guid>
      <dc:creator />
      <dc:date>2011-11-11T02:33:01Z</dc:date>
    </item>
  </channel>
</rss>

