Syntax error Reading an image using SAP OData v2 in UI5 application

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: 2019-07-30T22:30:20+05:30

540 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements