<?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: Cloning a bookmark from one app to another in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033196#M18035</link>
    <description>&lt;P&gt;Hi, unfortunately cloning the app is not an option. I'll see if I can create a bookmark from scratch.&lt;/P&gt;
&lt;P&gt;I would have thought it would be possible to get the properties of an existing bookmark and then create a new bookmark object and assign to it the same properties.&lt;/P&gt;
&lt;P&gt;Regardless, thanks for the help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2023 08:34:07 GMT</pubDate>
    <dc:creator>fenjas72</dc:creator>
    <dc:date>2023-02-02T08:34:07Z</dc:date>
    <item>
      <title>Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2032896#M18032</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is it possible to clone an existing bookmark from one app to another? I'm trying to do this using the Qlik Sense .NET SDK. I managed to get a bookmark using GetGenericBookmark() and re-create it using CreateBookmarkEx() within the same app but when doing so in another app, the bookmark though created lacks all the details i.e. no selections, set expressions, etc so pretty much useless. I'm pretty new to the api and Qlik Sense so I'm still trying to make heads or tails of it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wrote a testing framework that uses bookmarks to return data that I wish to test mainly for data integrity purposes. Since we have multiple apps under different streams, it would be great if somehow we could clone the same bookmark across all apps.&lt;/P&gt;
&lt;P&gt;If this is technically possible, I would really appreciate a working example in c#.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 15:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2032896#M18032</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2023-02-01T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033021#M18033</link>
      <description>Hello ,&lt;BR /&gt;&lt;BR /&gt;Here is a link that gives an option for cloning the app as what you are asking isn't possible.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-to-transfer-an-app-with-its-bookmarks-from-an-environment-to/ta-p/1710467" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/How-to-transfer-an-app-with-its-bookmarks-from-an-environment-to/ta-p/1710467&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Feb 2023 18:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033021#M18033</guid>
      <dc:creator>Ray_Strother</dc:creator>
      <dc:date>2023-02-01T18:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033196#M18035</link>
      <description>&lt;P&gt;Hi, unfortunately cloning the app is not an option. I'll see if I can create a bookmark from scratch.&lt;/P&gt;
&lt;P&gt;I would have thought it would be possible to get the properties of an existing bookmark and then create a new bookmark object and assign to it the same properties.&lt;/P&gt;
&lt;P&gt;Regardless, thanks for the help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 08:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033196#M18035</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2023-02-02T08:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033228#M18037</link>
      <description>&lt;P&gt;Dealing with bookmarks is a "bit" of a pain.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cloning a bookmark is not a simple process and there is no simple solution (as far as im aware). The main problem is the selections. When calling create bookmark method you can pass only the "metadata". Qlik will then get that metadata and create bookmark &lt;STRONG&gt;based on the current selections. &lt;/STRONG&gt;And there is no way to pass the selections in the api.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The solution i have is to get the expression/set analysis that is in the bookmark metadata, "convert" it to field &amp;lt;-&amp;gt; value pairs (if any), get all the expressions used when the bookmark is created (if any) and after that apply the selections (one by one).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the selections are applied then you can create bookmark (by passing the metadata) and the new bookmark will &lt;STRONG&gt;technically&lt;/STRONG&gt; be clone/copy of the existing bookmark.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ive made an enigma.js mixin that should implement this workflow. Its JS code but can gives you an idea of the process&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/countnazgul/enigma-mixin/blob/68de1fb18f0718ff9a1f652348d8e14e9fd0cc6a/src/mixins/doc/bookmarks.ts#L170" target="_self"&gt;https://github.com/countnazgul/enigma-mixin/blob/68de1fb18f0718ff9a1f652348d8e14e9fd0cc6a/src/mixins/doc/bookmarks.ts#L170&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 09:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033228#M18037</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2023-02-02T09:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033238#M18038</link>
      <description>&lt;P&gt;Thanks man, will give it a try! Appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 09:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2033238#M18038</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2023-02-02T09:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2482269#M21264</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124946"&gt;@stefanstoichev123&lt;/a&gt;&amp;nbsp;Hi, somewhat late but since my last post, I built a .NET app, borrowing some of your code, to clone bookmarks amongst other things. It can also mass clone, delete, etc. It's tailored made for our environments but if I'm allowed, I'll tone it down and post it to github one of these days. Occasionally there are some issues with parsing set analysis / expressions but in the most part it works and saves me (us) a ton of work since I often need to clone bookmarks across multiple apps / envs. It also works across different environments ex. from dev to production.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fenjas72_1-1726665151587.png" style="width: 620px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171837i21CACD77DB36A472/image-dimensions/620x535?v=v2" width="620" height="535" role="button" title="fenjas72_1-1726665151587.png" alt="fenjas72_1-1726665151587.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 13:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2482269#M21264</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2024-09-18T13:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2483939#M21316</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216348"&gt;@fenjas72&lt;/a&gt; its great to hear that the approach is working! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S. the tool also looks great! imo i think thats how QS is supposed to be used (apart from the "dashboarding")&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 07:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2483939#M21316</guid>
      <dc:creator>stefanstoichev123</dc:creator>
      <dc:date>2024-09-27T07:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cloning a bookmark from one app to another</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2516683#M22174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216348"&gt;@fenjas72&lt;/a&gt;&amp;nbsp;...&lt;BR /&gt;&lt;BR /&gt;i am struggling with bookmarks and cloning etc...&lt;/P&gt;&lt;P&gt;i was wondering if this app was ever published &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 13:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cloning-a-bookmark-from-one-app-to-another/m-p/2516683#M22174</guid>
      <dc:creator>LeeSmithBtn</dc:creator>
      <dc:date>2025-05-05T13:26:24Z</dc:date>
    </item>
  </channel>
</rss>

