Article - CS314439
Cannot use Selected Rows in Nested Infotables in ThingWorx Mashup
Modified: 19-Aug-2021
Applies To
- ThingWorx Platform 8.4 SP2
Description
- Service that returns Infotables from two Data Tables
var params = {
infoTableName : "InfoTable",
dataShapeName : "ParentDatashapeWithInfotableChilds"
};
// CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(TestIFTAgain)
var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);
result.Infotable1 = Things["DataTable1"].QueryDataTableEntries({
maxItems: undefined /* NUMBER */,
values: undefined /* INFOTABLE */,
query: undefined /* QUERY */,
source: undefined /* STRING */,
tags: undefined /* TAGS */
});
result.Infotable2 = Things["DataTable2"].QueryDataTableEntries({
maxItems: undefined /* NUMBER */,
values: undefined /* INFOTABLE */,
query: undefined /* QUERY */,
source: undefined /* STRING */,
tags: undefined /* TAGS */
});
- Output type is Infotable defined with a Data Shape with two fields of type Infotable each one having a Data Shape assigned
- Cannot use the Selected Row
- Cannot display an attribute from the Selected Row of one of the Infotables with the Binding from the Mashup Builder

- Detailed Bindings of each Grid
This is a printer-friendly version of Article 314439 and may be out of date. For the latest version click CS314439