<?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 tFileList export job and variable for the folder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileList-export-job-and-variable-for-the-folder/m-p/2367294#M130690</link>
    <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a job which is composed of the following tools : tFileList--&amp;gt;tFileInputExcel--&amp;gt;tMap--&amp;gt;tMySqlOutput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to export my job as a standalone one and I try to figure out how I can define some kind of variable to be able to put a custom folder as the input folder for the tFileList component. I've heard about context variables but I don't know where to define and use them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how can I achieve that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 23:26:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-05T23:26:11Z</dc:date>
    <item>
      <title>tFileList export job and variable for the folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-export-job-and-variable-for-the-folder/m-p/2367294#M130690</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a job which is composed of the following tools : tFileList--&amp;gt;tFileInputExcel--&amp;gt;tMap--&amp;gt;tMySqlOutput.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to export my job as a standalone one and I try to figure out how I can define some kind of variable to be able to put a custom folder as the input folder for the tFileList component. I've heard about context variables but I don't know where to define and use them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know how can I achieve that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 23:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-export-job-and-variable-for-the-folder/m-p/2367294#M130690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T23:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList export job and variable for the folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-export-job-and-variable-for-the-folder/m-p/2367295#M130691</link>
      <description>Hi Spray
&lt;BR /&gt;Please find the below tutorial on context variables
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://help.talend.com/reader/JdTBzKszzXoWvjpEJD3EBA/xbhyQKORQNX5V8yw8WAb8w" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/JdTBzKszzXoWvjpEJD3EBA/xbhyQKORQNX5V8yw8WAb8w&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Context variable is a key value pair where key is the variable name value is the variable value
&lt;BR /&gt;
&lt;BR /&gt;In your prejob you can use tfileinputdelimited--&amp;gt;tcontextload to load the context values from a file or
&lt;BR /&gt;toracleinput--&amp;gt;tcontextload to load context values from a DB table
&lt;BR /&gt;
&lt;BR /&gt;Then you can use the context variable any where in your job. During runtime context variable will be replaced with a value you have provided.
&lt;BR /&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Ashok</description>
      <pubDate>Wed, 06 Jun 2018 01:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-export-job-and-variable-for-the-folder/m-p/2367295#M130691</guid>
      <dc:creator>ashok5</dc:creator>
      <dc:date>2018-06-06T01:04:36Z</dc:date>
    </item>
  </channel>
</rss>

