Skip to Content
0

Navigate between two SAPUI5 Applications by passing Data

Feb 27, 2017 at 12:40 PM

247

avatar image
Former Member

Hi All,

I want to pass data between two application without going via url.

Is there another way to pass data between standalone applications?

Thanks,

10 |10000 characters needed characters left characters exceeded

Hello Jejer

Did you find a solution to this?

Regards

Antonette

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Mar 16, 2017 at 10:51 AM
3

if host in the url for both the application is the same, you can utilize html5 sessionStorage to store data and retrieve it in the second app.

Step to use Session Storage

jQuery.sap.require("jquery.sap.storage");
var sStorage = jQuery.sap.storage(jQuery.sap.storage.Type.session);
//to add data in the storage 
sStorage.put("key","valueOfStringOnly");

//to retrieve Data if this in the second stand alone app then define the storage again and use it.
sStorage.get("key");

regards

GB

Share
10 |10000 characters needed characters left characters exceeded