Reading an image using SAP OData v2 in UI5 application


You have to use below code:

img.setSrc("/path/to/my/service/UserPhotoSet('someone@gmail.com')/$value");

Here you need to replace part with original path.

Updated on: 30-Jul-2019

361 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements