Skip to main content
12-Amethyst
September 19, 2017
Question

Selected text on dropdown datetime value not working

  • September 19, 2017
  • 2 replies
  • 1574 views

I have a dropdown with 3 choice display value is String, value is Datetime.

I want to save in session value selected on dropdown and then i will connect Selected text of dropdown to the output of CurrentSessionInfo.getGlobalVariables.dateStored that is a datetime value.

I thought to have item preselected when i refreshed the page but i had not.

I tryed also with string and it works so i thing it is a problem with datetime value, anyone can help please ?

thanks

2 replies

20-Turquoise
September 19, 2017

What is the version of your ThingWorx platform? Have you tried a different browser?

It would be helpful if you could attach your imported sample entities to demonstrate the problem.

aziliotto12-AmethystAuthor
12-Amethyst
September 20, 2017

Hi Polina, i have 7.1.3-b14,

here i put the screenshot of how i mapped the saved datetime on session to the combo, as i told you before, using string as value of  dropdown it works but i need to use datetime.

combo settings:

dropdownsettings.jpg

combo datashape

getcombo_service.jpg

events:

events1.jpg

events2.jpg

i hope is clear, so you can reproduce

thanks