<?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 Access to PathName for .QVW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146486#M25035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QvWorkPath gives me the path where my .qvw file is located.. not sure why it doesnt work for you &lt;IMG alt="Tongue Tied" src="http://community.qlik.com/emoticons/emotion-7.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2009 23:27:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-10T23:27:30Z</dc:date>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146485#M25034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks&lt;/P&gt;&lt;P&gt;Does anybody know if I can access a variable in QlikView that will tell me where the .QVW is located?&lt;/P&gt;&lt;P&gt;I have tried:&lt;/P&gt;&lt;P&gt;QvWorkPath - gives me the directory where I'm storing QVD files&lt;/P&gt;&lt;P&gt;QvPath - gives me the c:\Program Files\QlikView directory&lt;/P&gt;&lt;P&gt;QvRoot - gives me the root directory of the QV.EXE executable (i.e. C:)&lt;/P&gt;&lt;P&gt;QvWorkRoot - gives me the root directory of the QVD files (i.e. D:)&lt;/P&gt;&lt;P&gt;But, nothing I can find will tell me where I launched the QVW from (i.e. D:\QlikView\User_QVW\DarqMatter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 23:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146485#M25034</guid>
      <dc:creator />
      <dc:date>2009-06-10T23:04:14Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146486#M25035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QvWorkPath gives me the path where my .qvw file is located.. not sure why it doesnt work for you &lt;IMG alt="Tongue Tied" src="http://community.qlik.com/emoticons/emotion-7.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 23:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146486#M25035</guid>
      <dc:creator />
      <dc:date>2009-06-10T23:27:30Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146487#M25036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, I'm assuming that the reason is that we are using a redirection on the directory where we store QVD Files, so one of the first lines in our load script is:&lt;/P&gt;&lt;P&gt;Directory \QlikView\QVD&lt;/P&gt;&lt;P&gt;I suppose that's what's doing it.&lt;/P&gt;&lt;P&gt;Maybe, if I could work out how to do it, I should allocate the QvPath to a variable before I change the directory......&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2009 23:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146487#M25036</guid>
      <dc:creator />
      <dc:date>2009-06-10T23:33:17Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146488#M25037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the function you want is DocumentPath().&lt;/P&gt;&lt;P&gt;A word of caution on using the QvWorkPath variable. This variable is not set until the &lt;STRONG&gt;end&lt;/STRONG&gt; of the script (as of 8.5?) . In script execution, the value is what it was at the end of the &lt;STRONG&gt;last&lt;/STRONG&gt; script execution. This means that if the document is moved, the first run of the script will see the value of the old directory. Therefore fairly useless in script.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 02:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146488#M25037</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-11T02:46:23Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146489#M25038</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;This seems to be exactly what I'm looking for, the only issue I have is that whilst I can use this in an expression, I can't figure out how to use it in the load script (this will be used to connect to different databases on Development, Staging and Production servers).&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 16:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146489#M25038</guid>
      <dc:creator />
      <dc:date>2009-06-11T16:54:50Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146490#M25039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;My apologies, it was probably too early in the day to try it, figured it out now.&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Nigel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 17:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146490#M25039</guid>
      <dc:creator />
      <dc:date>2009-06-11T17:51:35Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146491#M25040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Nigel West wrote:&lt;BR /&gt;This seems to be exactly what I'm looking for, the only issue I have is that whilst I can use this in an expression, I can't figure out how to use it in the load script (this will be used to connect to different databases on Development, Staging and Production servers). &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope below link will help you out!&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/28717.aspx"&gt;http://community.qlik.com/forums/t/28717.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146491#M25040</guid>
      <dc:creator />
      <dc:date>2010-05-06T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Access to PathName for .QVW</title>
      <link>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146492#M25041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Rob Wunderlich wrote:&lt;BR /&gt;I think the function you want is DocumentPath().&lt;BR /&gt;A word of caution on using the QvWorkPath variable. This variable is not set until the &lt;B&gt;end&lt;/B&gt; of the script (as of 8.5?) . In script execution, the value is what it was at the end of the &lt;B&gt;last&lt;/B&gt; script execution. This means that if the document is moved, the first run of the script will see the value of the old directory. Therefore fairly useless in script. &amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I am using Version: 9.00. Is this issue still persists in this version also as I am using this function(QvWorkPath) currently in one my document.&lt;/P&gt;&lt;P&gt;If still persists please do let me know what is the alternative way to find the path which I can use it in my load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 08:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Access-to-PathName-for-QVW/m-p/146492#M25041</guid>
      <dc:creator />
      <dc:date>2010-05-06T08:42:41Z</dc:date>
    </item>
  </channel>
</rss>

