Answered by:
Default appointment start time in CRM 2011 Online

Question
-
As with every other version of CRM, the default time for a new appointment or task is 12:00am. Not a huge problem but still annoying that to get to a 3pm appointment users have to scroll all the way down through the list. Who has appointments at midnight?!
Is there a supported way in CRM 2011 to change the default start time, so that it is possible to make this change in the online version?
Thanks
Monday, April 4, 2011 9:47 AM
Answers
-
Hi,
Yes, you need putting into the onload event. And the code for CRM 2001 you can use following:
var att = Xrm.Page.getAttribute('scheduledstart'); var curDate = att.getValue() curDate.setHours(15,0,0); att.setValue(curDate);
- Proposed as answer by Donna EdwardsMVP Monday, April 11, 2011 2:21 PM
- Marked as answer by BusinessWorks Monday, April 11, 2011 2:24 PM
Monday, April 11, 2011 11:43 AM -
- Proposed as answer by Donna EdwardsMVP Monday, April 11, 2011 2:21 PM
- Marked as answer by BusinessWorks Monday, April 11, 2011 2:24 PM
Saturday, April 9, 2011 1:11 PM
All replies
-
- Proposed as answer by Donna EdwardsMVP Monday, April 11, 2011 2:21 PM
- Marked as answer by BusinessWorks Monday, April 11, 2011 2:24 PM
Saturday, April 9, 2011 1:11 PM -
Thanks Donna. Just to be clear, I should be putting the Jscript into the onload event for task/appointment/phone call/custom activity?
Also, as it is 2011, I'll need to change the Jscript to the new xrm format, do you have a link to an example of the code that works in 2011?
Thanks again
Monday, April 11, 2011 8:35 AM -
Hi,
Yes, you need putting into the onload event. And the code for CRM 2001 you can use following:
var att = Xrm.Page.getAttribute('scheduledstart'); var curDate = att.getValue() curDate.setHours(15,0,0); att.setValue(curDate);
- Proposed as answer by Donna EdwardsMVP Monday, April 11, 2011 2:21 PM
- Marked as answer by BusinessWorks Monday, April 11, 2011 2:24 PM
Monday, April 11, 2011 11:43 AM