<?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: Call Macro from Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337224#M124353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe should check this topic:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/12166"&gt;http://community.qlik.com/thread/12166&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 14:32:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-03T14:32:56Z</dc:date>
    <item>
      <title>Call Macro from Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337221#M124350</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 have a macro that receives the values from variables set in the load script. Is there a way to call that macro from the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET a = myMacroCall();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD myMacroCall() as A&lt;/P&gt;&lt;P&gt;AUTOGENERATE(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;neither seemed to work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The macro receives the variables, passes it to in soap request and then stores the response into a temp XML file that is then reloaded into the app and finally calls another macro to remove the temp XML file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function myMacroCall&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set fromDate = ActiveDocument.Variables("vFromDate")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set toDate = ActiveDocument.Variables("vToDate")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... do processing&lt;/P&gt;&lt;P&gt;.. output to XML file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337221#M124350</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2012-08-03T14:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call Macro from Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337222#M124351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe youd could try to use the OnPostReload trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337222#M124351</guid>
      <dc:creator />
      <dc:date>2012-08-03T14:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Call Macro from Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337223#M124352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OnPostReload cannot run from Publisher I believe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337223#M124352</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2012-08-03T14:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Call Macro from Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337224#M124353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe should check this topic:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/12166"&gt;http://community.qlik.com/thread/12166&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337224#M124353</guid>
      <dc:creator />
      <dc:date>2012-08-03T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Call Macro from Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337225#M124354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is a very simple example, if i add variables to it, it doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-Macro-from-Load-Script/m-p/337225#M124354</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2012-08-03T14:53:58Z</dc:date>
    </item>
  </channel>
</rss>

