<?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: [resolved] tFileInputProperties - problem exporting job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317707#M88127</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;It means you need to pass the location and name of the properties file as a dinamic value/string.&lt;BR /&gt;One option for this is passing the properties file name as a command line arguement.&lt;BR /&gt;for implementing this &lt;BR /&gt;1)you need to define a contect variable which can keep the properties file name passed as command line arguement.&lt;BR /&gt;2) select prompt option check box.&lt;BR /&gt;3) modify the generated batch file after you export job script. The modification you need to do is like the following. you need to add the --context_param in the batch file command and provide the value. &lt;BR /&gt;--context_param COMMAND_LINE_CONFIG_FILE_NAME=D:\UKConfigSamplepProject.properties --context=Default &lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pravu Mishra.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks Pravu, this works! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Cheers!</description>
    <pubDate>Thu, 10 Sep 2009 09:45:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-10T09:45:26Z</dc:date>
    <item>
      <title>[resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317702#M88122</link>
      <description>Hi all!
&lt;BR /&gt;I would like to use a properties file that I can move around when I export my job (I don't want the desitnation to the properties file hardcoded in my component configuration).
&lt;BR /&gt;In Basic settings for component tFileInputProperties I have to write a destination to my properties file but I want to keep my properties file editable and in the same directory with the bat file (when exporting job script). Is this possible?
&lt;BR /&gt;
&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Sat, 16 Nov 2024 13:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317702#M88122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317703#M88123</link>
      <description>1) use tFileInputProperties component&lt;BR /&gt;2) define context variables for all the property values mentioned in the properties file&lt;BR /&gt;3) connect it to a tJavaRow component&lt;BR /&gt;4) compare the key names(property names) with the names mentioned in the properties file in the tJavaRow.&lt;BR /&gt;5) assign the values of keys to the context variables.&lt;BR /&gt;Now all your values mentioned in the properties file are set to context variables and you can use the context variavles at the place/or for another component.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;pravu Mishra.</description>
      <pubDate>Thu, 10 Sep 2009 08:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317703#M88123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T08:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317704#M88124</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;1) use tFileInputProperties component&lt;BR /&gt;2) define context variables for all the property values mentioned in the properties file&lt;BR /&gt;3) connect it to a tJavaRow component&lt;BR /&gt;4) compare the key names(property names) with the names mentioned in the properties file in the tJavaRow.&lt;BR /&gt;5) assign the values of keys to the context variables.&lt;BR /&gt;Now all your values mentioned in the properties file are set to context variables and you can use the context variavles at the place/or for another component.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;pravu Mishra.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks pravu, I have done all that but my question still remains. In 
&lt;B&gt;Basic settings&lt;/B&gt; of tFileInputProperties component I want to set the attribute 
&lt;B&gt;File name&lt;/B&gt; instead of explicitly for example "C:/TOS-Win32-r28760-V3.2.0M3/workspace/directory/in.properties" to something like %place_where_my_bat_file_is + "/in.properties". 
&lt;BR /&gt;If I leave it explicitly my properties file is then hardcoded and I don't want that... 
&lt;BR /&gt;Hope I was more clear on my problem this time 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 10 Sep 2009 08:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317704#M88124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T08:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317705#M88125</link>
      <description>It means you need to pass the location and name of the properties file as a dinamic value/string. 
&lt;BR /&gt;One option for this is passing the properties file name as a command line arguement. 
&lt;BR /&gt;for implementing this 
&lt;BR /&gt;1)you need to define a contect variable which can keep the properties file name passed as command line arguement. 
&lt;BR /&gt;2) select prompt option check box. 
&lt;BR /&gt;3) modify the generated batch file after you export job script. The modification you need to do is like the following. you need to add the --context_param in the batch file command and provide the value. 
&lt;BR /&gt;--context_param COMMAND_LINE_CONFIG_FILE_NAME=D:\UKConfigSamplepProject.properties --context=Default 
&lt;BR /&gt; 
&lt;BR /&gt;Hope it helps, 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pravu Mishra.</description>
      <pubDate>Thu, 10 Sep 2009 08:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317705#M88125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317706#M88126</link>
      <description>Please refer to the job kept by me at the following URL  &lt;BR /&gt;&lt;A href="http://www.talendforge.org/exchange/tos/extension_view.php?eid=156" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/exchange/tos/extension_view.php?eid=156&lt;/A&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pravu Mishra.</description>
      <pubDate>Thu, 10 Sep 2009 09:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317706#M88126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T09:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tFileInputProperties - problem exporting job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317707#M88127</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;It means you need to pass the location and name of the properties file as a dinamic value/string.&lt;BR /&gt;One option for this is passing the properties file name as a command line arguement.&lt;BR /&gt;for implementing this &lt;BR /&gt;1)you need to define a contect variable which can keep the properties file name passed as command line arguement.&lt;BR /&gt;2) select prompt option check box.&lt;BR /&gt;3) modify the generated batch file after you export job script. The modification you need to do is like the following. you need to add the --context_param in the batch file command and provide the value. &lt;BR /&gt;--context_param COMMAND_LINE_CONFIG_FILE_NAME=D:\UKConfigSamplepProject.properties --context=Default &lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pravu Mishra.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks Pravu, this works! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Cheers!</description>
      <pubDate>Thu, 10 Sep 2009 09:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tFileInputProperties-problem-exporting-job/m-p/2317707#M88127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-10T09:45:26Z</dc:date>
    </item>
  </channel>
</rss>

