Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Complete Data Elements

Avatar

Level 1

Is there a way to store Objects as Data Elements?  The reason I ask is we have a current data layer that we utilize and I would like to only define one data element call it model, then when populating extension values populate them as "%model%.attribute"  is there a way to do this?

1 Accepted Solution

Avatar

Correct answer by
Employee

You can store objects as data elements, but you can't access them with the

pattern because everything outside of the %% is interpreted as literal text.

And you can't use

because people actually use '.' in their data element names and we can't support both ways of doing it.  And our developers are sad about that.

If you're doing this inside of custom code, then you can do something like

to get access to those attributes.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

You can store objects as data elements, but you can't access them with the

pattern because everything outside of the %% is interpreted as literal text.

And you can't use

because people actually use '.' in their data element names and we can't support both ways of doing it.  And our developers are sad about that.

If you're doing this inside of custom code, then you can do something like

to get access to those attributes.