Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Configuring new values by removing the standard options for duration field

Posted on by 77

Hi Community,

I have a query regarding the 'Duration' field on the activities like Tasks and Phone Calls which currently shows option values as multiples of 15 minutes, but we would prefer them to be configurable for example as 1, 5, 10, 15, 20, 30, 45,60 etc., 

Is there any possibility of achieving this task either by a custom field or using JavaScript. Please suggest. Thanks

Also I have seen a useful video as below but it is unsupported so I am looking for better options. Thanks

PCF Academy - Unlocking Blocked Attribute Types - YouTube

  • D365Admin Profile Picture
    D365Admin 77 on at
    RE: Configuring new values by removing the standard options for duration field

    OK, Thanks for replying to my query. I will and try and implement that.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,313 Super User on at
    RE: Configuring new values by removing the standard options for duration field

    Hello,

    If you want to resolve the task the supported way you can use the following approach:

    1. Create an optionset with values 1, 5, 10, e.t.c.

    2. Place it on the form and develop a JS that will copy the value of the field from your custom "duration" to the "OOB" one.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans