Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Using Custom Codes in Dynamics 365 marketing

(0) ShareShare
ReportReport
Posted on by 235

HI, 

I have created a #each to merge some fields from a 1:N relationship. 

Now my question is: Why do I get the time into the field even though the field in CRM is only a date field?

Din søknadsid er:

{{#each contact.new_boligsoknad_contact_new_kontaktid}}
{{this.new_soknadsid}}

Din ønske dato vill bli: {{this.new_onsketsoknadsdato}}
{{/each}} 

Results:

pastedimage1588591903401v1.png

pastedimage1588592139879v2.png

  • Camilla Larsson Profile Picture
    Camilla Larsson 235 on at
    RE: Using Custom Codes in Dynamics 365 marketing

    Thank you so much for your answer. I will see if text field is better.

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Using Custom Codes in Dynamics 365 marketing

    Hi Camilla,

    Because Date and Time field is still formatted in yyyy-MM-dd MM:ss at back-end, 

    the "Date only control" just processes the Date and Time field to yyyy-MM-dd at front-end,

    while dynamic expression reads date and field value from back-end, thus result of marketing email is same as back-end original format. 

    If you would like to display customized formatted date, please use an alternative text field to save yyyy-MM-dd value.

    Or wait for the enhancement for dynamic expression in the future release.

    Regards,

    Clofly

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans