App viewed from Access Point - how to save it via Macro?
Hi dear community,
The macro I wrote to save my App.qvw contains this for saving it:
It works from desktop in the following way - App is opened and when user presses the button for save this triggers the macro. It works correctly and the name of the App.qvw is changed to FileName.qvw (the string is correctly written in FileName), then FileName.qvw is saved and closed and the original App.qvw remains unchanged and in its place (closed).
Now when this macro is run from Access point (QV 11 SR2 - from AJAX there is no reaction, but from IEPlugin it starts) it works correctly up to the part where the macro code above should be executed. Then it gives the error (see attched pic) Macro parse failed.
I think I understand why the task is impossibly to run in this way - it renames the currently viewed application on the access point and this will make it impossible for the browser to sustain the web page if the macro code is executed. Still I need this functionality, when the user decides, from the browser, to create a local copy of the application by pressing a button (and the original application should remain intact).
Do you know if this is possible to be done this way?
Re: App viewed from Access Point - how to save it via Macro?
I guess you won't be able to make it via macro....
Can't you allow Document Download from AccessPoint? Go to QMC > System > Setup > QVServer > Documents > Allow Document Download.
Then, you'll have to enable download for each document. Go to QMC > Documents > User Documents > [select the document] > Server > Avaliability > Download Document. You can define permissions for specific users.