<?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 Can Qlikview document reload be called by SQL proc? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257950#M710404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can reload a qlikview file from dos:&lt;/P&gt;&lt;P&gt;"myqlikviewinstalation\QlikView\Qv.exe" /r "%\mydocpath.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i believe if you create a bat file with that instruction and call it from a stored procedure with command shell exec:&lt;/P&gt;&lt;P&gt;exec master.dbo.xp_cmdshell "%mybatfilehere.bat".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel Catalão&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 16:24:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-06-01T16:24:36Z</dc:date>
    <item>
      <title>Can Qlikview document reload be called by SQL proc?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257949#M710403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi all - I'd like to automate the refresh of a number of qlikview documents. Ideally, I'd like the last line of the stored proc that builds the table, eg DiMcustomer, to call and iniatiate the refresh of the DimCustomer QVD file. Is this wish possible and acheivable? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 14:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257949#M710403</guid>
      <dc:creator />
      <dc:date>2011-06-01T14:35:46Z</dc:date>
    </item>
    <item>
      <title>Can Qlikview document reload be called by SQL proc?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257950#M710404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can reload a qlikview file from dos:&lt;/P&gt;&lt;P&gt;"myqlikviewinstalation\QlikView\Qv.exe" /r "%\mydocpath.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i believe if you create a bat file with that instruction and call it from a stored procedure with command shell exec:&lt;/P&gt;&lt;P&gt;exec master.dbo.xp_cmdshell "%mybatfilehere.bat".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel Catalão&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 16:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257950#M710404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-01T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Can Qlikview document reload be called by SQL proc?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257951#M710405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My experience is that running the QV.exe task as a command line can be a little flaky if the user is not logged in (i.e. runs as an interactive task).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the better solution would be to setup an EDX reload task in QVS and get the batch to call this.&amp;nbsp; There is an example of triggering an EDX task in the Server Reference Manual.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 17:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-Qlikview-document-reload-be-called-by-SQL-proc/m-p/257951#M710405</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2011-06-01T17:24:57Z</dc:date>
    </item>
  </channel>
</rss>

