<?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: Run Macro From Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429353#M698580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can call vbscript (or javascript) functions from the load script, but not subs. &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/2004-5437-49431-7682/Sub.qvw"&gt;Here&lt;/A&gt;'s a very simple example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2012 10:13:06 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-12-12T10:13:06Z</dc:date>
    <item>
      <title>Run Macro From Script</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429352#M698579</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;Is it possible to run a function or sub from the script when the document reloads?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to automatically load data from a web service through Publisher. The function or sub (it doesn't seem to matter which) runs without a problem in the Edit Module and creates an xml file. However, we need to trigger it from the script so that it will run overnight. Unfortunatley as its Publisher an OnPostReload trigger is not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429352#M698579</guid>
      <dc:creator />
      <dc:date>2012-12-12T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro From Script</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429353#M698580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can call vbscript (or javascript) functions from the load script, but not subs. &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/2004-5437-49431-7682/Sub.qvw"&gt;Here&lt;/A&gt;'s a very simple example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 10:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429353#M698580</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-12T10:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro From Script</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429354#M698581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert, thats useful to know. How can I trigger the function from the reload script? I've tried the below, as suggested elsewhere, but with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let LoadData = MyFunction();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 10:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-From-Script/m-p/429354#M698581</guid>
      <dc:creator />
      <dc:date>2012-12-12T10:29:18Z</dc:date>
    </item>
  </channel>
</rss>

