on 09-08-2016 10:24 AM
Hi experts!!
After going sucessfully through the process of creating an OVP and cards using Northwind OData services (), I wanted to do the same with my HCP IOT service data.
I have followed more or less the same process, with the equivalent considerations. ie:
- Creating the destination in HCP
- Creting the OVP using an Annotation file
- Create a new Card (Table)
- Adjust the manifest to point correctly to the annotation file
- Modify the Annoation file as indicated in to match Namespace and target tags
However when testing the OVP (Run testOVP.html) I can't see any data. Using Chrome inspector I find the app keeps performing batch operations with success but it nevers shows any data.
Thanks!
Daniel
Hello Daniel,
let me summarize how to set up the OVP application:
This is how a very simple application looks like
My WebIDE project looks like this:
This is an excerpt from the annotations file:
Pay attention to the target specification in the schema and annotation definition and compare the "Namespace" with the sap.app.id value in the manifest.json
This is the URl of the IOT service as specified in HCP:
https://iotmmsxxxxxxtrial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/api/http/app.svc
And this is how the service definition looks like:
The relevant parts of manifest.json are:
I hope I could help you.
Good luck!
Mathias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Frank, Stefan and Mathias for the dedicated time and quick response.
After reading carefully Frank's blog I created a new project and I got the same result ;S
Also I tried to replicate Mathias' project with same destination, annotation, manifest, project structure..etc(only different entity) and again same error..no data is displayed, with multipled batch operations.
Stefan's problem looks very similar to mine, and I am afraid it could be related to a new/different version of the ui/ovp libraries, or iot services.
If you have some time could you please create a new project from scratch and see if it still works? Would you mind sharing it if it does?
Thanks a lot!
Cheers
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniel,
I can confirm that my OVP app accessing IoT data also gets hung reproducible in an endless $batch request loop while other OVP apps, accessing general Internet or ABAP OData services continue to work fine.
I am currently investigating this further, but of course, any further insight into the issue would also be very much appreciated.
Best regards
Frank
Hello,
my OVP was working fine but now not anymore, e.g. I can see the card says showing 0 of 21 rows. So it sees the rows but doesn't display the first 5 rows anymore, like it used to do.
I had no time so far to check it out.
Please let me know if you find anything which might have changed and the smart template needs something extra.
Thanks
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniel,
please have a look at my blog Display your Lego Mindstorms sensor data on a Fiori Overview Page and deploy it to the HCP Portal Fi... where I describe how to display HCP IoT data in a Fiori OVP.
Best regards
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.