<?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 Problem Removing BM in QlikSense MashUp in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-Removing-BM-in-QlikSense-MashUp/m-p/1392913#M8441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a poblem with removing Bookmarks in my MashUp.&lt;/P&gt;&lt;P&gt;I think the problem is, that my click function for deleting doesn' t work. &lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.getList("BookmarkList",function(reply){&lt;/P&gt;&lt;P&gt;console.log(reply);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var counter = 0&lt;/P&gt;&lt;P&gt;$.each(reply.qBookmarkList.qItems, function (key, value){&lt;/P&gt;&lt;P&gt;console.log(value);&lt;/P&gt;&lt;P&gt;$('#bmTable &amp;gt; tbody:last-child').append("&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a id = 'link_"+ counter +"'field='" + value.qInfo.qId + &lt;/P&gt;&lt;P&gt;"' href = '#' class='bmLink'&amp;gt;" + value.qData.title + "&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;" +value.qData.description +"&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;lt;a href = '#' class='bmDelete'&amp;gt;&amp;lt;span class='glyphicon glyphicon-trash' &amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;")&lt;/P&gt;&lt;P&gt;counter +=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$('.bmLink').on('click', function (e){&lt;/P&gt;&lt;P&gt;e.preventDefault();&lt;/P&gt;&lt;P&gt;var elem = $(this);&lt;/P&gt;&lt;P&gt;app.bookmark.apply(elem.attr("field"));&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;$('.bmDelete').on('click', function (a)&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;a.preventDefault();&lt;/P&gt;&lt;P&gt;var elem = $(this);&lt;/P&gt;&lt;P&gt;app.bookmark.remove(elem.attr("field"));&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 12:38:34 GMT</pubDate>
    <dc:creator>claudiadrey</dc:creator>
    <dc:date>2017-08-28T12:38:34Z</dc:date>
    <item>
      <title>Problem Removing BM in QlikSense MashUp</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-Removing-BM-in-QlikSense-MashUp/m-p/1392913#M8441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a poblem with removing Bookmarks in my MashUp.&lt;/P&gt;&lt;P&gt;I think the problem is, that my click function for deleting doesn' t work. &lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.getList("BookmarkList",function(reply){&lt;/P&gt;&lt;P&gt;console.log(reply);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var counter = 0&lt;/P&gt;&lt;P&gt;$.each(reply.qBookmarkList.qItems, function (key, value){&lt;/P&gt;&lt;P&gt;console.log(value);&lt;/P&gt;&lt;P&gt;$('#bmTable &amp;gt; tbody:last-child').append("&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a id = 'link_"+ counter +"'field='" + value.qInfo.qId + &lt;/P&gt;&lt;P&gt;"' href = '#' class='bmLink'&amp;gt;" + value.qData.title + "&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;" +value.qData.description +"&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;lt;a href = '#' class='bmDelete'&amp;gt;&amp;lt;span class='glyphicon glyphicon-trash' &amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;")&lt;/P&gt;&lt;P&gt;counter +=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$('.bmLink').on('click', function (e){&lt;/P&gt;&lt;P&gt;e.preventDefault();&lt;/P&gt;&lt;P&gt;var elem = $(this);&lt;/P&gt;&lt;P&gt;app.bookmark.apply(elem.attr("field"));&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;$('.bmDelete').on('click', function (a)&lt;/SPAN&gt;{&lt;/P&gt;&lt;P&gt;a.preventDefault();&lt;/P&gt;&lt;P&gt;var elem = $(this);&lt;/P&gt;&lt;P&gt;app.bookmark.remove(elem.attr("field"));&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Claudia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 12:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-Removing-BM-in-QlikSense-MashUp/m-p/1392913#M8441</guid>
      <dc:creator>claudiadrey</dc:creator>
      <dc:date>2017-08-28T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Removing BM in QlikSense MashUp</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-Removing-BM-in-QlikSense-MashUp/m-p/1392914#M8442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @claudiadrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you get any error in the console?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you on desktop or server - for desktop I think you need to `doSave` after removing / creating a bookmark so it gets persisted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/aiham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 05:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-Removing-BM-in-QlikSense-MashUp/m-p/1392914#M8442</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2017-08-29T05:49:32Z</dc:date>
    </item>
  </channel>
</rss>

