Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
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 ???
Hi @RM12
Check this article if this helps:
https://www.ptc.com/en/support/article/CS277418
Let me know in case of any question.
Regards,
Mohit
Hi,
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;
Regards
Shyam