<?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: QVW with Macros to publish excel report to Share point in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644378#M1246752</link>
    <description>&lt;P&gt;Batch file is not executing after i enable output to txt file. Throws message "Failed to open document". Below are the before and after&amp;nbsp;commands. Please let me know if i am missing anything here.&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;command in batch file w/o out put -&amp;nbsp;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;Updated command to enable output -&amp;nbsp;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw" &amp;gt; "c:\Develop\output.txt"&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw" &amp;gt; c:\Develop\output.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 15:13:51 GMT</pubDate>
    <dc:creator>nandhuvji</dc:creator>
    <dc:date>2019-11-07T15:13:51Z</dc:date>
    <item>
      <title>QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642234#M1246746</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;Task in QMC is keep on running w/o result.&lt;/P&gt;&lt;P&gt;Task will execute batch file, the batch file will run QVW which has&amp;nbsp; Macros to publish report to Sharepoint.&lt;/P&gt;&lt;P&gt;Recently i have done changes to macros in QVW to update new sharepoint email. When tested it is working fine in DEV. The same QVW is not working in UAT and PROD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note - Still the DEV version is working fine.&lt;/P&gt;&lt;P&gt;Can you please help to fix this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642234#M1246746</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642236#M1246747</link>
      <description>&lt;P&gt;It might very well be that the user account in UAT and PROD is not the same and thus does not have the same access rights for SharePoint. You should capture the output of your batch file and also check with your administrators about which user account the UAT and PROD is using and whether this has the same access to SharePoint.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 22:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642236#M1246747</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-11-01T22:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642237#M1246748</link>
      <description>&lt;P&gt;There are Separate FID's for each environment. All the FID'S have&amp;nbsp; same access to Mail server.&lt;/P&gt;&lt;P&gt;I think there should not be any issues with access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 22:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642237#M1246748</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-01T22:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642551#M1246749</link>
      <description>&lt;P&gt;Can anyone please let me know what could be the issue here?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1642551#M1246749</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-04T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644007#M1246750</link>
      <description>&lt;P&gt;Batch script when executed manually (double click .bat file) on server is working fine. But when i execute the same batch file from QMC using external program , task is initiated and stuck/hung. In the log file i see the last step as executing the .bat file.&lt;/P&gt;&lt;P&gt;The issue is only if i execute the task from QMC. Will there be any macros restrictions when running as a service?&lt;/P&gt;&lt;P&gt;I am stuck with this issue since last week.&amp;nbsp;Can any one please throw some light on this issue.?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 21:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644007#M1246750</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-06T21:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644334#M1246751</link>
      <description>&lt;P&gt;It looked that there is any user-access and/or security-rights not correct set. Maybe you get a hint to the cause if you enables an output of the batch into a txt-file, like: &lt;A href="https://www.windowscentral.com/how-save-command-output-file-using-command-prompt-or-powershell" target="_self"&gt;https://www.windowscentral.com/how-save-command-output-file-using-command-prompt-or-powershell&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 14:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644334#M1246751</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-07T14:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644378#M1246752</link>
      <description>&lt;P&gt;Batch file is not executing after i enable output to txt file. Throws message "Failed to open document". Below are the before and after&amp;nbsp;commands. Please let me know if i am missing anything here.&lt;/P&gt;&lt;P&gt;Before:&lt;/P&gt;&lt;P&gt;command in batch file w/o out put -&amp;nbsp;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After:&lt;/P&gt;&lt;P&gt;Updated command to enable output -&amp;nbsp;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw" &amp;gt; "c:\Develop\output.txt"&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;"C:\program files\qlikview\qv.exe" /vExportData=Yes "Export Daily by Country.qvw" &amp;gt; c:\Develop\output.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 15:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644378#M1246752</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-07T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644425#M1246753</link>
      <description>&lt;P&gt;I'm not really an expert in regard to track the execution of a batch-file - I just did it once or twice and know that's possible. Therefore I suggest you search for your type of batch in google to further examples - there might be various differences in the syntax (number and kind of spaces, quotes, number and kind of &amp;gt;, ...) if it's a cmd or a bat or another type and also how the commands are specified.&lt;/P&gt;&lt;P&gt;Another thing which I observed is that there is no path specified for the qvw - batches are sometime tricky in such things.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 16:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644425#M1246753</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-07T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644495#M1246754</link>
      <description>&lt;P&gt;Just want to try to move this one forward, we found one part of the problem was the Desktop client was running as Personal Edition, so that was the main issue of the app not opening and that is now resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current issue is in the macro side of things, pretty sure things are launching, but I am not an expert in how to kick a message out of the VB code when things are running as a service, which is what is needed at this point to see where exactly things are getting hung up in the macro code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The task does not end currently due to the 'Quit' statement in the macro code never being reached, that is what kills the QV.exe process and in turn ends the task properly in Publisher.&amp;nbsp; If anyone has any ideas on how to throw out something like a msgbox message when things are running as a service, that would be most helpful at this point.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644495#M1246754</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-07T21:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644500#M1246755</link>
      <description>&lt;P&gt;service account running the task is having administrator access. Is there any local security policy need to be applied to service account?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644500#M1246755</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-07T21:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644503#M1246756</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Anand, the service account is a domain user account, correct?&amp;nbsp; Just wanted to be sure it was not a local account on the server, pretty sure it is a domain account, but just wanted to be certain for everyone.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644503#M1246756</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-07T21:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644508#M1246757</link>
      <description>&lt;P&gt;Yes, it is domain user account&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644508#M1246757</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-07T21:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644509#M1246758</link>
      <description>&lt;P&gt;Additional details FYR:&lt;/P&gt;&lt;P&gt;QVW with macro working fine when executed thru batch file (External Program) from QMC (both in DEV and PROD).&lt;/P&gt;&lt;P&gt;In the Macros, we had share point email as 'XX'. Due to Share point migrated to latest version, we have updated share point email in the macros as 'YY'. This is the only update we have done in macros as part of the new share point migration.&lt;/P&gt;&lt;P&gt;After update in DEV, everything is working fine like reports are published to new Share point. But the same code when deployed in PROD, task in QMC is keep on running w/o result.&lt;/P&gt;&lt;P&gt;We have roll backed&amp;nbsp; changes in PROD (by replacing email from YY to XX). Now reports are published to Old Share point when executed from QMC. I don't see any issue with Macros&amp;nbsp; as the existing code with email XX is working fine. we need to make the reports to be published to New SP YY.&lt;/P&gt;&lt;P&gt;Note - DEV and PROD has the same code, same batch file, same tasks but it is working in DEV but not in PROD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644509#M1246758</guid>
      <dc:creator>nandhuvji</dc:creator>
      <dc:date>2019-11-07T21:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: QVW with Macros to publish excel report to Share point</title>
      <link>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644677#M1246759</link>
      <description>&lt;P&gt;If it's worked with the old XX as target and not with the new YY it meant that the issue isn't related to the macro-stuff else to any security/rights topic and there might be just one entry in the group policies missing. In our company nearly everything is blocked per default and will be only permitted per white-listing - means each new IP, port, user, ... must be separate permitted.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 08:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVW-with-Macros-to-publish-excel-report-to-Share-point/m-p/1644677#M1246759</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-11-08T08:50:14Z</dc:date>
    </item>
  </channel>
</rss>

