<?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 ODAG - Get Selected field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2038774#M85581</link>
    <description>&lt;P&gt;Hello Community !&lt;/P&gt;
&lt;P&gt;My understand of ODAG is that in the "Template app" we can retrieve selected fields from the "Selection app" in variable with this syntax :&lt;/P&gt;
&lt;P&gt;SET FieldValues = $(odag_FieldName);&lt;/P&gt;
&lt;P&gt;But does ODAG send the list of selected fields on the selected app, so we can programmaticly construct our field values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would like to do is something like that :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FOR field in fieldList&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SET "$(field)" = $(odag_$(field))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // DO SOMETHING WITH $(field)&lt;BR /&gt;&lt;SPAN&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance for reading or responsing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 14:08:07 GMT</pubDate>
    <dc:creator>Raphael_Sabbagh</dc:creator>
    <dc:date>2023-02-16T14:08:07Z</dc:date>
    <item>
      <title>ODAG - Get Selected field</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2038774#M85581</link>
      <description>&lt;P&gt;Hello Community !&lt;/P&gt;
&lt;P&gt;My understand of ODAG is that in the "Template app" we can retrieve selected fields from the "Selection app" in variable with this syntax :&lt;/P&gt;
&lt;P&gt;SET FieldValues = $(odag_FieldName);&lt;/P&gt;
&lt;P&gt;But does ODAG send the list of selected fields on the selected app, so we can programmaticly construct our field values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would like to do is something like that :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FOR field in fieldList&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SET "$(field)" = $(odag_$(field))&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // DO SOMETHING WITH $(field)&lt;BR /&gt;&lt;SPAN&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance for reading or responsing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 14:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2038774#M85581</guid>
      <dc:creator>Raphael_Sabbagh</dc:creator>
      <dc:date>2023-02-16T14:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Get Selected field</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2038986#M85601</link>
      <description>&lt;P&gt;The short answer to your question is "no" ODAG does not pass all the selections rather you have to build your template so it knows what it needs and uses it. When you create the link you set the "Expression" and "Maximum Row Count" so that you can control weather or not the user has selected the right stuff to run your template. Although it is listed as an amount you really could just do it as a binary type value.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 22:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2038986#M85601</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2023-02-16T22:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Get Selected field</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2039140#M85611</link>
      <description>&lt;P&gt;That's what I tought. Thank you for your answer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 09:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Get-Selected-field/m-p/2039140#M85611</guid>
      <dc:creator>Raphael_Sabbagh</dc:creator>
      <dc:date>2023-02-17T09:27:45Z</dc:date>
    </item>
  </channel>
</rss>

