Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

gschrepfer
New Contributor II

QV9 Plugin and Makro

Hello all,

i have a problem with QV9 Plugin for IE and a macro, maybe anyone has a solution or can help ??

Our users are working with QV9 IE plugin. One application is reloadad every night with new data, and i want to enable the users to save the document unter a new filename on certain days (especially on every last day of month, but thats not the problem). For this reason, there is an inputfield with a varianble named 'Monat', which can be filled with allowed valus. Underneath, i have a Button titled "Save", that calls the macro 'Speichernunter' at the end of this message (the msgbox there is just for information).

Everything works fine, as long as the document runs in Qlikview. But if the document is opened in IE with the plugin, clicking the button shows the MsgBox with the correct string, but after that the document is not saved. Insted, there is a message saying 'Chicking the macro did not show any funcionality - SpeichernUnter - Error' (or something like that, i am using a german version of qv, and i dont know the original english text).

Does anyone have an idea, what could be the reason of that, and how i could solve this? Maybe there is also another method for saving the document with a new name?

Any help would be greatly appreciated - thanks!

gerhard

sub SpeichernUnter

set v = ActiveDocument.Variables("Monat")
Filename = (v.GetContent.String) & "_2011.qvw"
msgbox Filename
ActiveDocument.SaveAs Filename

end sub

1 Reply
MVP
MVP

QV9 Plugin and Makro

Hello Gerhard,

Some macros are not allowed when opening from clients, and Saving is not allowed for users with the IE Plugin client. It's not a bug, is the expected behaviour by design. You can find further information on what actions should work in the Reference Manual.

Hope that helps.

Community Browser