<?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 Setting filter values in JavaScript in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124495#M1750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm embedding QlikSense mashups with div integration on an external website. One required feature is to allow the user to save/load filter values. The key/value pairs will be saved on the external site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm half way there, having managed to get current selections like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function saveSelections()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;app1.getList("CurrentSelections", function(reply) {&lt;/P&gt;&lt;P&gt;var mySelectedFields = reply.qSelectionObject.qSelections;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't figure out how to use the API to set filter selections. Any help greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 14:33:10 GMT</pubDate>
    <dc:creator>zrednaz1</dc:creator>
    <dc:date>2018-08-09T14:33:10Z</dc:date>
    <item>
      <title>Setting filter values in JavaScript</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124495#M1750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm embedding QlikSense mashups with div integration on an external website. One required feature is to allow the user to save/load filter values. The key/value pairs will be saved on the external site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm half way there, having managed to get current selections like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function saveSelections()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;app1.getList("CurrentSelections", function(reply) {&lt;/P&gt;&lt;P&gt;var mySelectedFields = reply.qSelectionObject.qSelections;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't figure out how to use the API to set filter selections. Any help greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 14:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124495#M1750</guid>
      <dc:creator>zrednaz1</dc:creator>
      <dc:date>2018-08-09T14:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setting filter values in JavaScript</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124496#M1751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anders,&lt;/P&gt;&lt;P&gt;It is much easier to use a bookmark. Use your own type for it and it won't show up in the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;A href="http://extendingqlik.upper88.com/" title="http://extendingqlik.upper88.com"&gt;http://extendingqlik.upper88.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124496#M1751</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-08-10T13:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting filter values in JavaScript</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124497#M1752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize that bookmarks are a possibility, however, that would mean saving settings on the Qlik server, right? I don't think that is an options for us since we will have users who - are far as Qlik is concerned - are anonymous, but still need to be able to save settings on the external website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I found this app.field.selectValues method which seems to be what I'm looking for: &lt;A href="https://help.qlik.com/en-US/sense-developer/1.1/Subsystems/Workbench/Content/BuildingWebsites/API/Methods/selectValues-method.htm" title="https://help.qlik.com/en-US/sense-developer/1.1/Subsystems/Workbench/Content/BuildingWebsites/API/Methods/selectValues-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/1.1/Subsystems/Workbench/Content/BuildingWebsites/API/Methods/selectValues-m…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 14:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-filter-values-in-JavaScript/m-p/124497#M1752</guid>
      <dc:creator>zrednaz1</dc:creator>
      <dc:date>2018-08-10T14:41:19Z</dc:date>
    </item>
  </channel>
</rss>

