Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
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?
I tried
LET a = myMacroCall();
and also tried
Table:
LOAD myMacroCall() as A
AUTOGENERATE(1);
neither seemed to work.
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.
Function myMacroCall
Set fromDate = ActiveDocument.Variables("vFromDate")
Set toDate = ActiveDocument.Variables("vToDate")
... do processing
.. output to XML file
End Function
Maybe youd could try to use the OnPostReload trigger.
OnPostReload cannot run from Publisher I believe
Maybe should check this topic:
that is a very simple example, if i add variables to it, it doesn't work