1

I wonder if there's a function that prints out the content of an HTML file, inside another HTML file?

Below's HTML #1;

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <p>
        Content
    </p>
</body>
</html>

HTML #2;

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    %%[function]%%
</body>
</html>

I want the function inside HTML#2 to print out the p tag, which is in HTML#1.

1 Answer 1

1

You can save HTML#1 as an content block and retrieve it via ContentBlockbyID

You can find more information about the function here: http://help.marketingcloud.com/en/documentation/ampscript/ampscript_syntax_guide/content_ampscript_functions2/contentblockbyid6/

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .