<?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: which method can be used for selecting values in multiple dimensions in extensions ??? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806229#M2657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I GOT IT!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Follow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var formatter = new Intl.DateTimeFormat("pt-BR", { month: "short" }),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; month1 = formatter.format(new Date()) ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var monthNames = ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var posicao = monthNames.indexOf(month1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var mesesSelecionados = monthNames.slice(posicao, 12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;app1.field('[messtr]').selectValues( mesesSelecionados, true );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I just use a simple array!!!!! and select another dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Apr 2017 18:18:33 GMT</pubDate>
    <dc:creator>diogoguilhen</dc:creator>
    <dc:date>2017-04-26T18:18:33Z</dc:date>
    <item>
      <title>which method can be used for selecting values in multiple dimensions in extensions ???</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806226#M2654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been developing qliksense extensions for some time. In one of the extensions its required to select multiple values from multiple dimensions and apply as filters from the chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue is one dimension values can be filtered using method :&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="color: #444444; font-family: 'Lucida Console', Monaco, monospace; font-size: 11px;"&gt;self.backendApi.selectValues(dim, [value], true);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2. &lt;SPAN style="color: #444444; font-family: 'Lucida Console', Monaco, monospace; font-size: 11px;"&gt;self.selectValues(dim, [value], true);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is there any method available or any technique that can be used which can apply filters to multiple dimensions at the same time, and then repaint the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 07:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806226#M2654</guid>
      <dc:creator />
      <dc:date>2014-12-31T07:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: which method can be used for selecting values in multiple dimensions in extensions ???</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806227#M2655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;You could use the mashup API and the &lt;A href="http://help.qlik.com/sense/en-us/developer/#../Subsystems/Workbench/Content/BuildingWebsites/API/qlik_field.htm%3FTocPath%3DQlik%2520Sense%2520Workbench%7CAPI%2520reference%7CQlik%2520Sense%2520Mashups%2520API%2520reference%7Cqlik.app.field%7C_____0"&gt;field methods&lt;/A&gt;. To do that you need to reference the mashup API in the define at the beginning of the extension:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206354398007214" jivemacro_uid="_14206354398007214" modifiedtitle="true"&gt;
&lt;P&gt;define(["qlik"], function(qlik) {&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the mashup API in your code:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14206355856192409 jive_macro_code" jivemacro_uid="_14206355856192409" modifiedtitle="true"&gt;
&lt;P&gt;var app = qlik.currApp(this);&lt;/P&gt;
&lt;P&gt;app.field('LastName').selectValues([{qText:'Obama'},{qText:"Bush"}], true, true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 13:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806227#M2655</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-01-07T13:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: which method can be used for selecting values in multiple dimensions in extensions ???</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806228#M2656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And how i can construct this in JS? &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f8f8f8;"&gt;[{qText:&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f8f8f8;"&gt;'Obama'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f8f8f8;"&gt;},{qText:&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue; background-color: #f8f8f8;"&gt;"Bush"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000; background-color: #f8f8f8;"&gt;}]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 12:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806228#M2656</guid>
      <dc:creator>diogoguilhen</dc:creator>
      <dc:date>2017-04-26T12:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: which method can be used for selecting values in multiple dimensions in extensions ???</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806229#M2657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I GOT IT!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Follow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var formatter = new Intl.DateTimeFormat("pt-BR", { month: "short" }),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; month1 = formatter.format(new Date()) ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var monthNames = ['jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez'];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var posicao = monthNames.indexOf(month1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; var mesesSelecionados = monthNames.slice(posicao, 12);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;app1.field('[messtr]').selectValues( mesesSelecionados, true );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I just use a simple array!!!!! and select another dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Apr 2017 18:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/806229#M2657</guid>
      <dc:creator>diogoguilhen</dc:creator>
      <dc:date>2017-04-26T18:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: which method can be used for selecting values in multiple dimensions in extensions ???</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/1603191#M10985</link>
      <description>&lt;P&gt;diogoguilhen,&lt;/P&gt;&lt;P&gt;Super, thankyou&lt;/P&gt;&lt;P&gt;(works perfectly for Single dimension,multiple values passing to&amp;nbsp;&lt;SPAN&gt;selectValues)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 12:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/which-method-can-be-used-for-selecting-values-in-multiple/m-p/1603191#M10985</guid>
      <dc:creator>srilakshmi_as</dc:creator>
      <dc:date>2019-07-17T12:37:14Z</dc:date>
    </item>
  </channel>
</rss>

