Hi all, hopefully somebody worked on a related issue before. I'm trying to set up conditional statement in an email to display dynamic content only if the field is not empty.
This is the code that I'm trying to use. However MSDN tells me that it contains a syntax error. I'm trying to populate values from a field that belongs to the Content Settings entity. Is it even possible?
If the URL field for Twitter is empty in the Content Settings I don't want to display the Twitter icon. That is the logic I'm trying to apply.
<p>
{{#if (eq msdyncrm_contentsettings.msdyncrm_twitterurl}} '')}}
Yes
{{/if}} </p>
The syntax error is likely coming because of extra curly braces at the end of "twitterurl" - removing them should fix the issue:
{{#if (eq msdyncrm_contentsettings.msdyncrm_twitterurl'')}}
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156