Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Running macro when reload

HI All,

I have a macro in my application which should run when i triger the task which is created for that qvw document. I have given the macro in postreload trigger in document settings but the macro is not triggered when i run the task. can any one help?

1 Reply
Not applicable
Author

You can call a macro from reload script. Let's say you have this macro function:

function GetCustomValue(ValueToBeAdded)

   GetCustomValue = 1000000 + ValueToBeAdded

end function

and you call it from reload script:

LET _var1 = GetCustomValue(1);