<?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: Re: Determine Path of Included File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725898#M260324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to why I need this. The requirement is for the QVC script library (and other projects) I maintain. It would be useful for the library to be able to reference (as in a LOAD) other files in the same directory. I don't need it in the front end, but in included script. A workaround I've considered is to require the user to set a variable like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET Qvc.Path=..\foo\bar\;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;$(Include=$(Qvc.Path)myfile.qvs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then the "Qvc.Path" variable will give me what I need. But it would be much more elegant if the user was not required to set the Qvc.Path variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Sep 2014 05:56:07 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-09-08T05:56:07Z</dc:date>
    <item>
      <title>Determine Path of Included File</title>
      <link>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725896#M260322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone think of a way for an script included file to determine what path the include was from? For example, if my script contains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(Include=..\foo\bar\myfile.qvs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way for the script in &lt;SPAN style="font-family: 'courier new', courier;"&gt;myfile.qvs&lt;/SPAN&gt; to derive that it was loaded from &lt;SPAN style="font-family: 'courier new', courier;"&gt;..\foo\bar\&lt;/SPAN&gt;? Relative or absolute, doesn't matter to me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 05:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725896#M260322</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-09-08T05:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Determine Path of Included File</title>
      <link>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725897#M260323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Not sure why you need this. When you are including the file in the script, you already know the path. If you want to refer it in the fron-end, you might use a variable to hold that, or a simple load statement with FilePath(). Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 05:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725897#M260323</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-08T05:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Determine Path of Included File</title>
      <link>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725898#M260324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to why I need this. The requirement is for the QVC script library (and other projects) I maintain. It would be useful for the library to be able to reference (as in a LOAD) other files in the same directory. I don't need it in the front end, but in included script. A workaround I've considered is to require the user to set a variable like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET Qvc.Path=..\foo\bar\;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;$(Include=$(Qvc.Path)myfile.qvs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then the "Qvc.Path" variable will give me what I need. But it would be much more elegant if the user was not required to set the Qvc.Path variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 05:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Determine-Path-of-Included-File/m-p/725898#M260324</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-09-08T05:56:07Z</dc:date>
    </item>
  </channel>
</rss>

