<?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 Single Integration API - Passing a search expression for selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1272784#M26198</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;In my web application I am using iFrames with calls to the single integration API, passing values to select one or more fields, e.g.:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;A class="jive-link-external-small" href="https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID,2" rel="nofollow" target="_blank"&gt;https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID,2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This selects a single field value in a filter pane in the sheet. All well and good. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, you can select a range of values in a filter pane by entering a search expression, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=TagID&amp;gt;146&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first question is, how can you pass this via the single integration API, for example:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;A class="jive-link-external-small" href="https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID" rel="nofollow" target="_blank"&gt;https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=TagID&amp;gt;146&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The above URL doesn't work and I've tried many variations with no success.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My second question is, if it is possible then could it be extended to pass a timestamp range, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=TaskStartTTimestamp&amp;gt;Timestamp#('31-01-2017 17:55:00','DD-MM-YYYY hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My third question is, are there any plans to pass variable values via the API instead of field values? This would solve the problem at a stroke, as the variables could be used in the sheet objects to alter the selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice or shared experiences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2017 14:12:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-01T14:12:06Z</dc:date>
    <item>
      <title>Single Integration API - Passing a search expression for selection</title>
      <link>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1272784#M26198</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;In my web application I am using iFrames with calls to the single integration API, passing values to select one or more fields, e.g.:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;A class="jive-link-external-small" href="https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID,2" rel="nofollow" target="_blank"&gt;https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID,2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This selects a single field value in a filter pane in the sheet. All well and good. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;However, you can select a range of values in a filter pane by entering a search expression, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=TagID&amp;gt;146&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first question is, how can you pass this via the single integration API, for example:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;A class="jive-link-external-small" href="https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID" rel="nofollow" target="_blank"&gt;https://myserver/infaflow/single?appid=myappid&amp;amp;sheet=mysheetid&amp;amp;opt=currsel&amp;amp;select=TagID&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=TagID&amp;gt;146&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The above URL doesn't work and I've tried many variations with no success.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My second question is, if it is possible then could it be extended to pass a timestamp range, such as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=TaskStartTTimestamp&amp;gt;Timestamp#('31-01-2017 17:55:00','DD-MM-YYYY hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My third question is, are there any plans to pass variable values via the API instead of field values? This would solve the problem at a stroke, as the variables could be used in the sheet objects to alter the selected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any advice or shared experiences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 14:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1272784#M26198</guid>
      <dc:creator />
      <dc:date>2017-02-01T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Single Integration API - Passing a search expression for selection</title>
      <link>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1603024#M44630</link>
      <description>&lt;P&gt;Did you find a workaround for this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 07:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1603024#M44630</guid>
      <dc:creator>piersbatchelor_vl</dc:creator>
      <dc:date>2019-07-17T07:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Single Integration API - Passing a search expression for selection</title>
      <link>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1819414#M67181</link>
      <description>&lt;P&gt;Anyone some updates or hints on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to Integration API documentation&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2021/Subsystems/APIs/Content/Sense_ClientAPIs/app-integration-api.htm" target="_blank" rel="noopener"&gt;App Integration API ‒ Qlik Sense for developers&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;For selections containing numeric values and search terms, the text representation should be added within square brackets, as in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="syntax"&gt;[value1]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However, I could not manage to make it work. I tried:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/select/FieldName/1 =&amp;gt; worked, but this is not a search expression&lt;/LI&gt;&lt;LI&gt;/select/FieldName/[1] =&amp;gt; worked, same as above&lt;/LI&gt;&lt;LI&gt;/select/FieldName/[&amp;gt;1] =&amp;gt; did not work&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mk_kmx_0-1625239253319.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/57893i4F258F5913BB0C86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mk_kmx_0-1625239253319.png" alt="mk_kmx_0-1625239253319.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;/select/FieldName/["&amp;gt;1"] =&amp;gt; did not work, same error message&lt;/LI&gt;&lt;LI&gt;/select/FieldName/"&amp;gt;1" =&amp;gt; did not work, same error message&lt;/LI&gt;&lt;LI&gt;/select/FieldName/&amp;gt;1 =&amp;gt; did not work, no error message (expected)&lt;/LI&gt;&lt;LI&gt;/select/FieldName/{&amp;gt;1} =&amp;gt; did not work, no error message&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Example is pretty straightforward, but finally I'd need to use slightly more complicated search expression&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 15:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Single-Integration-API-Passing-a-search-expression-for-selection/m-p/1819414#M67181</guid>
      <dc:creator>mk_kmx</dc:creator>
      <dc:date>2021-07-02T15:30:18Z</dc:date>
    </item>
  </channel>
</rss>

