XML Memo Data in Adobe Campaign Classic

Avatar

Avatar
Level 1
anurags71391525
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
anurags71391525
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile
anurags71391525
Level 1

28-01-2020

Hi Adobe Rockstars,

 

Is there a way to populate XML data of an email delivery? My use case is that I need to apply certain Typology rules and I need to pick dynamically created block internal name created via publication model in the Email Delivery. 

Kindly advise. 

 

Thanks

Anurag

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

977 likes

Total Posts

1,096 posts

Correct reply

516 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

977 likes

Total Posts

1,096 posts

Correct reply

516 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

29-01-2020

Hi,

 

Are you trying to read an xml field in a control typology rule?

 

Thanks,

-Jon

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 5
Level 3
LaurentLam
Level 3

Likes

18 likes

Total Posts

57 posts

Correct reply

7 solutions
Top badges earned
Affirm 5
Boost 10
Contributor
Applaud 5
Affirm 3
View profile

Avatar
Affirm 5
Level 3
LaurentLam
Level 3

Likes

18 likes

Total Posts

57 posts

Correct reply

7 solutions
Top badges earned
Affirm 5
Boost 10
Contributor
Applaud 5
Affirm 3
View profile
LaurentLam
Level 3

31-05-2021

Hi @anurags71391525 

 

You can check the typology rule "viral" and use an indexOf for the condition such as:

if (delivery.content.html.source.indexOf(internalNameToSearch) != -1){

The other option is a bit tricky and a bit ugly: I would only recommend it if you're not confortable at all with JS:

1- create a typology rule with type "filter"

2- as filter use the condition "1 equal 1"

3- back on "general" use application conditions "Depending on the delivery" and as rule application conditions use XML memo contains 'xxxxxxx' where xxxxxxx is the internalName of the block you're searching