Showing results for 
Search instead for 
Did you mean: 

$value coming as document header in browser while opening file sent via odata in UI5 application

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?

0 Kudos

Could you solve it? I have the same problem.

I am using inline and the filename and it shows it with the $value. I have checked the two links that have been given to you, among others.

Thank you very much in advance!


Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

You can try this blog:

I had to some changes in the example code to make it work.

You could also try this one:

Kr, Wouter

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?