Accessing dictionary properties programatically

Hi everyone

I am trying to initialize dictionary in my ctl code. Please see the attached image. I am able to initialize value of
“entryName1” using:
dictionary.entryName1 = “some_Value”

but I am not able to access properties on the right hand side (key,key1…key3) programatically. Could you please help…

Hello,

Properties in the right side of your screenshot unfortunately can not be accessed in CTL code. They are supposed to be some kind of source of metainformation about the dictionary entry (initial value, charset, …), not a storage for user’s data.

If you want to store more values into one dictionary entry, you can use type Map with content type e.g. String. Map type does not have initial value but the value can be saved into the dictionary entry using this syntax:

dictionary.myEntry = "$myMapVariable";

Kind regards,