<?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: Bookmark API update - save layout in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1865850#M15967</link>
    <description>&lt;P&gt;I don't think you should include all the RPC related stuff such as id, method, handle, etc. All you need is the parameter. All the low level JSON-RPC is handled by the library. Have a look at the example here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FCreateBookmarkEx" target="_blank"&gt;https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FCreateBookmarkEx&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 08:22:22 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2021-12-02T08:22:22Z</dc:date>
    <item>
      <title>Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827189#M15378</link>
      <description>&lt;P&gt;I noticed that the bookmark API does not have the option to save the layout like the out of the box bookmark maker does. Does anyone know how I can suggest it as an update as a parameter?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 17:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827189#M15378</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2021-08-06T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827349#M15385</link>
      <description>&lt;P&gt;I think you need to use the endpoint &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/APIs/EngineAPI/services-Doc-CreateBookmarkEx.html" target="_self"&gt;CreateBookmarkEx&lt;/A&gt; instead of &lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/APIs/EngineAPI/services-Doc-CreateBookmark.html" target="_self"&gt;CreateBookmark&lt;/A&gt;. There is another thread on this topic here (it concerns the .NET SDK, but it's really just an engine API question):&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-How-to-save-layout-when-creating-a-bookmark/td-p/1811822" target="_blank"&gt;https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Sense-NET-SDK-How-to-save-layout-when-creating-a-bookmark/td-p/1811822&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 06:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827349#M15385</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2021-08-09T06:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827489#M15393</link>
      <description>&lt;P&gt;Thank you so much. I am relatively new at using the JSON api (I have worked mostly in the capability API). Would you know of an example of sending this request? The documentation for&amp;nbsp;&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/APIs/EngineAPI/services-Doc-CreateBookmarkEx.html" target="_self" rel="nofollow noopener noreferrer"&gt;CreateBookmarkEx&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;isn't clear to me on what exactly I would send.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 13:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827489#M15393</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2021-08-09T13:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827500#M15394</link>
      <description>&lt;P&gt;The only thing you have to define is a value for the "type" property of the GenericBookmarkProperties instance. Like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "CreateBookmarkEx",
  "handle": 1,
  "params": [
    {
      "qInfo": {
        "qType": "mytype"
      }
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;But you probably want to define some of those properties that are used by the client as well. What I typically do in these cases is to have a look at the websocket traffic in Chrome and reverse engineer from there. This is what I see when I create such a bookmark from the Qlik Sense Client:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
   "delta":true,
   "handle":1,
   "method":"CreateBookmarkEx",
   "params":[
      {
         "qInfo":{
            "qType":"bookmark"
         },
         "qMetaDef":{
            "title":"MyBookmark",
            "description":""
         },
         "creationDate":"2021-08-09T14:17:43.791Z",
         "sheetId":"024afcf7-117e-4265-93f9-54d25bd6cf0a",
         "selectionFields":"Dim1"
      },
      [
         
      ]
   ],
   "id":94,
   "jsonrpc":"2.0"
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Aug 2021 14:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1827500#M15394</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2021-08-09T14:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1865752#M15962</link>
      <description>&lt;P&gt;Thank you so much for the info. I am working on learning enigma and the inner workings. In reference to what I was trying to accomplish before (saving a bookmark with the layout in an extension) I have the code below. Im getting JSON parsing errors so I feel like something is wrong but I can't quite figure it out. Name, description, and sheet are all defined elsewhere. Any help you can provide would be appreciated. I just can't seem to get off the ground. I also tried stringifying the object but no success.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-12-01 at 5.23.49 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67770i5DED5DE8460FB21F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-12-01 at 5.23.49 PM.png" alt="Screen Shot 2021-12-01 at 5.23.49 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 00:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1865752#M15962</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2021-12-02T00:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1865850#M15967</link>
      <description>&lt;P&gt;I don't think you should include all the RPC related stuff such as id, method, handle, etc. All you need is the parameter. All the low level JSON-RPC is handled by the library. Have a look at the example here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FCreateBookmarkEx" target="_blank"&gt;https://qlik.dev/apis/json-rpc/qix/doc#%23%2Fentries%2FDoc%2Fentries%2FCreateBookmarkEx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1865850#M15967</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2021-12-02T08:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmark API update - save layout</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1866123#M15971</link>
      <description>&lt;P&gt;Worked like a charm thanks! Also thank you for that link, it will get some use for sure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 15:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmark-API-update-save-layout/m-p/1866123#M15971</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2021-12-02T15:24:26Z</dc:date>
    </item>
  </channel>
</rss>

