Expand my Community achievements bar.

SOLVED

Adobe Launch - accessing Data Element object properties using %...%

Avatar

Community Advisor

Hi experts,


I was wondering whether there is a way to access attributes from an object type DataElement using the percent syntax?

 

Let's say you have this data element that may contain an unspecified list of attributes

// sample data element "myDE"
return {
  "hello": "world"
};

 

Now, is there any chance to use this in XDM, constant data element, etc.?

 

%myDE.hello%

 

just returns "%myDE.hello%" since it does not seem to successfully resolve the expression.

 

I mean the implications of having this feature would be huge since you could save a ton of unnecessary data elements, likely with additional code if you could just map to a result of one single preprocessed data element.

 

Cheers

Cheers from Switzerland!
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

After checking with the Launch developers, this is not an easy change since DE naming may contain dots and a change may break other functionalites.

Cheers from Switzerland!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

After checking with the Launch developers, this is not an easy change since DE naming may contain dots and a change may break other functionalites.

Cheers from Switzerland!