<?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: Programatically selecting range of data in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107663#M1475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erik thanks for your reply, it's much appreciated. I'm not at my computer at the moment but am I correct in thinking that I can use select values as so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript" style="background: #fafafa; margin-top: 0.5em; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt; app&lt;SPAN class="token punctuation" style="color: #999999;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;field&lt;SPAN class="token punctuation" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;'exampleDate'&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;selectValues&lt;SPAN class="token punctuation" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;/SPAN&gt;qNum&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string" style="color: #b22222;"&gt;"15/01/2018"&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;qNum&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;"18/01/2018"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;qNum&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;"29/01/2018"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token keyword" style="color: #0000ff;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token keyword" style="color: #0000ff;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Sep 2018 18:14:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-08T18:14:50Z</dc:date>
    <item>
      <title>Programatically selecting range of data</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107661#M1473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on a project where I require the functionality to programmatically select data from a qlik object. I am doing this using the &lt;A href="https://help.qlik.com/en-US/sense-developer/2.0/Subsystems/APIs/Content/MashupAPI/Methods/selectValues-method.htm"&gt;selectValues&lt;/A&gt; combined with the data from a field which works great for single items/strings, however, when I want to filter a list of dates, for example, I cannot get this to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can use the &lt;A href="https://help.qlik.com/en-US/sense-developer/2.0/Subsystems/APIs/Content/MashupAPI/Methods/selectValues-method.htm" style="font-size: 13.3333px;"&gt;selectValues&lt;/A&gt; method to query this data? I've tried building an array with the dates &lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;['03/01/2018, 04/01/2018'] however this did not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif; color: #575757;"&gt;&lt;IMG alt="Screen Shot 2018-09-07 at 22.54.25.png" class="jive-image image-1" src="/legacyfs/online/213035_Screen Shot 2018-09-07 at 22.54.25.png" style="height: 164px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, I am open to suggestions on how I can save the state of currentSelectionItems, I have looked over the documentation but cannot seem to find anything suitable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 21:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107661#M1473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-07T21:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically selecting range of data</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107662#M1474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi Ian,&lt;/P&gt;&lt;P&gt;You could use selectValues and the numeric values for the dates. Or you could use search &lt;A href="https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/search-method.htm" title="https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/search-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/search-method.htm&lt;/A&gt;&amp;nbsp; and an expression using &amp;lt;= and &amp;gt;=. If you decide to use search you will also need to call acceotSearch &lt;A href="https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/acceptsearch-method.htm" title="https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/acceptsearch-method.htm"&gt;https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/BackendAPI/acceptsearch-method.htm&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;A href="https://extendingqlik.upper88.com/" title="https://extendingqlik.upper88.com/"&gt;https://extendingqlik.upper88.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2018 04:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107662#M1474</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-09-08T04:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically selecting range of data</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107663#M1475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erik thanks for your reply, it's much appreciated. I'm not at my computer at the moment but am I correct in thinking that I can use select values as so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript" style="background: #fafafa; margin-top: 0.5em; padding-top: 1em; padding-right: 1em; padding-bottom: 1em; font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt; app&lt;SPAN class="token punctuation" style="color: #999999;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;field&lt;SPAN class="token punctuation" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;'exampleDate'&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;selectValues&lt;SPAN class="token punctuation" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;/SPAN&gt;qNum&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string" style="color: #b22222;"&gt;"15/01/2018"&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;qNum&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;"18/01/2018"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;{&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;qNum&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;:&lt;CODE class="language-javascript" data-language="javascript" style="font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN class="token string" style="color: #b22222;"&gt;"29/01/2018"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token keyword" style="color: #0000ff;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token keyword" style="color: #0000ff;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2018 18:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107663#M1475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-08T18:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically selecting range of data</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107664#M1476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;No, thats a text format. The numeric format is a number, as described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;P&gt;&lt;A href="https://extendingqlik.upper88.com/" title="https://extendingqlik.upper88.com/"&gt;https://extendingqlik.upper88.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 06:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107664#M1476</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-09-10T06:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically selecting range of data</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107665#M1477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, man &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; that worked a treat. I had to write a JS function to convert the date from &lt;CODE class="language-javascript" data-language="javascript" style="font-weight: inherit; font-style: inherit; font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN class="token string" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #b22222;"&gt;"15/01/2018" &lt;/SPAN&gt;&lt;/CODE&gt;format to the qlik / excel date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gist to convert values &lt;A href="https://gist.github.com/BrumGB/aa2657abdfb744cedf14be01620f4798"&gt;here&lt;/A&gt; (requires moment and moment duration)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 11:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Programatically-selecting-range-of-data/m-p/107665#M1477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-10T11:11:26Z</dc:date>
    </item>
  </channel>
</rss>

