Print and save dokuments (webclient) desktop ui - 3.18

Discussion about recent product features & solutions!
Search

Post Reply
6 posts • Page 1 of 1
mgreiner
Posts: 4
Joined: Wed May 02, 2018 11:47 am

Print and save dokuments (webclient) desktop ui - 3.18

Post 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

User avatar
kilianvp
Posts: 422
Joined: Fri Jan 16, 2015 10:29 am

Re: Print and save dokuments (webclient) desktop ui - 3.18

Post 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.

User avatar
leoknipp
Posts: 2846
Joined: Tue Aug 24, 2010 7:28 pm

Re: Print and save dokuments (webclient) desktop ui - 3.18

Post 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

mgreiner
Posts: 4
Joined: Wed May 02, 2018 11:47 am

Re: Print and save dokuments (webclient) desktop ui - 3.18

Post 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.

User avatar
leoknipp
Posts: 2846
Joined: Tue Aug 24, 2010 7:28 pm

Re: Print and save dokuments (webclient) desktop ui - 3.18

Post 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

gschijndel
Posts: 330
Joined: Tue Jan 15, 2019 3:12 pm

Re: Print and save dokuments (webclient) desktop ui - 3.18

Post 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.

Post Reply
6 posts • Page 1 of 1