on ‎2020 Jul 22 8:13 PM
I am trying to fetch documents from backend SAP through ODATA service and display them in my Fiori application. Everything works fine except that the document title is showing as $value( taken from the URL that it's hitting ) in Chrome browser. Downloading is working fine and I am getting the correct filename there. Any idea how to correct the document title in the browser as well?
Request clarification before answering.
Did you ever find a solution to this? I'm facing the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try this blog: https://blogs.sap.com/2018/01/31/sap-fiori-tricks-get-rid-of-value-in-pdf-displaydownloads/
I had to some changes in the example code to make it work.
You could also try this one: https://blogs.sap.com/2016/01/22/how-to-show-file-name-when-calling-getstream/
Kr, Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks but I have already checked these. I am using inline and passing the filename to header. I am getting the filename while downloading. But the document header in the browser still shows $value. Any idea how to fix that?
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.