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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Read DataTable thing from Extension

Sathishkumar_C
17-Peridot

Read DataTable thing from Extension

Hi All,

I am trying to Read DataTable thing from Extension. It was returning null.

My code :

DataTableThing masterTable = (DataTableThing) ThingUtilities.findThing("BConfig_CM_ParametersMaster_DT");
DataTableThing masterTable = (DataTableThing)EntityUtilities.findEntity("BConfig_CM_ParametersMaster_DT", ThingworxRelationshipTypes.DataTable);

both codes are returning masterTable as "null". how to resolve this issue?

 

Thanks.

2 REPLIES 2

Anyone??

Hi @Sathishkumar_C.

 

Apologies for the delay on this.  Since you responded back so quickly on this thread, it appeared that it had already been responded to.

 

With the limited information you have provided, it is difficult for us to determine why you are receiving NULL.  We are assuming you are creating your own extension.  If so, we would need to see more of your code to better understand your intent.

 

If you have already resolved your issue, please feel free to post the solution here for the benefit of others who may have similar questions.

 

Regards.

 

--Sharon

Announcements


Top Tags