Can functions/expressions be used in ACS content blocks? | Community
Skip to main content
davidh2892249
Level 5
March 8, 2021
Solved

Can functions/expressions be used in ACS content blocks?

  • March 8, 2021
  • 1 reply
  • 1696 views

Hi All,

 

Can anyone confirm if it is possible to use functions (the ones that can be used to manipulate data in expression editor in workflows) in ACS content blocks, with the purpose of manipulating the personalised data that is generated when email deliveries prepare.

e.g. hash an email address without having to store the hashed version on the profile table.

 

Something like: <%= Md5Digest(context.profile.email)%>


That specifically doesn't work, but I'd love to hear if something similar is possible.

Thanks 

David

 

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 bisswang

Hi David,

technically functions can be called at this place.

Though there is no list of officially supported functions and that may change any time.

 

Sometimes the functions available in Campaign Classic work in Campaign Standard as well. There seems to be a MD5 function in ACC, but not sure if it works in ACS as well

https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/f-digestStrMd5.html

 

Regards

Ramon

1 reply

bisswangAdobe EmployeeAccepted solution
Adobe Employee
March 10, 2021

Hi David,

technically functions can be called at this place.

Though there is no list of officially supported functions and that may change any time.

 

Sometimes the functions available in Campaign Classic work in Campaign Standard as well. There seems to be a MD5 function in ACC, but not sure if it works in ACS as well

https://docs.adobe.com/content/help/en/campaign-classic/technicalresources/api/f-digestStrMd5.html

 

Regards

Ramon

davidh2892249
Level 5
March 11, 2021
Hi @bisswang, would you have a working example for my use case above? It sounds like you wouldn't recommend it?