AnsweredAssumed Answered

How do I get a value from a Valuemap key/value pair by using the key?

Question asked by iskillings on Feb 24, 2016
Latest reply on Feb 24, 2016 by Benjamin Parish

I have a value map which has key/value pairs.

 

Ex:

Window_StartTimes is a ValueMap

It has the following "members":

Field=Group1, Value="02/13/14 00:30:00"

Field=Group2, Value="02/16/14 12:30:45"

Field=....

 

I know how to see if group 2 has a window: hasField(Window_StartTimes,'Group2') but how would I get "02/16/14 12:30:45" without turning the vmap into an array of keys and iterating through that array?

 

I can't imagine there isn't something like this available, so I'm assuming I'm missing something.

Outcomes