cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

how to write javascript service for inserting data infotable property in thingworx

RM12
13-Aquamarine

how to write javascript service for inserting data infotable property in thingworx

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

4 REPLIES 4

Hi @RM12 

 

Please refer following article.

Let me know if doesn't answer your query.

 

Regards,

Sachin

RM12
13-Aquamarine
(To:SachinSharma)

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 ???

mgoel
17-Peridot
(To:RM12)

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

BABA-SHYAM
14-Alexandrite
(To:RM12)

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

 

Top Tags