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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

deleting datatable entries through service

AP_9587236
17-Peridot

deleting datatable entries through service

for(var j=0;j<oldTaskName_IT_copy.rows.length;j++){
     Things[productionPlannerDTName].DeleteDataTableEntries({
          values : oldTaskName_IT_copy[j]/* INFOTABLE */
     });
}

when i executes this code, iam getting an error - " JavaException: java.lang.Exception: Unable To Convert From com.thingworx.types.collections.ValueCollection to INFOTABLE ". How to solve this.

1 REPLY 1

 Hi,

 

There was a similar error earlier - "Extracting data from an infotable. Error: Unable To Convert From .ValueCollection to INFOTABLE": https://community.ptc.com/t5/ThingWorx-Developers/Extracting-data-from-an-infotable-Error-Unable-To-Convert-From/td-p/522208 

Top Tags