Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Complete Data Elements

Avatar

Avatar
Validate 1
Level 1
dorgan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
dorgan
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
dorgan
Level 1

15-08-2017

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
Employee
thebenrobb
Employee

Likes

145 likes

Total Posts

318 posts

Correct Reply

83 solutions
Top badges earned
Contributor
Seeker
Shape 1
Give Back 3
Give Back
View profile

Avatar
Contributor
Employee
thebenrobb
Employee

Likes

145 likes

Total Posts

318 posts

Correct Reply

83 solutions
Top badges earned
Contributor
Seeker
Shape 1
Give Back 3
Give Back
View profile
thebenrobb
Employee

15-08-2017

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.

Answers (0)