I am trying to do something similar on the backend.
For example, I have a string of UTMs and I want to create a number of property/value pairs. I would like to avoid using the ‘property of’ block at each following step. I would like to use the variable name directly. As I do in UI Buikder. Is this possible?
If I understand your question clearly the answer is yes, you can.
just create a variable utmValue and put/set the result of the “get property of” block and then use the variable
Yes, I am aware of that. The question is whether I can generate this via code, instead of using the ‘Create variable’ option in the menu. In UI Builder, in Page Data, I can add variables via code.
Yes, using your screenshot below, lets assume that I need to create 1000 variables, result1, result2, …, result1000.
Is it safe to assume that I need to click on the ‘Create variable’ grey button 1000 times?
In UI Builder, using logic with a loop such as the below, I can create the 1000 variables in Page Data automatically. I know I can do the same in Codeless if I create 1 variable that contains an object or list. The question is whether I can do this at the variable level, and I assume this is not possible.