I want to write service for inserting data in infotable property of thing please suggest how do I insert data from service to infotable property??
Thanks in advance
Thanks for your reply ,I refer this code but it'll not add in infotable property plzz refer the below attachment and suggest, is there another way to inserting data into infotable property via service ???
Check this article if this helps:
Let me know in case of any question.
1. Just create a infotable property (info_prop)with datashape attached to it in that thing (Your_Thing_name).
2. Write down service where using snippets you create a infotable(sampleInfo) using the datashape which you attached in infotable property.
3. Create entry for this infotable using same datashape using snippets.
4. Add this entry in the infotable created in step #2.
5. Things[Your_Thing_name].info_prop = sampleInfo;