Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

How to pass parameter to customization block

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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