cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create html code with condition assignment

0 Likes
567

Hi,

I would like to create an email template with various condition assignments in a html template editor and upload the html template into the content studio.

What kind of coding needs to be integrated in order for the content studio to know that this is a conditional content?

Thanks for your answer and regards,

Luisa

Accepted Solutions (0)

Answers (2)

Answers (2)

KunalBansal
SAP Champion
SAP Champion

Hello luisaschuetz,

You can create the HTML code in any external editor, but you cannot define the condition the way you want as content studio won't be able to detect it.

What you can do is that you can import the html as it is and then wherever you need conditions, you need to insert it in Content Studio itself. This is the standard way it works.

Thank you.

Best Regards,

Kunal Bansal, Senior Marketing Consultant

former_member226
Employee
Employee
0 Likes

Hi,

Have to tried to create a dummy template with conditions in Content Studio and then downloading it from SMC as an HTML file? This way you will understand how SMC is actually storing & rendering the content for campaign execution at run time.

Now using the external editor you can design a template and then taking the reference to the already downloaded HTML template you can adjust the external template to accommodate conditions. But this will definitely need HTML,CSS as well as JS expertise otherwise you will get an error due to the extensive check that SMC has for the template upload functionality.

Hope that helps!