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

how to retrieve datashape default value in datatable using services

Moonstone

how to retrieve datashape default value in datatable using services

WeChat Screenshot_20191023123009.png

as attached picture, I have inserted data in the default value in the datashape. Now I want to retrieve data from datatable using services. how to do that?

1 REPLY 1

Re: how to retrieve datashape default value in datatable using services

Hi @xiaoqw,

 

Do you want to get the default value from the datashape specifically?  As far as I understand it from the data table itself you can only get data entries that have been added.

 

Perhaps try writing a custom script to get the default values from the Field Definitions with the getDefaultValue() method for the specific field definitions you want to get the data from.

 

This link gives more information on getting the filed definition:
https://support.ptc.com/cs/help/thingworx_hc/thingworx_6.6_hc/index.jspx?id=ID1239011955&action=show

Announcements