<?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: How to copy bookmark with expression? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1542247#M9996</link>
    <description>&lt;P&gt;The set expression is actually not part of the bookmark properties, but there is a method on the App class that you can access it with. It's called "App.GetSetAnalysis". The method is available in the latest nuget package, but it doesn't seem to have made its way into the reference documentation from what I can see.&lt;/P&gt;
&lt;P&gt;The signature of the method looks like this:&lt;/P&gt;
&lt;PRE&gt;string App.GetSetAnalysis(string stateName, string bookmarkId)&lt;/PRE&gt;
&lt;P&gt;And if you are not using alternate states, you would typically set "stateName" to "$".&lt;/P&gt;</description>
    <pubDate>Mon, 11 Feb 2019 10:59:24 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2019-02-11T10:59:24Z</dc:date>
    <item>
      <title>How to copy bookmark with expression?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1539047#M9951</link>
      <description>&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;I am using .Net SDK and trying to copy user's bookmark. Almost fine except that expression is not available to copy at all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Missing Expression" style="width: 568px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5127i09615541D364C7E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Missing Expression" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Missing Expression&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var local = Qlik.Engine.Location.FromUri(new Uri(qlikSettings.WSSUrl));
local.AsDirectConnection("XXX", "XXX", extendedSecurityEnvironment: false);

var App = local.GetAppIdentifiers().Where(a =&amp;gt; a.AppId == appId).FirstOrDefault();

IEnumerable&amp;lt;BookmarkObjectViewListContainer&amp;gt; listBookmarks;

using (var doc = local.App(App))
{
	listBookmarks = doc.GetBookmarkList().Items;
}&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5130iD7AF4D4624BE587F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a possibility to get saved bookmark expression?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1539047#M9951</guid>
      <dc:creator>jelindbe</dc:creator>
      <dc:date>2024-11-16T06:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy bookmark with expression?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1542247#M9996</link>
      <description>&lt;P&gt;The set expression is actually not part of the bookmark properties, but there is a method on the App class that you can access it with. It's called "App.GetSetAnalysis". The method is available in the latest nuget package, but it doesn't seem to have made its way into the reference documentation from what I can see.&lt;/P&gt;
&lt;P&gt;The signature of the method looks like this:&lt;/P&gt;
&lt;PRE&gt;string App.GetSetAnalysis(string stateName, string bookmarkId)&lt;/PRE&gt;
&lt;P&gt;And if you are not using alternate states, you would typically set "stateName" to "$".&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 10:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1542247#M9996</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-02-11T10:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy bookmark with expression?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1542890#M10004</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp;It reads bookmark expression!&lt;/P&gt;&lt;P&gt;How do I set&amp;nbsp;expression back using this method? Will it be set to same user? How is it possible to understand to&amp;nbsp;which particular user original bookmark belongs?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 10:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-copy-bookmark-with-expression/m-p/1542890#M10004</guid>
      <dc:creator>jelindbe</dc:creator>
      <dc:date>2019-02-12T10:42:06Z</dc:date>
    </item>
  </channel>
</rss>

