on 07-03-2014 1:34 PM
Hi experts,
I would like to extend/modify the Fiori paystub app service url. Therefore I changed the metadataUrl variable in the Service.js from
if(jQuery.sap.getUriParameters().get("local")){this.metadataUrl="sap/opu/odata/sap/SRA006_SRV"
}else{this.metadataUrl="/sap/opu/odata/sap/SRA006_SRV"
to
if(jQuery.sap.getUriParameters().get("local")){this.metadataUrl="http://myserver.otherhost.com/sap/opu/odata/sap/SRA006_SRV"
}else{this.metadataUrl="http://myserver.otherhost.com/sap/opu/odata/sap/SRA006_SRV"
The changed Service.js file is successfully loaded to the browser (confirmed with browser dev tools), so the old file is not cached.
But the pdfs are still requested from
http://server.applicationRunsOn.com/sap/opu/odata/sap/SRA006_SRV/PDFPayslips(12)/$value
instead of
http://myserver.otherhost.com/sap/opu/odata/sap/SRA006_SRV/PDFPayslips(12)/$value
Any hints, what is missing here?
Thank you!
Tags edited by: Michael Appleby
Hi,
I had the same issue, Did you manage to get any answer for this why the it picks up the gateway server name ?
Thanks Uma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.