<?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 Type List Variables (LOV) of Context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Type-List-Variables-LOV-of-Context/m-p/2201834#M3768</link>
    <description>How do I iterate a context variable of type List of Values (LOV)?</description>
    <pubDate>Tue, 06 Nov 2012 20:33:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-06T20:33:28Z</dc:date>
    <item>
      <title>Type List Variables (LOV) of Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Type-List-Variables-LOV-of-Context/m-p/2201834#M3768</link>
      <description>How do I iterate a context variable of type List of Values (LOV)?</description>
      <pubDate>Tue, 06 Nov 2012 20:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Type-List-Variables-LOV-of-Context/m-p/2201834#M3768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-06T20:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Type List Variables (LOV) of Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Type-List-Variables-LOV-of-Context/m-p/2201835#M3769</link>
      <description>Hi
&lt;BR /&gt;In fact, the list of values are stored as a string in context properties file, the job read its value as a string during the job execution. The solution is to define the data type as a string, and set the value like:
&lt;BR /&gt;v1,v2,v3,...
&lt;BR /&gt;In the job, use tNormalize to normalize the value to multiple values, and then iterate each value. For exmaple:
&lt;BR /&gt;tFixedFlowInput--main--tNormalize--main--tFlowToIterate---do other process
&lt;BR /&gt;on tFixedFlowInput, generate one data with context variable, define one column called 'mydata' on the schema, string type. 
&lt;BR /&gt;column:value
&lt;BR /&gt;mydata:context.yourVariableName
&lt;BR /&gt;on tNormalize, select 'mydata' to normalize with Item separator ",".</description>
      <pubDate>Wed, 07 Nov 2012 02:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Type-List-Variables-LOV-of-Context/m-p/2201835#M3769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-07T02:04:06Z</dc:date>
    </item>
  </channel>
</rss>

