on 08-23-2016 3:01 PM
Hi,
I have built an HTML5 application using SAP web IDE. This HTML5 app is using destination defined in HANA Cloud platform cockpit.
Now I would like to register my HTML5 App to SAP Fiori Launchpad.
Unfortunately, After registering to Fiori Launchpad the destination of HTML5 App is not accessible. In standalone HTML App destination is accessible.
Can anyone assist me on this.
Thanks!
Best Regards,
Anuj
Hi Anuj,
This might be happening because of a missing module path prefix. Can you please inspect the URL in both browser requests (FLP and standalone) and paste them here?
Thanks,
Guy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guy,
you can access FLP site using this
Destination which is not accessible here is
https://flpnwc-hcpappsprog.dispatcher.ap1.hana.ondemand.com/plants
& Standalone HTML5 App can be access using this
https://webapp-hcpappsprog.dispatcher.ap1.hana.ondemand.com/?hc_reset
Destination which is accessible here is
https://webapp-hcpappsprog.dispatcher.ap1.hana.ondemand.com/plants
Best Regards,
Anuj
Hi Anuj,
I'm sorry but I don't see any request going through this destination in your application (https://webapp-hcpappsprog.dispatcher.ap1.hana.ondemand.com/?hc_reset), nor do I see any reference to the destination in the neo-app.json file.
Can you please recheck?
Guy Roth
SAP HANA Cloud Platform, Portal Service
If you find this answer useful or correct, please mark it accordingly for the benefit of other members.
Hi Anuj,
I looked in your code again. You are not actually using destinations, but simply reading a JSON file from your application's folder.
First, you should move the plants file to the webapp folder (this is the root of your application). Then, change your method as follows:
var fnLoadCities = function() {
jQuery.getJSON(jQuery.sap.getModulePath("sap.hana.cloud.samples.multitenancy_app") + "/plants").done(function(mData) {
oAppModel.setData(mData);
});
};
Guy Roth
SAP HANA Cloud Platform, Portal Service
If you find this answer useful or correct, please mark it for the benefit of other members.
Yes Guy, You are right the code is not syncing. Actually there is issue with my project structure.
due to which my changes were not reflecting in the deployed code.
I have created fresh HTML5 project and everything is fine now
HTML5 App
https://oilandgasmultitenantapp-hcpappsprog.dispatcher.ap1.hana.ondemand.com
FLP:
Thanks a lot for your support!
Best Regards,
Anuj
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.