<?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 Global Variable for Directory Name in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315321#M85987</link>
    <description>&lt;P&gt;Is there a global variable to get the Directory Name in&amp;nbsp;tCreateTemporaryFile component?&lt;/P&gt;&lt;P&gt;I see&amp;nbsp;tCreateTemporaryFile_1_FILEPATH but there is no variable for Directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:33:31 GMT</pubDate>
    <dc:creator>Sanjay5</dc:creator>
    <dc:date>2024-11-16T09:33:31Z</dc:date>
    <item>
      <title>Global Variable for Directory Name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315321#M85987</link>
      <description>&lt;P&gt;Is there a global variable to get the Directory Name in&amp;nbsp;tCreateTemporaryFile component?&lt;/P&gt;&lt;P&gt;I see&amp;nbsp;tCreateTemporaryFile_1_FILEPATH but there is no variable for Directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315321#M85987</guid>
      <dc:creator>Sanjay5</dc:creator>
      <dc:date>2024-11-16T09:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variable for Directory Name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315322#M85988</link>
      <description>&lt;P&gt;You already have all the info you need.&lt;/P&gt;&lt;P&gt;If I assume your tCreateTemporaryFile component is named &lt;SPAN&gt;tCreateTemporaryFile_1 and that you are using a Windows system (for the path separators "\"), the code you will need is below....&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;String directory =
((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")).substring(0, ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")).lastIndexOf("\\"));&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Jul 2017 23:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315322#M85988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T23:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variable for Directory Name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315323#M85989</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;It's good trick. &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;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I wish there was a global variable name for the same something like tCreateTemporaryFile_1_DIRECTORY, as we have "tCreateTemporaryFile_1_FILEPATH"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 00:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315323#M85989</guid>
      <dc:creator>Sanjay5</dc:creator>
      <dc:date>2017-07-06T00:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Global Variable for Directory Name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315324#M85990</link>
      <description>&lt;P&gt;Yo could always set the directory using a variable. Then you would have access to change it as well as see what it contains&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2017 00:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Global-Variable-for-Directory-Name/m-p/2315324#M85990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-06T00:30:13Z</dc:date>
    </item>
  </channel>
</rss>

