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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to pass parameter to customization block

JamesAlio
Level 2
Level 2

Hello ,

i'm working on a Html customization block which i have to call in many places and in each place i have to show a different texte.

this is the code of my customization block :

 

<div>
 <p>here the dynamic text</p>
</div>

 

im calling my block in an email template using this syntax  :

 

<%@ include view='myCustomBloc' %>

 

my issue is that i want to pass my custom text as a parameter when i call my custom bloc  in order to show the correct text according to the email template.

 

Any help please !

 

Regards

does adobe campaign support this mode

1 Accepted Solution
Amit_Shinde
Correct answer by
Level 3
Level 3

Hi @JamesAlio,

 

You need to create the variable in the delivery properties if you want to personalize the content on an email template basis & need to pass that same variable in the personalization block. PFB screenshot for reference.

 

Personalization block screenshot

Amit_Shinde_0-1618978322828.png

 

Delivery properties screenshot

Amit_Shinde_1-1618978414684.png

 

Hope this helps.

 

Regards,

Amit

 

View solution in original post

2 Replies
Amit_Shinde
Correct answer by
Level 3
Level 3

Hi @JamesAlio,

 

You need to create the variable in the delivery properties if you want to personalize the content on an email template basis & need to pass that same variable in the personalization block. PFB screenshot for reference.

 

Personalization block screenshot

Amit_Shinde_0-1618978322828.png

 

Delivery properties screenshot

Amit_Shinde_1-1618978414684.png

 

Hope this helps.

 

Regards,

Amit

 

View solution in original post