<?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 Document path without filename in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960825#M468628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Part in the Script, that I can use for all my qvw-files.&lt;/P&gt;&lt;P&gt;Therefore I created two variables for qvw-path and qvw-Name (and I Need them both!)&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;vDocName&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&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;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;vDocPath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is now, that vDocPath has already the filename in it.&lt;/P&gt;&lt;P&gt;How can I realise, that the DocumentPath is only the DirectoryPath without the Filename&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96502_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for you help.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 07:27:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-20T07:27:11Z</dc:date>
    <item>
      <title>Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960825#M468628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a Part in the Script, that I can use for all my qvw-files.&lt;/P&gt;&lt;P&gt;Therefore I created two variables for qvw-path and qvw-Name (and I Need them both!)&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;vDocName&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&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;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;vDocPath&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is now, that vDocPath has already the filename in it.&lt;/P&gt;&lt;P&gt;How can I realise, that the DocumentPath is only the DirectoryPath without the Filename&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96502_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for you help.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960825#M468628</guid>
      <dc:creator />
      <dc:date>2015-08-20T07:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960826#M468629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this helps: &lt;A href="https://community.qlik.com/message/705696"&gt;Re: How to get the path of your QlikView document&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Suggested by :&lt;A _jive_internal="true" href="https://community.qlik.com/people/Alexandros17"&gt;Alessandro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(), 1, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;FindOneOf&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(), '\', -1))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960826#M468629</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-20T07:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960827#M468630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Skip the vDocPath part after the last backslash. DocumentPath() will always return a string with backslashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vDocPathNoFileName = left('$(vDocPath)', index('$(vDocPath)', '\', -1));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960827#M468630</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-08-20T07:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960828#M468631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks alot to everybody. it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960828#M468631</guid>
      <dc:creator />
      <dc:date>2015-08-20T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960829#M468632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Christian,&lt;/P&gt;&lt;P&gt;May be this helps:&lt;/P&gt;&lt;P&gt;=mid(DocumentPath(),1,len(DocumentPath())-len(DocumentName())-1)&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;kd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 07:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/960829#M468632</guid>
      <dc:creator>d_koti24</dc:creator>
      <dc:date>2015-08-20T07:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Document path without filename</title>
      <link>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/1507933#M468633</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try special variable '&lt;SPAN class="Bold"&gt;QvWorkPath'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 11:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-path-without-filename/m-p/1507933#M468633</guid>
      <dc:creator>maksimlopatkin</dc:creator>
      <dc:date>2018-11-16T11:00:47Z</dc:date>
    </item>
  </channel>
</rss>

