How to pass parameter to customization block | Community
Skip to main content
New Participant
April 20, 2021
Solved

How to pass parameter to customization block

  • April 20, 2021
  • 1 reply
  • 1172 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Amit_Shinde

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

 

Delivery properties screenshot

 

Hope this helps.

 

Regards,

Amit

 

1 reply

Amit_ShindeAccepted solution
New Participant
April 21, 2021

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

 

Delivery properties screenshot

 

Hope this helps.

 

Regards,

Amit

 

JamesAlioAuthor
New Participant
April 21, 2021
Thank you