Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a document which calls a macro from a button trigger which does a partial reload.
Sub Reload
ActiveDocument.PartialReloadEx 0, 1
End Sub
This was working last week in AJAX and IE but now it is not working. I also tried to use the reload trigger instead which does not work either. Macros are allowed on the server. The module security is set to system access.
Can anyone help with this?
Thank you
I doubt if it could ever work in AJAX. Reload and PartialReload macros only work with the executable clients and the Plug-In.
The way to do the same in AJAX is to initiate a trigger that can cause the server to reload the document. I recall seeing a post describing how to do it...
Oleg Troyansky is correct--there is no need to have a macro to do the reload because QV has built in functionality for it (and if you want partial reload, just check the check-box):

Hello Nicole,
As I mentioned in my post "I also tried to use the reload trigger instead which does not work either."
Thank you for the screenshot but it doesn't work.Have you been successful using that trigger in AJAX?
If you have any ideas of a work around or why this is not working using the IE plugin, I would appreciate it.
Oleg,
Thank you for your response. I have to check with the testers from last week as they siad it was working but they may not have done a full reload before the document was uploaded to the server. You mentioned the partial reload macro/trigger should work in IE, but it is not. I'll try to search for the post you are referring to.
Thanks!
_______________________
For the document that we have, when certain variables are changed, some tables require a partial reload. The initial variables are loaded by script so a full reload would not work.
Hi Lana,
The Reload trigger should work in the IE plugin, but not in AJAX. So if you can find something that works in AJAX but not IE plugin, you could use ClientPlatform() to figure out which one should be used depending on if it's being viewed through the plugin or the AJAX.
I don't know enough about macros to get yours to work for you, so sorry I can't be of more help there.
Lana,
The best option in your case is to use EDX mechanism. There are few differences in using it in v.10 and v.11, so here you can find all necessary information:
v. 11: Using EDX in QlikView 11
v. 10: See the attached document and please let me know if you will need a code samples for v.10.
There is another option to execute the external reload task (Re: Reload from web access), but I never tried that.
Thank you,
I'll take a look through it and see if we can implement it.
Thanks for the help