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 :
Microsoft Dynamics CRM (Archived)

How to change New Email and Phone activity duration value which is default to 30 minutes

(1) ShareShare
ReportReport
Posted on by


I am using Dynamics 365 online and new to this forum. When i open a new email or Phone activity, the duration defaults is 30 minutes. How can I customise this? I want it to default to 5 minutes and also to add this value.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    I am able to fix this scenario by adding the below java script on form load

    function frmOnload()

    {

         // if form type = create

         if (Xrm.Page.ui.getFormType() ==1 )

         {

              Xrm.Page.getAttribute("actualdurationminutes").setValue(5);

         }

    }

  • Verified answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    That is correct.

    Take a look at the following post for some additional information if necessary:

    xrmconsultant.blogspot.com/.../hi-all-ok-so-first-of-all-apologies-for_22.html

  • Suggested answer
    yleclerc Profile Picture
    1,549 on at

    Why use code instead of Real-time Workflow?

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans