<?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 Adding different bookmark per person at sheet selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193243#M54584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Peter, this was really helpful and was exactly what I needed.&lt;/P&gt;&lt;P&gt;That's the actual code that I used in my application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUB ApplyInitialBookmark&lt;BR /&gt; ActiveDocument.Fields("User").Select ActiveDocument.GetApplication.GetProperties.UserName&lt;BR /&gt; ActiveDocument.Fields("Object").Select REPLACE(ActiveDocument.GetLayout.ActiveSheetId,"Document\","")&lt;BR /&gt;&lt;BR /&gt; SET bookmarkNames = ActiveDocument.Fields("Bookmark").GetPossibleValues&lt;BR /&gt;&lt;BR /&gt; IF bookmarkNames.Count&amp;gt;0 THEN&lt;BR /&gt; bookmarkName=bookmarkNames.Item(i).Text&lt;BR /&gt; ActiveDocument.RecallDocBookmark bookmarkName&lt;BR /&gt; END IF&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Fields("User").Clear&lt;BR /&gt; ActiveDocument.Fields("Object").Clear&lt;BR /&gt;END SUB&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2009 20:08:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-21T20:08:45Z</dc:date>
    <item>
      <title>Adding different bookmark per person at sheet selection</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193241#M54582</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;I have built an application that will be used by many people. What I would like to achieve is to have a different bookmark selected at sheet selected for each user (by user I mean Active Directory user). I know this could be achieved by Macro, but could s.o. help me with the code pls.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Maya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2009 22:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193241#M54582</guid>
      <dc:creator />
      <dc:date>2009-12-19T22:33:41Z</dc:date>
    </item>
    <item>
      <title>Adding different bookmark per person at sheet selection</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193242#M54583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depends a bit, which fields to be selected, if it is just the user and you have also the user as field in your application then the easiest might be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUB SelectUser&lt;BR /&gt;LET sUser = ActiveDocument.GetApplication.GetProperties.UserName&lt;BR /&gt;ActiveDocument.Fields("User").Select sUser&lt;BR /&gt;END SUB&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The UserName reverts with the domain, which you probably may have to filterout. You may link this macro with the On Activate Sheet-even or the like&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2009 02:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193242#M54583</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-12-20T02:15:17Z</dc:date>
    </item>
    <item>
      <title>Adding different bookmark per person at sheet selection</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193243#M54584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Peter, this was really helpful and was exactly what I needed.&lt;/P&gt;&lt;P&gt;That's the actual code that I used in my application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUB ApplyInitialBookmark&lt;BR /&gt; ActiveDocument.Fields("User").Select ActiveDocument.GetApplication.GetProperties.UserName&lt;BR /&gt; ActiveDocument.Fields("Object").Select REPLACE(ActiveDocument.GetLayout.ActiveSheetId,"Document\","")&lt;BR /&gt;&lt;BR /&gt; SET bookmarkNames = ActiveDocument.Fields("Bookmark").GetPossibleValues&lt;BR /&gt;&lt;BR /&gt; IF bookmarkNames.Count&amp;gt;0 THEN&lt;BR /&gt; bookmarkName=bookmarkNames.Item(i).Text&lt;BR /&gt; ActiveDocument.RecallDocBookmark bookmarkName&lt;BR /&gt; END IF&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.Fields("User").Clear&lt;BR /&gt; ActiveDocument.Fields("Object").Clear&lt;BR /&gt;END SUB&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 20:08:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-different-bookmark-per-person-at-sheet-selection/m-p/193243#M54584</guid>
      <dc:creator />
      <dc:date>2009-12-21T20:08:45Z</dc:date>
    </item>
  </channel>
</rss>

