PDF Viewer in VL Web
Posted: Thu Jul 27, 2017 8:27 am
I see that someone asked about showing PDFs in VL web. The response seemed to indicate that you can't download the PDF and show it.
In looking at this from the help it shows that you can show a PDF if you can provide a URL.
http://docs.lansa.com/14/EN/lansa016/PRIM_WEB.Page.htm
The issue is that these would be secure documents that will only display if the SRVROUTINE returns the PDF so I would have to have a special URL. But I am guessing it still won't work because the URL response would be a document which won't necessarily show in the web browser control on my page. I suspect it may just try to download it.
Just wondering if anyone has come up with anything since? Would a widget the implements some other PDF viewer for the web work?
Trying to determine options and which one might be best. The simplest option would seem to be the user clicks on the button to save and we simply let the browser download it. The browser will then do what it wants. But then the user doesn't get the nice experience of having the PDF simply framed in for them them to view with an option to save.
Thoughts?
In looking at this from the help it shows that you can show a PDF if you can provide a URL.
http://docs.lansa.com/14/EN/lansa016/PRIM_WEB.Page.htm
The issue is that these would be secure documents that will only display if the SRVROUTINE returns the PDF so I would have to have a special URL. But I am guessing it still won't work because the URL response would be a document which won't necessarily show in the web browser control on my page. I suspect it may just try to download it.
Just wondering if anyone has come up with anything since? Would a widget the implements some other PDF viewer for the web work?
Trying to determine options and which one might be best. The simplest option would seem to be the user clicks on the button to save and we simply let the browser download it. The browser will then do what it wants. But then the user doesn't get the nice experience of having the PDF simply framed in for them them to view with an option to save.
Thoughts?