on 04-28-2016 11:08 AM
Hi,
Please share your suggestions or recommendations for the below scenario.
1. Webpage ( CRM WebUI) pass parameters as part of it's url or as some header content when user click SAP UI5 Application link from CRM WebUI.
2. It opens SAP UI5 application standard login screen which resides in gateway server ( alert type of login which is standard behavor).
3. After login the application manually, it should capture those parameters/arguments passed from CRM Webui.
Regards,
Koti Reddy
Used below sample code which I found from some scn thread.
//get application parameters
if(jQuery.sap.getUriParameters() != null && jQuery.sap.getUriParameters() != undefined){
if(jQuery.sap.getUriParameters().get("Param1") != null && jQuery.sap.getUriParameters().get("Param2") != undefined){
var uribp= jQuery.sap.getUriParameters().get("Param1").trim();
var uribuag = jQuery.sap.getUriParameters().get("Param2").trim();
//sap.m.MessageToast.show(uribp,{duration:15000, width:"30rem"});
//sap.m.MessageToast.show(uribuag,{duration:15000, width:"30rem"});
}
else{
// sap.m.MessageToast.show("No values determined for Param1/Param2",{duration:100000, width:"30rem"});
Regards,
Koti Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Was in a similar situation as this and you should be able to pass the parameters from CRM Web UI to SAPUI5 and use them.
Some details - https://scn.sap.com/thread/3786457
BR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.