Skip to Content

Internet destination not working from Fiori Launchpad

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    Hello @idim,

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

    Best regards,

    Dejan

    Add comment
    10|10000 characters needed characters exceeded