Skip to main content
1-Visitor
March 11, 2019
Solved

ThingWorx 8.4 : Unable to bind selected row from list widget to the session variable

  • March 11, 2019
  • 11 replies
  • 7271 views

Hi All,

 

I am trying to explore the new release of ThingWorx version 8.4.

  • I have a Mashup (with list widgets) with selected row property of list binded to the session variables and it is working fine in ThingWorx 8.3.
  • I could see the data when I execute GetGlobalSessionValues service available under CurrentSessionInfo.
  • When I try importing the same entity to 8.4 version, I could see no data is getting generated from the selected row property of list widget and thus not going to the session variables. 
  • GetGlobalSessionValues service available under CurrentSessionInfo appears empty.

Note : When I try binding the text property of text box with the session variables in TWX 8.4, it is working fine.  

I am confused if the issue is with the list widget or selected row property of list widget or with session variables in TWX 8.4 version. Kindly advise.

Best answer by AjaySrini

We had reported this issue to PTC and they have got back to us stating that they were able to replicate this issue in TWX 8.4.0. The issue is with SelectedRows property of the service that populates the data to the List widget when Multi-select option is enabled in the list widget. The doc that I had attached in earlier comment would explain the issue clearly. PTC has recommended us to use BETA Dropdown widget in this case, which is working as expected.  

11 replies

20-Turquoise
March 11, 2019

is the issue happening on the imported entity only or do you observe the same behavior if creating a new one in 8.4? What happens if you duplicate the imported entity?

AjaySrini1-VisitorAuthor
1-Visitor
March 11, 2019

I tried creating a new entity and duplicating the imported entity as well but both of them didn't work. But if bind All Data property to the session variable it is working fine so my complete concern is now on the Selected row property output of a list widget in 8.4

20-Turquoise
March 11, 2019

"SelectedText/ items" binding on the list widget seems to be for input only (feeding data to it). To bind the selected row, I use the same service that populated the List and use SelectedRow to bind it to the sessionvariable. See attached images.