<?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: Relative Path in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055397#M353863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the file is located within the base folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;'.\KeyFile.txt'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2016 18:17:09 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-01-08T18:17:09Z</dc:date>
    <item>
      <title>Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055393#M353859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we make this relative path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'\\hbeu.adroot.hsbc\dfsroot\GB002\GDMP\01.GDMP\04. Data Quality\25. Data Quality Metrics &amp;amp; Reporting\98. Reporting\DQ_Qlikview\UAT\Config\KeyFile.txt'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055393#M353859</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-08T18:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055394#M353860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am missing the path in your request that you want to use as base for the relative path, i.e. the start pointing of the relative path. Or in other words: "relative path to what"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055394#M353860</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-08T18:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055395#M353861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Relative to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'\\hbeu.adroot.hsbc\dfsroot\GB002\GDMP\01.GDMP\04. Data Quality\25. Data Quality Metrics &amp;amp; Reporting\98. Reporting\DQ_Qlikview\UAT\Config&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055395#M353861</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-08T18:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055396#M353862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are asking about making relative paths, then here is how you do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Directory &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;\\hbeu.adroot.hsbc\dfsroot\GB002\GDMP\01.GDMP\04. Data Quality\25. Data Quality Metrics &amp;amp; Reporting\98. Reporting\DQ_Qlikview\UAT\Config;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your load script, you can directly put the file name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM KeyFile.txt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example is that we can only specify the directory to include upto DQ_Qlikview folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Directory &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;\\hbeu.adroot.hsbc\dfsroot\GB002\GDMP\01.GDMP\04. Data Quality\25. Data Quality Metrics &amp;amp; Reporting\98. Reporting\DQ_Qlikview;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script, we put ..\ to move into the next folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;FROM ..\..\KeyFile.txt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Pretty much ..\ helps you move up and down in the folder hierarchy.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055396#M353862</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-01-08T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055397#M353863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the file is located within the base folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;'.\KeyFile.txt'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055397#M353863</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-08T18:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055398#M353864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying something like this. But it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055398#M353864</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-08T18:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055399#M353865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying something like this. But it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vKeyFileLocation&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = '..\KeyFile.txt'; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055399#M353865</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-08T18:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055400#M353866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'..\' will use the parent folder of the current base folder.&amp;nbsp; I've only used a single dot '.\'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only stating the file name should also work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'KeyFile.txt'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, your current base folder is not the one you are assuming, or the file is not located at that place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055400#M353866</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-08T18:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055401#M353867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kndly explain this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ISNULL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FileTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('$(vKeyFileLocation)')) = -1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;CALL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;WriteMessageToLog&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;('Expected Key File is not in the expected Location', '$(vKeyFileLocation)', 'KEY FILE');&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LET&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;keyFile_Load_Err&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 1;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;EXIT&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SCRIPT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;ENDIF &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055401#M353867</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-08T18:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055402#M353868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FileTime() will return NULL() if the given file does not exist (i.e. is not found in the specified location).&lt;/P&gt;&lt;P&gt;If the file is not found, call the sub routine WriteMessageToLog, set variable keyFile_Load_Err to 1 and exit script.&lt;/P&gt;&lt;P&gt;If the file is found, proceed with the script after ENDIF statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jan 2016 14:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055402#M353868</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-09T14:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Relative Path</title>
      <link>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055403#M353869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relative-Path/m-p/1055403#M353869</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2016-01-11T15:35:01Z</dc:date>
    </item>
  </channel>
</rss>

