cancel
Showing results for 
Search instead for 
Did you mean: 

Cloud Portal URL Parameters

former_member562111
Discoverer
0 Kudos

Hi guys!
I'm facing big problem with getting data in url query in SAP Coud Platform - Portal. I want to send parameters between two applications in Portal. Everything seems to be working in WebIDE, but when it's deployed on HCP gives error, it's because I can't change url? Is there a way to send data with url parameters or any other way to do it?


When using CrossApplicationNavigation i'm able to read parameter which was sent, but then again - it gives error and returns me to the prevoius page.

var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
            var hash = (oCrossAppNavigator && oCrossAppNavigator.hrefForExternal({
                target: {
                    semanticObject: "Formularz011",
                    action: "Display"
                },
                params: {
                    "Id": "12345Id"
                }
            })) || "";
            oCrossAppNavigator.toExternal({
                target: {
                    shellHash: hash
                }
            });

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member562111
Discoverer
0 Kudos

Solved the problem using jquery.sap.storage instead of parameters.

former_member322772
Active Participant
0 Kudos

Is it actually opening the second application?

Do you get an error in the developer console?