<?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 can't get qlik.app.field.selectValues(array, toggle, softlock)  to select value by qText value in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/can-t-get-qlik-app-field-selectValues-array-toggle-softlock-to/m-p/2087384#M18718</link>
    <description>&lt;P&gt;I am trying to use qlik.app.field.selectValues(array, toggle, softlock)&amp;nbsp; inside an extension and can't get it to work&lt;/P&gt;
&lt;P&gt;I am doing it as follows.&amp;nbsp; Is it possible?&amp;nbsp; What am I doing wrong&lt;/P&gt;
&lt;P&gt;var qApp = qlik.currApp(this);&lt;/P&gt;
&lt;P&gt;qApp.field('XXXXXX').selectValues([{qText: "11001"}], true, true);&lt;/P&gt;
&lt;P&gt;I have also tried&lt;/P&gt;
&lt;P&gt;qApp.field('XXXXXX').selectValues([{"11001"}], true, true);&lt;/P&gt;
&lt;P&gt;where 11001 is the qtext value and I have blanked out the field name but XXXXXX is the field name&lt;BR /&gt;I can't seem to select the value where the field value or qText value is 11001.&amp;nbsp; Nothing gets selected using the two ways I have tried&lt;BR /&gt;&lt;BR /&gt;This seems to work but the value selected for index 0,1,2 is not what i would have expected&lt;BR /&gt;qApp.field('XXXXXX').select([0, 1, 2], true, true);&lt;BR /&gt;&lt;BR /&gt;And this selects everything&lt;BR /&gt;qApp.field('XXXXXX').selectAll(); selects all&lt;BR /&gt;&lt;BR /&gt;I did not get the app variaible by using qlik.OpenApp&amp;nbsp; Is that the problem?&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Janet&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Jun 2023 16:54:05 GMT</pubDate>
    <dc:creator>JShum</dc:creator>
    <dc:date>2023-06-25T16:54:05Z</dc:date>
    <item>
      <title>can't get qlik.app.field.selectValues(array, toggle, softlock)  to select value by qText value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/can-t-get-qlik-app-field-selectValues-array-toggle-softlock-to/m-p/2087384#M18718</link>
      <description>&lt;P&gt;I am trying to use qlik.app.field.selectValues(array, toggle, softlock)&amp;nbsp; inside an extension and can't get it to work&lt;/P&gt;
&lt;P&gt;I am doing it as follows.&amp;nbsp; Is it possible?&amp;nbsp; What am I doing wrong&lt;/P&gt;
&lt;P&gt;var qApp = qlik.currApp(this);&lt;/P&gt;
&lt;P&gt;qApp.field('XXXXXX').selectValues([{qText: "11001"}], true, true);&lt;/P&gt;
&lt;P&gt;I have also tried&lt;/P&gt;
&lt;P&gt;qApp.field('XXXXXX').selectValues([{"11001"}], true, true);&lt;/P&gt;
&lt;P&gt;where 11001 is the qtext value and I have blanked out the field name but XXXXXX is the field name&lt;BR /&gt;I can't seem to select the value where the field value or qText value is 11001.&amp;nbsp; Nothing gets selected using the two ways I have tried&lt;BR /&gt;&lt;BR /&gt;This seems to work but the value selected for index 0,1,2 is not what i would have expected&lt;BR /&gt;qApp.field('XXXXXX').select([0, 1, 2], true, true);&lt;BR /&gt;&lt;BR /&gt;And this selects everything&lt;BR /&gt;qApp.field('XXXXXX').selectAll(); selects all&lt;BR /&gt;&lt;BR /&gt;I did not get the app variaible by using qlik.OpenApp&amp;nbsp; Is that the problem?&lt;/P&gt;
&lt;P&gt;Thanks&lt;BR /&gt;Janet&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 16:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/can-t-get-qlik-app-field-selectValues-array-toggle-softlock-to/m-p/2087384#M18718</guid>
      <dc:creator>JShum</dc:creator>
      <dc:date>2023-06-25T16:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: can't get qlik.app.field.selectValues(array, toggle, softlock)  to select value by qText value</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/can-t-get-qlik-app-field-selectValues-array-toggle-softlock-to/m-p/2087496#M18719</link>
      <description>&lt;P&gt;Update: toggleSelect is not supposed to be used to find a specific value&amp;nbsp; but it seems to find the value&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/FieldAPI/toggleSelect-method.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2023/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/FieldAPI/toggleSelect-method.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 17:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/can-t-get-qlik-app-field-selectValues-array-toggle-softlock-to/m-p/2087496#M18719</guid>
      <dc:creator>JShum</dc:creator>
      <dc:date>2023-06-25T17:58:35Z</dc:date>
    </item>
  </channel>
</rss>

