<?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: Parse field selection back to URL? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79200#M5271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I managed to find a solution using the app.selectionState() &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var selState = app.selectionState( );&lt;/P&gt;&lt;P&gt;var listener = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; selState.OnData.unbind( listener );&lt;/P&gt;&lt;P&gt;var fieldSelections = selState.selections;&lt;/P&gt;&lt;P&gt; };&lt;/P&gt;&lt;P&gt;&amp;nbsp; selState.OnData.bind( listener );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2018 08:58:00 GMT</pubDate>
    <dc:creator>hacr</dc:creator>
    <dc:date>2018-04-05T08:58:00Z</dc:date>
    <item>
      <title>Parse field selection back to URL?</title>
      <link>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79198#M5269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if this is possible? I found this post dealing with URL-parameters and how to parse them ti Qlik API. Is it somehow possible to do it the opposite way? Setting a field and then update the URL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-17451"&gt;Passing field selections in Qliksense Mashup through HTML URL&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:39:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79198#M5269</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-03-23T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parse field selection back to URL?</title>
      <link>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79199#M5270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some playing around I found the solution to parse it back into the URL by using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var url = [location.protocol, '//', location.host, location.pathname].join('');&lt;/P&gt;&lt;P&gt;window.history.replaceState({}, url, "?" + "parameter=");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the "parameter=" to be dynamic and read those information from the filter/fields using the API. Any suggestions or links how to Retreive the selected values of a filter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 11:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79199#M5270</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-04-04T11:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parse field selection back to URL?</title>
      <link>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79200#M5271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I managed to find a solution using the app.selectionState() &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var selState = app.selectionState( );&lt;/P&gt;&lt;P&gt;var listener = function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; selState.OnData.unbind( listener );&lt;/P&gt;&lt;P&gt;var fieldSelections = selState.selections;&lt;/P&gt;&lt;P&gt; };&lt;/P&gt;&lt;P&gt;&amp;nbsp; selState.OnData.bind( listener );&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Parse-field-selection-back-to-URL/m-p/79200#M5271</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-04-05T08:58:00Z</dc:date>
    </item>
  </channel>
</rss>

