cancel
Showing results for 
Search instead for 
Did you mean: 

Iot starterkit problem with ui5 consumption

06-19-2018 8:40 PM
Daniel_Degenhardt Product and Topic Expert
2309 views 7 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi experts,

I'm trying to go along with this tutorial on my trial license to consume the data provided by the device wich i created and put data in (screenshot). As you can see in the screenshot i am unable to choose a device.

https://github.com/SAP/iot-starterkit/tree/master/neo/apps/ui5/consumption

Status of destination connection for mms & rmds

Connection to "iotmms" established. Response returned: "302: Found" Connection to "iotrdms" established. Response returned: "302: Found"
(in the screenshot you can see the configuration wich i used for the destination binding)
But when i launch the webapp i cant choose a device (screenshot)

any idea where i can look for ?

Best Regards,

Daniel










0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

anton_levin
Product and Topic Expert
Product and Topic Expert

Hi Daniel,

I think I found it. On your last screenshot (with the project structure in the WebIDE), you have it like:

Consumption/src/webapp

which is wrong. As a description in the StarterKit [1] says:

To run the sample application, you first need to import it in the SAP Web IDE. Go into the src folder of the sample application and zip the webapp folder and the neo-app.json file (Important: do not include the src folder in the zip file).

Please, re-create your ZIP and re-import. Just tried it with my trial:

Regards, Anton

[1] https://github.com/SAP/iot-starterkit/tree/master/neo/apps/ui5/consumption-advanced

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes

Anton,

I'm truly greatful that you helped for the second time.

The application works now 🙂

have a great day !

best regards

Daniel

Answers (1)

Answers (1)

anton_levin
Product and Topic Expert
Product and Topic Expert

Hello Daniel,

according to your screenshot (with the destinations), it looks like you have imported them as "application level" destination under "iotmms" java app [1]. They should be imported as "account level" destinations [2] (SCP Cockpit -> Connectivity -> Destinations) instead to make them "visible" to the HTML5 app.

Hope this helps, Anton

[1] https://account.hanatrial.ondemand.com/cockpit#/acc/%your-p-user%trial/app/iotmms/destinations

[2] https://account.hanatrial.ondemand.com/cockpit#/acc/%your-p-user%trial/destinations

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Anton,

i think the destinations are now in the right place but it does not work either. Same problem as before cant choose a device.

Do you have any idea where elese i can look for ?



anton_levin
Product and Topic Expert
Product and Topic Expert

It would help, if you can share the console output (browser console output) for the UI5 app.

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes

Thanks for your help Anton

Daniel_Degenhardt
Product and Topic Expert
Product and Topic Expert
0 Likes

Console Output (webide)