Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
I have a thing which has one of the property as Infotable. I have a custom service which aims to get this infotable property and add rows to infotable each time this service is invoked. I see that there are few properties like GetStringPropertyValue, GetLongPropertyValue , etc which returns the specific property for the given property name. Is there any similar service which returns me the property of type infotable?
Note : The service i have developed is in java extension.
Thanks,
Azim
Solved! Go to Solution.
Hi azim hawaldar,
Actually the InfoTable we require is inside one other InfoTable.
Let's say the name of the InfoTable returned from GetNamedPropertyValue is InfoTable1
And InfoTableProperty is our InfoTable property.
ValueCollection rowData = InfoTable1.getFirstRow();
InfoTable InfoTable2 = (InfoTable) rowData.getValue("InfoTableProperty");
So, InfoTable2 is the InfoTable we require.
Hello Ankit Gupta,
GetNamedPropertyValue does return me the infotable. But i cant see any values inside it. How can i see the values inside a info table?
Thanks,
Azim
Hi azim hawaldar,
Actually the InfoTable we require is inside one other InfoTable.
Let's say the name of the InfoTable returned from GetNamedPropertyValue is InfoTable1
And InfoTableProperty is our InfoTable property.
ValueCollection rowData = InfoTable1.getFirstRow();
InfoTable InfoTable2 = (InfoTable) rowData.getValue("InfoTableProperty");
So, InfoTable2 is the InfoTable we require.