<?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: Getting document name within a document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809770#M285825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no worries glad to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 09:41:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-19T09:41:31Z</dc:date>
    <item>
      <title>Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809765#M285820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a reusable process by which I can email the log file of the QVW when it is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Log File gets generated like below as I understand. For the Document named "Generator1_QVD.qvw" the Log file gets generated as "Generator1_QVD.qvw.log"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can some somehow get the document name through a built in function or a variable(I am sure I can set the variable in the document myself. But that will have to be done in every qvw. Hence would like to try a reusable way to get this done for all qvw) in the script of the document, Then using that variable I can send email at the end of the load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 08:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809765#M285820</guid>
      <dc:creator />
      <dc:date>2015-01-19T08:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809766#M285821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaleel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DocumentName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 08:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809766#M285821</guid>
      <dc:creator />
      <dc:date>2015-01-19T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809767#M285822</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;Try DocumentName() to get the qlikview filename or if you want to get along with the path also then use DocumentPath().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:05:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809767#M285822</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-01-19T09:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809768#M285823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly for me.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vDocumentName = DocumentName();&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;execute cmd /C blat -to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@abc.com"&gt;abc@abc.com&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; -subject "Balancing Error in '$(vDocumentName)'" -body "Please check the following log" -attachi $(vDocumentName).log; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809768#M285823</guid>
      <dc:creator />
      <dc:date>2015-01-19T09:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809769#M285824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809769#M285824</guid>
      <dc:creator />
      <dc:date>2015-01-19T09:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting document name within a document</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809770#M285825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no worries glad to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 09:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-document-name-within-a-document/m-p/809770#M285825</guid>
      <dc:creator />
      <dc:date>2015-01-19T09:41:31Z</dc:date>
    </item>
  </channel>
</rss>

