Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
marcus_behrens
Product and Topic Expert
Product and Topic Expert
524
I assume you have access to the full Stack Web IDE in a neo sub-account of cloud platform and its configured to hook up with your IoT Application Enablement in your cloud foundry sub-account of cloud platform. I also assume you have been able to build other applications with the Web IDE and in particular with the layout editor.

If you want to make your things show up on the map here are 2 key tips to make it work:

  1. You have to create a location object and associate your thing with it. This cannot be done in the Thing Modeler, you have to do this via REST. To do this

    1. first get a CSRF token

    2. then create a location object

    3. then retrieve the thing meta data

    4. lastly modify the thing meta data by adding the location.The below first 4 screenshots illustrate how this is done.



  2. In the layout editor you have to

    1. bind the view to /Things

    2. add the map to the view

    3. make the map element a template

    4. bind the map element fields to your thing id and latitude and longitude. See the last 4 screenshots for illustration




I hope this is helpful getting you started.