<?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 Date range in QlikSense Server 3.2 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-range-in-QlikSense-Server-3-2/m-p/59468#M3953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sheet in QlikSense Server 3.2 that I need to be able to filter by date range.&amp;nbsp; I've tried all of the daterange pickers I can find in Branch and they all seem to have issues, from not being able to be imported to just displaying the angular js default welcome message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started looking at DateRangePicker (&lt;A href="https://github.com/panchaldixit/Qliksense-DateRangePicker" title="https://github.com/panchaldixit/Qliksense-DateRangePicker"&gt;GitHub - panchaldixit/Qliksense-DateRangePicker&lt;/A&gt;) in the dev hub and can get it to work but only with some unexpected modification.&amp;nbsp; If I add an alert after what I believe is looking for the expanded window to close (the while loop) then the following if statement resolves as true and the update and backend calls run properly.&amp;nbsp; Otherwise it always evaluates to false, so the calendar display closes and nothing happens.&amp;nbsp; The code snippet in question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;while&lt;/SPAN&gt; (&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDataPages&lt;/SPAN&gt;.&lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;length&lt;/SPAN&gt;) {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="209" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDataPages&lt;/SPAN&gt;.&lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;pop&lt;/SPAN&gt;();&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="210" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;SPAN style="color: #24292e; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="211" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;if&lt;/SPAN&gt; (&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDimensionInfo&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qStateCounts&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qSelected&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;0&lt;/SPAN&gt;) {&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="212" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: right;"&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the questions I have are, &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can anyone point me to a date range picker that will working in QlikSense 3.2?&lt;/LI&gt;&lt;LI&gt;If no, can anyone explain the layout object above?&amp;nbsp; I am not entirely sure I am correct on what the while is doing.&lt;/LI&gt;&lt;LI&gt;Can anyone explain why putting a javascript alert between the while and the if would cause the if to evaluate correctly (this feels like an async timing issue to me which makes me think I should be able to register a promise instead of waiting for the while)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 16:31:47 GMT</pubDate>
    <dc:creator>johnmorgan</dc:creator>
    <dc:date>2018-02-06T16:31:47Z</dc:date>
    <item>
      <title>Date range in QlikSense Server 3.2</title>
      <link>https://community.qlik.com/t5/App-Development/Date-range-in-QlikSense-Server-3-2/m-p/59468#M3953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a sheet in QlikSense Server 3.2 that I need to be able to filter by date range.&amp;nbsp; I've tried all of the daterange pickers I can find in Branch and they all seem to have issues, from not being able to be imported to just displaying the angular js default welcome message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started looking at DateRangePicker (&lt;A href="https://github.com/panchaldixit/Qliksense-DateRangePicker" title="https://github.com/panchaldixit/Qliksense-DateRangePicker"&gt;GitHub - panchaldixit/Qliksense-DateRangePicker&lt;/A&gt;) in the dev hub and can get it to work but only with some unexpected modification.&amp;nbsp; If I add an alert after what I believe is looking for the expanded window to close (the while loop) then the following if statement resolves as true and the update and backend calls run properly.&amp;nbsp; Otherwise it always evaluates to false, so the calendar display closes and nothing happens.&amp;nbsp; The code snippet in question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;while&lt;/SPAN&gt; (&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDataPages&lt;/SPAN&gt;.&lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;length&lt;/SPAN&gt;) {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="209" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDataPages&lt;/SPAN&gt;.&lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;pop&lt;/SPAN&gt;();&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="210" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;SPAN style="color: #24292e; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="211" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: left;"&gt;&lt;TABLE class="highlight tab-size js-file-line-container" data-tab-size="8" style="color: #24292e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 14px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0px 10px; font-family: SFMono-Regular, Consolas, &amp;quot;Liberation Mono&amp;quot;, Menlo, Courier, monospace; font-size: 12px; text-align: left;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;if&lt;/SPAN&gt; (&lt;SPAN class="pl-smi"&gt;layout&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qListObject&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qDimensionInfo&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qStateCounts&lt;/SPAN&gt;.&lt;SPAN class="pl-smi"&gt;qSelected&lt;/SPAN&gt; &lt;SPAN class="pl-k" style="color: #d73a49;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="pl-c1" style="color: #005cc5;"&gt;0&lt;/SPAN&gt;) {&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="blob-num js-line-number" data-line-number="212" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; color: rgba(27, 31, 35, 0.3); text-align: right;"&gt;&lt;/TD&gt;&lt;TD class="blob-code-inner blob-code js-file-line" style="padding: 0 10px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the questions I have are, &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Can anyone point me to a date range picker that will working in QlikSense 3.2?&lt;/LI&gt;&lt;LI&gt;If no, can anyone explain the layout object above?&amp;nbsp; I am not entirely sure I am correct on what the while is doing.&lt;/LI&gt;&lt;LI&gt;Can anyone explain why putting a javascript alert between the while and the if would cause the if to evaluate correctly (this feels like an async timing issue to me which makes me think I should be able to register a promise instead of waiting for the while)?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 16:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-range-in-QlikSense-Server-3-2/m-p/59468#M3953</guid>
      <dc:creator>johnmorgan</dc:creator>
      <dc:date>2018-02-06T16:31:47Z</dc:date>
    </item>
  </channel>
</rss>

