Leveraging variables calculated in content block in Email Body
Hi all,
Context:
Transactional email through Message Center needing values calculated, mainly for date formatting purposes. There are multiple places where this is needed and in different formats.
Question:
Can all the variables be defined in a single content block and called in the body of the Email like in Adobe Campaign, e.g., <%= variable_name %>? Or do you have to create a content block for each instance?
Example: The bold text below needs to be reformatted from a single attribute from the payload.
in payload: event date: 2022-06-07T12:52:09
in Email Body:
June 07, 2022 * Location * 12:52
tracking url parameter: JUN:2022
Currently, I have created 3 separate content blocks for each displayed date / time. But having to create multiple content blocks for each Email could get unmanageable and wanted to understand if this can be consolidated, without having to do the entire email in the content block.
Appreciate your help in advance,
Jim