Skip to Content

SAPUI5 - File attachment is not working in offline app

Sep 23, 2017 at 09:25 PM


avatar image

Hello Experts,

Below is the functionality being implemented :

1. In offline mode user attaches the file or image and clicks on save

2. When user comes online, after synchronizing, offline store is expected to fire OData service to attach the attachment in SAP (i.e., file attached in the above Step 1 )

Problem statement :

When user does the action as stated on above Step 2, offline store is not triggering Odata service for attaching the file in SAP

Things done so far from my side:

1. According to below link below mentioned code is added in my manifest.json file


2. At Odata service level, the entity Attachment is set as mediatype so that metadata carries HashStream : True for this entity as per the standard Odata Modelling.

Please shed some lights on this as i am unable to figure out the actual issue here.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers