Reading an image using SAP OData v2 in UI5 application

SAPSAP UI5

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.

raja
Published on 19-Dec-2017 12:40:42
Advertisements