Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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:
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.
Solved! Go to Solution.
I have found the solution eventually, using dynamically created aspects.
I have found the solution eventually, using dynamically created aspects.