SAP Knowledge Base Article - Preview

2457711 - How to implement registerStreamRequest and store.refresh calls


A Hybrid Online/Offline OData application is being developed and currently offline handling of documents has been added to the project.

The basic upload / download trough the offline database is working as expected, however the attachment handling is currently not working as it should be.


Namely by calling sap.hybrid.getOfflineStore().refresh(function(data) {



bind(this),function(error) {


console.log("Failed to download stream");


Multiple entity sets are updated, however to make the requests - response faster, limiting the refresh to only the entity "Document Set" that's holding the current document is needed.




SMP 3.0 SDK SP 14 PL 3


SAP Mobile Platform SDK 3.0 ; SAP Mobile Platform SDK 3.1


registerStreamRequest ; store.refresh; , KBA , MOB-SDK , SAP Mobile SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.