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

SAP Content Studio encoding curly brackets inside of link href attribute

Former Member
0 Likes
355

I upload this html as a file (through the API or UI) to SAP Content Studio.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="format-detection" content="date=no">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="x-apple-disable-message-reformatting">
    <title></title>
</head>

<body class="body" leftmargin="0" topmargin="0" rightmargin="0" bgcolor="#ffffff"
      style="margin:0 !important; padding:0 !important; width:100% !important;">
<div class="sapMktBlock" data-sap-hpa-ceimo-block-type="SUBJECT">~TAXIDUMMYSUBJECTLINE~</div>

<div class="sapMktBlock">

    <a target="_blank" style="color:#808080; text-decoration:underline;display:block;"
       href="${form(campaign.name,'Contacts_List.EMAIL_ADDRESS_', 'Contacts_List.FIRST_NAME','ORGANISATION')}/cat_dog=cat/text=fruit/date=1988-05-05/dropdown-free=1/dropdown=doc/mod_field=modmodmod"
       dropdown="doc**" dropdown-free="1**" date="1988-05-05**" text="fruit**" cat_dog="cat**">
        Online Version
    </a>
</div>
</body>
</html>

Link inside of this html has attribute with as I understood is some kind of the way of pasting different data into the email

${form(campaign.name,'Contacts_List.EMAIL_ADDRESS_', 'Contacts_List.FIRST_NAME','ORGANISATION')}

I Upload this html as a file (through the API or UI) to Content Studio . And in result I got encoding result.

$%7Bform(campaign.name,'Contacts_List.EMAIL_ADDRESS_',%20'Contacts_List.FIRST_NAME','ORGANISATION')%7D

Is there any way to upload data without encoding?

Do you have more documentation about ${form(...)} ?

If I fixing this html using SAP Content Studio Source Code Editor than after saving I getting the same encoding result.

Accepted Solutions (0)

Answers (1)

Answers (1)

graeberm
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Sergei,
in the link reference a "Javascipt Template Literals" notation is used to personalize the link.
This functionality is not supported in the Email Editor, because a Javascript environment is required for this. In SAP Marketing, however, email personalization does not take place in the frontend but in the Backend (ABAP). The personalization of links is only possible using the available personalization attributes. Further information can be found here:
Application Help - Using Links in Emails and Email Templates at: https://help.sap.com/viewer/b88f770e4b7c4ecead5477e7a6c7b8f7/2002.500/en-US/e04d27551ae78b43e1000000...

Regards, Michael