<?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: how to create a folder with timestamp in context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309561#M80763</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can set the content of the context variable in the running job by using the "Context Load" component. &lt;/P&gt;&lt;P&gt;At the start of the job insert a tfileinputdelimited Component and a "Context Load" Component. &lt;/P&gt;&lt;P&gt;Establish a "main" link from tfileinputdelimited to the ContextLoad and set the schema of the tfileinputdelimited as Key and Value which is equal to the ContextLoad. In the "key" Field enter a String with the name of your context variable. In the value field enter the Expression TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate()). &lt;/P&gt;&lt;P&gt;When you run the job, the context will be set dynamically with the actual time in the given format.&lt;/P&gt;&lt;P&gt;Here is online component reference about: &lt;A href="https://help.talend.com/reader/J4iv~QqP8zciLUVdyQ8wvA/nrBfVz02LEqoLJ8KTbAHMg" alt="https://help.talend.com/reader/J4iv~QqP8zciLUVdyQ8wvA/nrBfVz02LEqoLJ8KTbAHMg" target="_blank"&gt;TalendHelpCenter: tContextLoad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Nov 2020 11:59:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-27T11:59:01Z</dc:date>
    <item>
      <title>how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309560#M80762</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create folders with timestamp for my project. I am looking for an option or a way to create folders with timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 12:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309560#M80762</guid>
      <dc:creator>amateur_ak</dc:creator>
      <dc:date>2020-11-26T12:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309561#M80763</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can set the content of the context variable in the running job by using the "Context Load" component. &lt;/P&gt;&lt;P&gt;At the start of the job insert a tfileinputdelimited Component and a "Context Load" Component. &lt;/P&gt;&lt;P&gt;Establish a "main" link from tfileinputdelimited to the ContextLoad and set the schema of the tfileinputdelimited as Key and Value which is equal to the ContextLoad. In the "key" Field enter a String with the name of your context variable. In the value field enter the Expression TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate()). &lt;/P&gt;&lt;P&gt;When you run the job, the context will be set dynamically with the actual time in the given format.&lt;/P&gt;&lt;P&gt;Here is online component reference about: &lt;A href="https://help.talend.com/reader/J4iv~QqP8zciLUVdyQ8wvA/nrBfVz02LEqoLJ8KTbAHMg" alt="https://help.talend.com/reader/J4iv~QqP8zciLUVdyQ8wvA/nrBfVz02LEqoLJ8KTbAHMg" target="_blank"&gt;TalendHelpCenter: tContextLoad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 11:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309561#M80763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-27T11:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309562#M80764</link>
      <description>&lt;P&gt;Thanks Sabrrina. This would still create the  filename with timestamp, but i would like know if any option or  custom component to set the context folder with timestamp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 11:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309562#M80764</guid>
      <dc:creator>amateur_ak</dc:creator>
      <dc:date>2020-12-11T11:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309563#M80765</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please elaborate your case with an example with expected output values?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 05:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309563#M80765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-14T05:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309564#M80766</link>
      <description>&lt;P&gt;I prefer using tSystem component with the OS specific commands (for permissions)...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg: mkdir folderName_&amp;lt;context.timestamp&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 15:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309564#M80766</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2020-12-14T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to create a folder with timestamp in context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309565#M80767</link>
      <description>&lt;P&gt;or try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/wDRBNUuxk629sNcI0dNYaA/LVyqOf5jpvzw3jzwz3wTJw&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not the most elegant approach, but, does the work after deleting the file; the folder will still exist.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 15:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-create-a-folder-with-timestamp-in-context/m-p/2309565#M80767</guid>
      <dc:creator>root</dc:creator>
      <dc:date>2020-12-14T15:47:46Z</dc:date>
    </item>
  </channel>
</rss>

