<?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: Bookmarks don't work/save in mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577367#M10477</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you try creating two bookmarks with that code, is the first one saved?&lt;/P&gt;&lt;P&gt;The problem might be that you don't wait for the bookmark.create before saving. In that case try something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.bookmark.create( title, desc ).then(function(){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; app.doSave();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But of course there might be another problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2019 12:00:55 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2019-05-07T12:00:55Z</dc:date>
    <item>
      <title>Bookmarks don't work/save in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577266#M10471</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I am trying to make a mashup that allows users to create and use bookmarks. Unfortunately it doesn't work when I test it on Qlik Sense Desktop April 2019. The problem is that the bookmarks don't get saved and disappear when you refresh the page.&lt;BR /&gt;&lt;BR /&gt;My code is based on the standard Grid mashup template:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Q1.PNG" style="width: 460px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11543i090D5407DF0C488E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Q1.PNG" alt="Q1.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This looks like this (I added the app consumer sales and an object):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Q2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11544i5E5E147625BB5EC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Q2.PNG" alt="Q2.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;In this mashup I do the following:&lt;BR /&gt;- Click "Bookmarks";&lt;BR /&gt;- Click "Create";&lt;BR /&gt;- Fill in a title and description -&amp;gt; click "Create";&lt;BR /&gt;&lt;BR /&gt;This results in a bookmark called "This doesn't save":&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Q3.PNG" style="width: 194px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11545i93105C6CA500D62C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Q3.PNG" alt="Q3.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Problem is, when I refresh the page I don't see my bookmark anymore:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Q4.PNG" style="width: 205px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11546i44E02DD72C72405F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Q4.PNG" alt="Q4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;I also checked the qBookmarkList where you normally find the bookmarks and they are empty:&lt;BR /&gt;&lt;SPAN class="name"&gt;qBookmarkList&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-object value"&gt;&lt;SPAN class="object-properties-preview"&gt;{&lt;SPAN class="name"&gt;qItems&lt;/SPAN&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="object-value-array"&gt;Array(0)&lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="object-value-object value"&gt;&lt;SPAN class="object-properties-preview"&gt;The strange thing is, sometimes it does work and the bookmarks persist even when I refresh or restart my PC. Can anyone help me understand why this doesn't work (and sometimes does?)&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577266#M10471</guid>
      <dc:creator>cpomeren003</dc:creator>
      <dc:date>2024-11-16T05:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks don't work/save in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577277#M10472</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In Qlik Sense Desktop you need to save the app, since that's where the bookmark is saved.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 10:18:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577277#M10472</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2019-05-07T10:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks don't work/save in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577344#M10476</link>
      <description>&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. I tried saving the app, but it doesn't work. I used it like this:&lt;/P&gt;&lt;P&gt;case 'createBm':&lt;BR /&gt;var title = $( "#bmtitle" ).val(), desc = $( "#bmdesc" ).val();&lt;BR /&gt;app.bookmark.create( title, desc );&lt;BR /&gt;$( '#createBmModal' ).modal( 'hide' );&lt;BR /&gt;//In Qlik Sense Desktop you need to save the app, since that's where the bookmark is saved.&lt;BR /&gt;app.doSave();&lt;BR /&gt;break;&lt;/P&gt;&lt;P&gt;It didn't do anything as far as I can see and I also don't get any errors in the console.&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 11:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577344#M10476</guid>
      <dc:creator>cpomeren003</dc:creator>
      <dc:date>2019-05-07T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks don't work/save in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577367#M10477</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you try creating two bookmarks with that code, is the first one saved?&lt;/P&gt;&lt;P&gt;The problem might be that you don't wait for the bookmark.create before saving. In that case try something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.bookmark.create( title, desc ).then(function(){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; app.doSave();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But of course there might be another problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 12:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577367#M10477</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2019-05-07T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bookmarks don't work/save in mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577373#M10478</link>
      <description>Brilliant, it works!&lt;BR /&gt;&lt;BR /&gt;I also used it when I delete my bookmarks, like this:&lt;BR /&gt;&lt;BR /&gt;app.bookmark.remove(bookmarkId).then(function() {&lt;BR /&gt;app.doSave();&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;This also works. Thanks for all the help, really appreciate it!</description>
      <pubDate>Tue, 07 May 2019 12:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bookmarks-don-t-work-save-in-mashup/m-p/1577373#M10478</guid>
      <dc:creator>cpomeren003</dc:creator>
      <dc:date>2019-05-07T12:07:45Z</dc:date>
    </item>
  </channel>
</rss>

