Can functions/expressions be used in ACS content blocks? | Community
Skip to main content
davidh2892249
Level 5
Mar 8, 2021 2:03 PM UTC
Solved

Can functions/expressions be used in ACS content blocks?

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.
bisswangAccepted solution
Employee
Mar 10, 2021 8:43 PM UTC

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

3 replies

bisswangAccepted solution
Employee
Mar 10, 2021 8:43 PM UTC

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

Translate
davidh2892249
Level 5
Mar 11, 2021 10:17 AM UTC
Hi @bisswang, would you have a working example for my use case above? It sounds like you wouldn't recommend it?
Translate