<?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: Get bookmark name by macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473846#M176996</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;&lt;/P&gt;&lt;P&gt;Is it possible to pass the bookmark name and get the ID of the bookmark?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 13:13:42 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2014-09-23T13:13:42Z</dc:date>
    <item>
      <title>Get bookmark name by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473845#M176995</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;is it possible with macro code to get the current Bookmark name applied in a qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aim is to catch the applied bookmark, to add a selection in field and then to replace the same bookmark with new selection (bookmark + new field selection).&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Davide &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 16:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473845#M176995</guid>
      <dc:creator />
      <dc:date>2013-11-21T16:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get bookmark name by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473846#M176996</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;&lt;/P&gt;&lt;P&gt;Is it possible to pass the bookmark name and get the ID of the bookmark?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 13:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473846#M176996</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2014-09-23T13:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get bookmark name by macro</title>
      <link>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473847#M176997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;sub run&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; vBMMaxNum=ActiveDocument.GetVariable("vBMMaxNum").GetContent.String&lt;BR /&gt; dim IterNo&lt;BR /&gt; dim vBMID&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; IterNo=vBMMaxNum&lt;BR /&gt; DO&amp;nbsp; &lt;BR /&gt; if IterNo&amp;lt;10 then&lt;BR /&gt;&amp;nbsp; vBMID="BM0"&amp;amp;IterNo&lt;BR /&gt; else &lt;BR /&gt;&amp;nbsp; vBMID="BM"&amp;amp;IterNo&lt;BR /&gt; end if&lt;BR /&gt; BMName = vBMID &lt;BR /&gt; if ActiveDocument.GetBookmark(vBMID).Default = true then&lt;BR /&gt;&amp;nbsp; vBMMaxNum=IterNo&lt;BR /&gt; end if&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp; IterNo=IterNo+1&lt;BR /&gt; Loop While (IterNo&amp;lt;=2000)&lt;BR /&gt;&amp;nbsp; ActiveDocument.GetVariable("vBMMaxNum").SetContent vBMMaxNum, True&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;end&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sub &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to loop throw possible bookmarks, checking if the bookmark exists. If the bookmark exists u can compare its name with a given name. Bookmark names must be uniq.&amp;nbsp; This method works on local pc and doesn't work in AJAX. It should work through "open in server"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-bookmark-name-by-macro/m-p/473847#M176997</guid>
      <dc:creator>zippo_btl</dc:creator>
      <dc:date>2017-09-01T08:35:53Z</dc:date>
    </item>
  </channel>
</rss>

