Skip to Content
avatar image
Former Member

Navigate between two SAPUI5 Applications by passing Data

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    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

    Add comment
    10|10000 characters needed characters exceeded