on 10-01-2018 1:07 PM
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
}
});
Solved the problem using jquery.sap.storage instead of parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it actually opening the second application?
Do you get an error in the developer console?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.