07-02-2018 12:59 AM
how can I show a PDF linked to a vector? I started out with a workflow and there I added a row action. When clicking it , the only way I got to show the PDF to the user was to use PDF.js and use the "browser" of MAE Desktop via a window.open() JS call. This doesn't work that well either (crashes a lot, PDF not displaying correctly).
In the release notes for 16.1SP4 under issues resolved there is CR# 00027686 listed which concernes "Download and open file not working in workflows".
From there I thought: Is there a better way to display PDFs in the Desktop Workflow? Opening the file in the system native app from a network drive would be most preferred, but any other way that works everytime would be much appreciated.
Solved! Go to Solution.
07-02-2018 02:08 PM
there are several ways you can implement it, please check the following tutorial for a list of methods provided by the API:
About the crash, please check the version of Java you are using, there is a known issue described here:
The best option at the moment is Java 8u172.
07-02-2018 10:16 PM
this was exactly what I've been looking for. Works like a treat!
Regarding the crashes: I tried 8u172 on an older 16.1 (I think SP2?) and it still crashed, have to try it with SP4 again. But now that I'm using the Desktop browser like it's supposed to it wont crash anymore.