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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

JAVA SDK: Defining a DataShape with an InfoTable field, and defining that InfoTable's DataShape

ghecht
7-Bedrock

JAVA SDK: Defining a DataShape with an InfoTable field, and defining that InfoTable's DataShape

Hello ThingWorx developers community,

I am using Java SDK to create a DataTable dynamically. The DataTable holds an info table and some meta data regarding that info table in each row.

 

Something like this:

 

2-18-2018 6-10-29 PM.jpg

 

I don't know at the Data-Table's creation time, the inner InfoTable's Data-Shape.

I am creating multiple DataTables of that shape, but two different DataTables might have different DataShapes for their inner InfoTables.

 

Is there a way to define the Inner InfoTables DataShape at the moment of creating the containing DataTable? Because it seems I can't add any rows to the DataTable without knowing the required DataShape.

ACCEPTED SOLUTION

Accepted Solutions
ghecht
7-Bedrock
(To:ghecht)

I have found the solution eventually, using dynamically created aspects.

View solution in original post

1 REPLY 1
ghecht
7-Bedrock
(To:ghecht)

I have found the solution eventually, using dynamically created aspects.

Announcements


Top Tags