Display Only Date value from Date field in Dynamic CRM Global Email Template

One of my requirement is to display the date value form date field for my email template. But in CRM 2015, the date value shows with time, eventhough the selected date field as date only format. As Is CRM functionality I tried the below steps.

Create new email template and added my date field in that template using Insert/Update button.

Template date 1

Once I ran that template, I got the following output.

Template date 2

But I need the output as date only (like 1/25/2016).

I open the email template and enter the following text ‘{!lead:estimatedclosedate/@date;}’ and save the template.

Template date 3

Now I ran the template the Output was came with my exception.

Template date 4

I hope this will helps you 🙂

 

 

Advertisements

Author: Rajesh M

Currently working as Technology Lead - CRM for Techmahindra. I have got 7+ years of experience in Microsoft .NET Technologies with 5+ years of dedicated experience in Microsoft Dynamics CRM (I worked with MS CRM (4.0, 2011, 2013 & 2015). Good with MS CRM installation, implementation, customization, extension, upgrade and integration with other legacy systems. My prior stints had been with eQuadriga,Wipro and Infosys where I got the opportunity of implementation of dynamics CRM projects worldwide. I have been involved with challenging projects and environments which have helped me in developing excellent analytic and problem solving skills. A significant part of my work history has involved acting in the capacity of expert,developer and consultant specializing in finding solutions for clients with their day to day software they are using to run their business.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s