web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Marketing Email - Custom Code to filter dates

(0) ShareShare
ReportReport
Posted on by 210

Hi,

Is it possible to add code to filter on dates?

For example: How do I filter on a date that is present in my project (cf. Opportunity) ? for example "this.enr_dateinstallation" = today ?

<div data-editorblocktype="Code"><div class="codeBlock"><p>Projets opportunity_contact_parentcontactid :</p>

<ul>

<!-- {{#each contact.opportunity_contact_parentcontactid}} -->

<li>{{this.name}} - {{this.enr_nprojet}} </li>

<!-- {{/each}} -->

</ul>

<p>Projets test filtre :</p>

<ul>

<!-- {{#each contact.opportunity_contact_parentcontactid}} -->

{{#if (eq this.enr_statutgeneralprojet 2)}} <li>{{this.name}} - {{this.enr_nprojet}} </li>{{/if}}

<!-- {{/each}} -->

</ul>

</div>

Thank you for your help.

Kind regards.

Fa

I have the same question (0)
  • Suggested answer
    mauro mar Profile Picture
    Microsoft Employee on at

    Hello FKO,

    this (provide #eq, #lt, #lte, #gt, #gte operators) at the moment is not fully supported. we have it in our backlog for a future release.

    Hope this helps,

    M

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 208 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 80

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans