<?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 Issue in selection of On Demand App Generation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issue-in-selection-of-On-Demand-App-Generation/m-p/1925116#M76138</link>
    <description>&lt;P&gt;Hi&amp;nbsp; Experts&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am building a On Demand App Generation in my project and have an issue with selections.&lt;/P&gt;
&lt;P&gt;The selections that was made from Selection App is not capturing dynamically in Template App when I use variable, where as if I hard code specific field into the looping table is working as expected.&lt;/P&gt;
&lt;P&gt;I would like use only one inline table to pass the selection by using variable for multiple fields instead of create more inline tables for multiple fields.&lt;/P&gt;
&lt;P&gt;Script statement is not working if I pass variable into Inline table (OdagBinding)&lt;/P&gt;
&lt;P&gt;it was not returning any values, you can see in 'pic 1' it should capture selections&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SET WHERE_PART = '';&lt;/P&gt;
&lt;P&gt;FOR EACH fldname IN 'Account', 'Currency'&lt;/P&gt;
&lt;P&gt;trace filed names &amp;gt;&amp;gt;&amp;gt;&amp;gt; $(fldname);&lt;/P&gt;
&lt;P&gt;Let $(fldname)='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_$(fldname)){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;Let $(fldname)_COLNAME='$(fldname)';&lt;BR /&gt;CALL BuildValueList('$(fldname)', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LET vallist = $(fldname);&lt;BR /&gt;IF (IsNull(vallist)) THEN&lt;BR /&gt;LET vallist = '';&lt;BR /&gt;ENDIF&lt;BR /&gt;IF (len(vallist) &amp;gt; 0) THEN&lt;BR /&gt;CALL ExtendQVDWhere('$(fldname)','vallist');&lt;BR /&gt;// CALL ExtendSQLWhere('$(fldname)','vallist'); // use this version for SQL&lt;BR /&gt;ENDIF&lt;BR /&gt;NEXT fldname&lt;/P&gt;
&lt;P&gt;below script working as expected as i manually enter column names refer 'pic 2'&lt;/P&gt;
&lt;P&gt;SET WHERE_PART = '';&lt;/P&gt;
&lt;P&gt;FOR EACH fldname IN 'Account', 'Currency'&lt;/P&gt;
&lt;P&gt;trace filed names &amp;gt;&amp;gt;&amp;gt;&amp;gt; $(fldname);&lt;/P&gt;
&lt;P&gt;SET Account='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_Account){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;SET Account_COLNAME='Account';&lt;BR /&gt;CALL BuildValueList('Account', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;SET Currency='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_Currency){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;SET Currency_COLNAME='Currency';&lt;BR /&gt;CALL BuildValueList('Currency', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LET vallist = $(fldname);&lt;BR /&gt;IF (IsNull(vallist)) THEN&lt;BR /&gt;LET vallist = '';&lt;BR /&gt;ENDIF&lt;BR /&gt;IF (len(vallist) &amp;gt; 0) THEN&lt;BR /&gt;CALL ExtendQVDWhere('$(fldname)','vallist');&lt;BR /&gt;// CALL ExtendSQLWhere('$(fldname)','vallist'); // use this version for SQL&lt;BR /&gt;ENDIF&lt;BR /&gt;NEXT fldname&lt;/P&gt;
&lt;P&gt;so my expectation is to capture Account, Currency fields and their selected values into 'OdagBinding' table and i dont want to use multiple 'OdagBinding' tables for each field, i need one table to iterate columns and dynamically pass into the tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let me know if you need more information&lt;/P&gt;
&lt;P&gt;could you pls help as it is little urgent.&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 11:43:16 GMT</pubDate>
    <dc:creator>veerendra1989</dc:creator>
    <dc:date>2022-05-02T11:43:16Z</dc:date>
    <item>
      <title>Issue in selection of On Demand App Generation</title>
      <link>https://community.qlik.com/t5/App-Development/Issue-in-selection-of-On-Demand-App-Generation/m-p/1925116#M76138</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Experts&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am building a On Demand App Generation in my project and have an issue with selections.&lt;/P&gt;
&lt;P&gt;The selections that was made from Selection App is not capturing dynamically in Template App when I use variable, where as if I hard code specific field into the looping table is working as expected.&lt;/P&gt;
&lt;P&gt;I would like use only one inline table to pass the selection by using variable for multiple fields instead of create more inline tables for multiple fields.&lt;/P&gt;
&lt;P&gt;Script statement is not working if I pass variable into Inline table (OdagBinding)&lt;/P&gt;
&lt;P&gt;it was not returning any values, you can see in 'pic 1' it should capture selections&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SET WHERE_PART = '';&lt;/P&gt;
&lt;P&gt;FOR EACH fldname IN 'Account', 'Currency'&lt;/P&gt;
&lt;P&gt;trace filed names &amp;gt;&amp;gt;&amp;gt;&amp;gt; $(fldname);&lt;/P&gt;
&lt;P&gt;Let $(fldname)='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_$(fldname)){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;Let $(fldname)_COLNAME='$(fldname)';&lt;BR /&gt;CALL BuildValueList('$(fldname)', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LET vallist = $(fldname);&lt;BR /&gt;IF (IsNull(vallist)) THEN&lt;BR /&gt;LET vallist = '';&lt;BR /&gt;ENDIF&lt;BR /&gt;IF (len(vallist) &amp;gt; 0) THEN&lt;BR /&gt;CALL ExtendQVDWhere('$(fldname)','vallist');&lt;BR /&gt;// CALL ExtendSQLWhere('$(fldname)','vallist'); // use this version for SQL&lt;BR /&gt;ENDIF&lt;BR /&gt;NEXT fldname&lt;/P&gt;
&lt;P&gt;below script working as expected as i manually enter column names refer 'pic 2'&lt;/P&gt;
&lt;P&gt;SET WHERE_PART = '';&lt;/P&gt;
&lt;P&gt;FOR EACH fldname IN 'Account', 'Currency'&lt;/P&gt;
&lt;P&gt;trace filed names &amp;gt;&amp;gt;&amp;gt;&amp;gt; $(fldname);&lt;/P&gt;
&lt;P&gt;SET Account='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_Account){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;SET Account_COLNAME='Account';&lt;BR /&gt;CALL BuildValueList('Account', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;SET Currency='';&lt;BR /&gt;OdagBinding:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;VAL&lt;BR /&gt;$(odso_Currency){"quote": "", "delimiter": ""}&lt;BR /&gt;](ansi, txt, delimiter is '|', embedded labels);&lt;BR /&gt;SET Currency_COLNAME='Currency';&lt;BR /&gt;CALL BuildValueList('Currency', 'OdagBinding', 'VAL', 39);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LET vallist = $(fldname);&lt;BR /&gt;IF (IsNull(vallist)) THEN&lt;BR /&gt;LET vallist = '';&lt;BR /&gt;ENDIF&lt;BR /&gt;IF (len(vallist) &amp;gt; 0) THEN&lt;BR /&gt;CALL ExtendQVDWhere('$(fldname)','vallist');&lt;BR /&gt;// CALL ExtendSQLWhere('$(fldname)','vallist'); // use this version for SQL&lt;BR /&gt;ENDIF&lt;BR /&gt;NEXT fldname&lt;/P&gt;
&lt;P&gt;so my expectation is to capture Account, Currency fields and their selected values into 'OdagBinding' table and i dont want to use multiple 'OdagBinding' tables for each field, i need one table to iterate columns and dynamically pass into the tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let me know if you need more information&lt;/P&gt;
&lt;P&gt;could you pls help as it is little urgent.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 11:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issue-in-selection-of-On-Demand-App-Generation/m-p/1925116#M76138</guid>
      <dc:creator>veerendra1989</dc:creator>
      <dc:date>2022-05-02T11:43:16Z</dc:date>
    </item>
  </channel>
</rss>

