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';
}
}