conditional Token without velocity scripting | Adobe Higher Education
Skip to main content
Level 3
August 1, 2022
質問

conditional Token without velocity scripting

  • August 1, 2022
  • 2 の返信
  • 1231 ビュー

hi all,I

 want to do an appointment changed email, but i cant workout how to configure the token, if it requires a zoom link.

 

obviously we want the zoom link to display if its a video appointment, but otherwise we don't want the token to display, how do we do this please?
bare in mind we'll also be using a snippet icon as a bullet alongside this token.

cheers in advance.

Okay so we're just going to use a separate email for the video call apts, this feels like the easiest way with scripting dev.

 

このトピックへの返信は締め切られました。

2 の返信

Darshil_Shah1
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
August 1, 2022

How do you know if it's a video appointment? If this is via a field on the standard/custom/synced SFDC objects, this could be easily done using a small conditional #if else velocity script.

 

SanfordWhiteman
Level 10
August 1, 2022

To Darshil’s point, you can’t suppress content around a token without Velocity.

 

With Velocity, you can use complex logic to determine whether a value should be output as well as whether its surrounding content (TD, TR, etc.) is output.

 

Without Velocity, you can output fallback content if a field is empty ({{lead.Some Field:default=(no link available)}}. But that’s all.