<?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: Limit to number of selections specified on a URL? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2546943#M22837</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39296"&gt;@stascher&lt;/a&gt;&amp;nbsp;&amp;nbsp;I have the same problem. What settings did you change to get it working again?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2026 08:46:30 GMT</pubDate>
    <dc:creator>Danijel</dc:creator>
    <dc:date>2026-04-15T08:46:30Z</dc:date>
    <item>
      <title>Limit to number of selections specified on a URL?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2080613#M18647</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have a extension that grabs the URL of the current app/sheet being viewed and attaches the current selections as an encoded string and then copies the result to the clipboard. The purpose is to allow the user to share a link to the sheet being viewed and have the same selections applied to it when the recipient of the link views it.&amp;nbsp; The resulting string has the form:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://&amp;lt;server&amp;gt;/sense/app/&amp;lt;app-id&amp;gt;/sheet/&amp;lt;sheet-id&amp;gt;/state/analysis/options/clearselections/select/&amp;lt;field-1&amp;gt;/&amp;lt;encoded" target="_blank"&gt;https://&amp;lt;server&amp;gt;/sense/app/&amp;lt;app-id&amp;gt;/sheet/&amp;lt;sheet-id&amp;gt;/state/analysis/options/clearselections/select/&amp;lt;encoded-field-name-1&amp;gt;/&amp;lt;encoded-&lt;/A&gt;field-1-selections&amp;gt;/... etc.&lt;/P&gt;
&lt;P&gt;The field selection encoding process basically wraps each selection value in square brackets, delimits selection values with semicolons and then calls javascript&amp;nbsp;encodeURIComponent() function on the bracketed/delimited segment.&lt;/P&gt;
&lt;P&gt;This seems to work fine until the length of the link hits about 575 characters (about 13 selections) and then the server returns:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTTP Error 400. The request URL is invalid.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've tried it using both Chrome and Edge and get the same result. From what I've read, there shouldn't be a limit to the URL length at least until you hit around 2048 characters.&amp;nbsp; I'm well under that.&amp;nbsp; Is there maybe a limit to the number of selections that can be specified on a URL?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 13:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2080613#M18647</guid>
      <dc:creator>stascher</dc:creator>
      <dc:date>2023-06-06T13:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Limit to number of selections specified on a URL?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2081733#M18652</link>
      <description>&lt;P&gt;Traced the problem to a server setting which limits the size of URL segments.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 14:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2081733#M18652</guid>
      <dc:creator>stascher</dc:creator>
      <dc:date>2023-06-08T14:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limit to number of selections specified on a URL?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2546943#M22837</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/39296"&gt;@stascher&lt;/a&gt;&amp;nbsp;&amp;nbsp;I have the same problem. What settings did you change to get it working again?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 08:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Limit-to-number-of-selections-specified-on-a-URL/m-p/2546943#M22837</guid>
      <dc:creator>Danijel</dc:creator>
      <dc:date>2026-04-15T08:46:30Z</dc:date>
    </item>
  </channel>
</rss>

