Description - I LOVE (yes, that's uppercase!) the Web SDK "Data Variable" Data Element Type in conjunction with the "Update variable" action. Especially with the new UI, it looks almost exactly like AppMeasurement, even better. What I am missing is a way to initialize the DE in a similar way an "XDM object" can be defined directly in the Data Element section, to set an initial state, and which you can build upon in your rules to temporarily enhance it. After the rules have completed, the initial state is reset.
In my current setup with the ACDL (Adobe Client Data Layer), I need a standalone rule that is listening to "all events" and runs before any other ACDL triggered rule that further updates the variable, just to achieve this functionality.
Or am I missing a step / functionality? As a workaround, I could likely also create a "custom code" DE instead, that defines the core data structure as JS object, and can then be merged with the variable part and the result used instead. This would remove the need for an additional rule, but would also require you to be savvy enough to write that code yourself.
Why is this feature important to you? - It creates the need for unnecessary workarounds to set the globally applied pieces on the DE.
How would you like the feature to work? - The XDM object can also be defined in the Data Elements section, why not the variable data element as well?
In the DE definition, why not already display the same UI that is presented in the update variable step?
Current Behaviour - Cumbersome additional step/rule needed to set commonly used parts on the data element e.g., through a custom rule that runs before the actual page view or interaction rule