Page 1 of 1
Print and save dokuments (webclient) desktop ui - 3.18
Posted: Wed May 25, 2022 8:48 am
by mgreiner
Hello,
is there any way with the desktop UI (web) in version 3.18 to print or save a document on the current workstation (where the ui is open in the browser). Now, the functions do that on the webserver is running, so I can only select the printers or directories (like with the fileSelector()) from it.
Do you have a solution or workaround?
Thanks,
Michael
Re: Print and save dokuments (webclient) desktop ui - 3.18
Posted: Thu May 26, 2022 4:55 pm
by kilianvp
Yes print the UI as PDF on the Server, base64 Encode the PDF and use JavaScript (print.js) to excute Javascript in a WebView Ewo with execJsFunction. This triggers the Browers Print Dialog. I did this for a customer.
Re: Print and save dokuments (webclient) desktop ui - 3.18
Posted: Fri May 27, 2022 1:57 pm
by leoknipp
I assume that you are talking about the ULC UX client and not a Desktop UI.
If a UI is running in a browser it is an ULC UX client.
The Desktop UI is a local Ui installation at the client machine without a browser.
To get the information for the restrictions of ULC UX please have a look at the WinCC OA Documentation:
https://www.winccoa.com/documentation/W ... tions.html
Best Regards
Leopold Knipp
Senior Support Specialist
Re: Print and save dokuments (webclient) desktop ui - 3.18
Posted: Mon May 30, 2022 6:53 am
by mgreiner
Thanks for the explanation, of course I meant the ULC UX. Is there any solution via the standard wincc oa application? Or any workaround?
@kilianvp, Thanks for your input. I hope there will be an other solution.
Re: Print and save dokuments (webclient) desktop ui - 3.18
Posted: Fri Jun 10, 2022 10:28 am
by leoknipp
There is no solution available in WinCC OA.
It is also a matter of security and therefore it does not work.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: Print and save dokuments (webclient) desktop ui - 3.18
Posted: Fri Jun 10, 2022 4:37 pm
by gschijndel
Also here the WebView ewo and javascript is used to allow users to save file(s) on their own host.
Every user expects (from a user interface based on HTML5) to be able to print and export contents onto their own machine. So it is surprising that there is no solution available for this.
Every logged in user is able to download almost all files (except the config directory) from the project, so security should not be a big issue.