cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate between two SAPUI5 Applications by passing Data

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,

antonette_oberholster
Active Contributor
0 Kudos

Hello Jejer

Did you find a solution to this?

Regards

Antonette

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_gb
Explorer

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

Answers (0)