Skip to Content
0

Internet destination not working from Fiori Launchpad

Sep 01, 2017 at 09:28 AM

109

avatar image

Hi,

I have an application which is using leaflet.js.

When I start the application locally from webIDE

https://webidetesting4418725-xxxxxxxx.dispatcher.hana.ondemand.com/map/mapbox.streets/7/70/43.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw 

or from applications url

https://myapp-xxxxxxxx.dispatcher.hana.ondemand.com/map/mapbox.streets/7/70/43.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw

The library is successfully retrieving the png files for the map

real url: https://api.tiles.mapbox.com/v4/mapbox.streets/7/70/43.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw

There is a destination set with the following properties:

and the following attributes in neo-app.json in routes section:

 {
    "path": "/map",
    "target": {
      "type": "destination",
      "name": "GIS",
      "entryPath": "/"
    },
    "description": "GIS"
  }

And the problem is that when the application is opened from the fiori launchpad the following request is completed with 404 Not Found status code

https://flpnwc-xxxxxxxx.dispatcher.hana.ondemand.com/map/mapbox.streets/7/70/43.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw

As you can see the only difference in the urls is at the beginning.

In the neo-app.json there is other destination to an OnPremise system which is working.

Why the app is not working from FLP?

Thank you!

KR,

Ivan

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Apr 09 at 08:25 AM
0

Hello @idim,

i have the same problem, have you here a solution for this problem?

Best regards,

Dejan

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi,

I'm using the url directly without destination.

BR,

Ivan

0