Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Removing 1 Minute Option from Duration field in Appointment Entity

Posted on by 850

Hi All,

I am trying to remove 1 minute option from duration field in meeting entity.

But it seems using out of the box feature it is impossible to implement.

I have written an unsupported code which is working in Web but not working in Outlook/mobile or USD.

Below is the code. please have a look and let me know what modification in code I have to do to achieve this.

Please Note: I know the consequences of using unsupported code.

function hide1MinuteOption()

{

    debugger;

    var isCrmForMobile = (Xrm.Page.context.client.getClient() == "Mobile")

    if (!isCrmForMobile)

        {

            var row=parent.document.getElementsByClassName("ms-crm-Duration-Row")[0];

            row.style.display='none';

        }

    else

        {

            var row=parent.document.getElementById("scheduleddurationminutes_iSelect.1 minute");

            row.style.display='none';

        }

}

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans