<?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 SelectValues method is not working in my Mashup in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/SelectValues-method-is-not-working-in-my-Mashup/m-p/1686735#M12524</link>
    <description>&lt;P&gt;Hello Friends,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating one mashup, where I am trying to create multi-select dropdown after fetching data from applist method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After creating dropdown, when i am trying to apply multiple filters using SelectValues method, it is not happening, it is not giving me any error but nothing is happening,&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;$( "#Filter1_Button" ).click( function () {&lt;BR /&gt;var str = [];&lt;BR /&gt;$('#Filter1 :selected').each(function(i, selectedElement) {&lt;BR /&gt;// str[i] = "{qText:'" + $(selectedElement).val() + "'}";&lt;BR /&gt;// str[i] = '"' + $(selectedElement).val() + '"';&lt;BR /&gt;str[i] = $(selectedElement).val();&lt;BR /&gt;});&lt;BR /&gt;// var fil = "["+str.join()+"]";&lt;BR /&gt;&amp;nbsp;var fil = str.join();&lt;BR /&gt;&lt;BR /&gt;console.log(fil);&lt;BR /&gt;app1.field('Labels').selectValues([fil],true, true);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I am hardcoding values in the select values method, it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:54:56 GMT</pubDate>
    <dc:creator>agni_gold</dc:creator>
    <dc:date>2024-11-16T02:54:56Z</dc:date>
    <item>
      <title>SelectValues method is not working in my Mashup</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SelectValues-method-is-not-working-in-my-Mashup/m-p/1686735#M12524</link>
      <description>&lt;P&gt;Hello Friends,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating one mashup, where I am trying to create multi-select dropdown after fetching data from applist method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After creating dropdown, when i am trying to apply multiple filters using SelectValues method, it is not happening, it is not giving me any error but nothing is happening,&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is my code :&amp;nbsp;&lt;/P&gt;&lt;P&gt;$( "#Filter1_Button" ).click( function () {&lt;BR /&gt;var str = [];&lt;BR /&gt;$('#Filter1 :selected').each(function(i, selectedElement) {&lt;BR /&gt;// str[i] = "{qText:'" + $(selectedElement).val() + "'}";&lt;BR /&gt;// str[i] = '"' + $(selectedElement).val() + '"';&lt;BR /&gt;str[i] = $(selectedElement).val();&lt;BR /&gt;});&lt;BR /&gt;// var fil = "["+str.join()+"]";&lt;BR /&gt;&amp;nbsp;var fil = str.join();&lt;BR /&gt;&lt;BR /&gt;console.log(fil);&lt;BR /&gt;app1.field('Labels').selectValues([fil],true, true);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I am hardcoding values in the select values method, it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SelectValues-method-is-not-working-in-my-Mashup/m-p/1686735#M12524</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2024-11-16T02:54:56Z</dc:date>
    </item>
  </channel>
</rss>

