on 2020 Jan 15 4:44 AM
Hi,
If we have a Backend Server that will return the pdf binary stream in oData response (in backend we use FM SCMS_XSTRING_TO_BINARY), is it possible to display/download the pdf file in Fiori?
This file contains sensitive private data, so we want to avoid saving the pdf somewhere first then show the pdf file from Fiori.
Thank you.
Request clarification before answering.
If you cannot use the UI5 standard PDF Viewer, next best thing would be to use UI5Lab library.
https://github.com/lemaiwo/UI5LabLibraryPDFViewer/blob/master/README.md
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a common scenario in Fiori apps. You can use the control PDF Viewer for this. Look into the sample code in the above link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
saving of opened document before being displayed is managed by the Web Browser itself i guess.
Indeed, with IE, you can either open or save the attached document whereas with Chrome, it is mandatory to save it first.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
By any chance did you get the solution to download the binary stream from Fiori?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.