<?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: How To pass values in field based on condition in selectMatch api in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1947361#M16980</link>
    <description>&lt;P&gt;solution - Hyper cube or&amp;nbsp;getContent method( use getselectedcount () in variable and use that variable in this API)&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 12:18:30 GMT</pubDate>
    <dc:creator>Qlik1_User1</dc:creator>
    <dc:date>2022-06-23T12:18:30Z</dc:date>
    <item>
      <title>How To pass values in field based on condition in selectMatch api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1946671#M16967</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am using below API to pass a value in field&lt;BR /&gt;app.field('reporting_year').selectMatch(String(new Date().getFullYear()), true)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Is it possible ,if user has already selected a value in&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"reporting_year"&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;field than pass user selected year else current year (2022)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Using this but&amp;nbsp; its not working in mashup&lt;BR /&gt;if(GetSelectedCount('reporting_year')=0,app.field('reporting_year').selectMatch(String(new Date().getFullYear()), true));&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 09:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1946671#M16967</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2022-06-22T09:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How To pass values in field based on condition in selectMatch api</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1947361#M16980</link>
      <description>&lt;P&gt;solution - Hyper cube or&amp;nbsp;getContent method( use getselectedcount () in variable and use that variable in this API)&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 12:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-To-pass-values-in-field-based-on-condition-in-selectMatch/m-p/1947361#M16980</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2022-06-23T12:18:30Z</dc:date>
    </item>
  </channel>
</rss>

