Accessing Interaction.GlobalDictionary Variables/Properties by Dynamic Name
We're looking for a means of accessing the GlobalDictionary variables/properties by name, as if it were a standard collection.
IE: globalDict.Collection.Item['PropertyName'] = NewValue;
Any ideas on how to build out an automation or script without using a hard-coded switch statement to maintain the text->object relationship that allows accessing the GlobalDict variables by string name? We need to set the values of the dictionary, but we have the var names as strings, not objects.
Thanks,
-Chris
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Can you instead use a LookupTable setup as a key/value pair? That is what I have always done in this use case. Basically, you setup the LookupTable with two columns. You can call AddRecord to add a row into it and GetRecord to get the data out.