since ‎10-09-2019
‎14-01-2021
kaio61751785
Level 1
Re: Expressions Replaced by Adobe Target Server
Avatar

kaio61751785

kaio61751785
- Adobe Target
Thank you. Based on your screenshots that looks like it will work. I appreciate you taking the time to look through. However because I have several expressions it does not look like it will scale well. Instead I will just switch code back to ES5.

Views

21

Likes

0

Replies

0
Expressions Replaced by Adobe Target Server
Avatar

kaio61751785

kaio61751785
- Adobe Target
Using Form Composer we are attempting to use Template Literals as part of our code. But the expressions are being removed by Adobe Target's servers and never make it to the DOM. Is there a way to tell Adobe Target not to make any server side substitutions? Code we have got in a HTML offer, also tried to use backslashes to stop adobe server substitutions; let myText = 'The Text!'; let theData = { moreText: 'This is more text!' }; console.log(`\${myText}`); console.log(`${myText}`); console.log(`\\${myText}`); console.log(`${theData.moreText}`); console.log(`${theData.moreText}`); console.log(`\\${theData.moreText}`); console.log(`${theData['moreText']}`); console.log(`${theData['moreText']}`); console.log(`\\${theData['moreText']}`); Screenshot of what gets injected into the HEAD by Adobe Target when preview link is loaded;

Views

73

Likes

0

Replies

2