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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

dynamic inputs for list widget

AP_9587236
17-Peridot

dynamic inputs for list widget

Iam using list widget. The datas in list dropdown should come from a service where the input is dynamic datatable name. In properties of list widget, the displayField and valuefield takes the datashape of the datatable.

 

now my question is.. like datatable name, how in can pass datashape name also dynamically??

1 REPLY 1
yhan
17-Peridot
(To:AP_9587236)

If I understand you correctly, the relationship between thing service and list widget is as below:

  • input DataTable Name ---> A Thing Service --> output result is the datashape of input DataTable
  • Bind the service result to the list widget

Am I right? If so, the displayField and valuefield will be "result", it can dynamically display the names of different datashapes used by different dataTables.

6-24-2021 4-33-35 PM.jpg

 

 

 

Announcements


Top Tags