Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi.
I have now managed to store the data selected in the graph in a list.
By extracting the selectedItems from the list, the following INFOTABLE was obtained.
I would like to create a function that uses these selectedItems as input.
In this case, how do you create a data shape to be applied to the input InfoTable?
I tried creating a data shape like this but it didn't work...
Solved! Go to Solution.
I was able to view the incoming data in a grid widget and use it by creating and applying the same Data Shape!
Your grid is displaying data that is result from a service call. This is where you created the binding by dragging the services "Returned Data>All data" from the Data tab and dropping it onto the grid. The same service has also "Returned Data>Selected Rows". This is an infotable of the same shape as the "all data", the datashape is defined in the service's output parameter. You can use this as an input to your function or service.
Thank you for your reply!
Sorry for the lack of information... I would like to use the SelectedItems in the list shown below as input for the service.
However, the Infotable stored in the list is the selected values in another graph, and is expected to have the data shape shown below. (I expect this is a data shape that is already provided by Thingworx.)
At this time, I am having trouble figuring out what data shape to set on the service editing screen...
I was able to view the incoming data in a grid widget and use it by creating and applying the same Data Shape!