locked
Organizer field in Appointment form RRS feed

  • Question

  • Hi , In my appointment form i had removed the organizer field. In the onload i added this script to add the duration as 1 hour var CRM_FORM_TYPE_CREATE = "1"; var iMinutes = 60; if (crmForm.FormType==CRM_FORM_TYPE_CREATE) { crmForm.all.scheduleddurationminutes.DataValue = iMinutes; crmForm.all.scheduledstart.DataValue=new Date(); var mydate=new Date(); var calc1=mydate.setHours(mydate.getHours()+1); crmForm.all.scheduledend.DataValue=calc1; } THE FORM WAS WORKING PERFECTLY. But now my client wants to add the Organizer field. But its very strange that after adding the form on save its showing error in page now. I am not able to figure it out for what reason this error came,Can anyone help me in this
    Thanks, Aarch
    • Edited by Aarch Friday, August 14, 2009 10:01 AM
    Friday, August 14, 2009 9:54 AM

Answers

  • Hi all, i solved the issue myself .The error came because some needed attributes for the organizer field was not present in the appointment form. After adding required attendeees in the form along with organizer field i didnt get any error
    Thanks, Aarch
    • Marked as answer by Aarch Monday, August 17, 2009 6:03 AM
    Monday, August 17, 2009 6:02 AM

All replies

  • Hi,

    What error box do you get? i assume it's still setting the duration as 60 minutes?

    http://mscrmblog.net
    Microsoft Certified Business Management Solutions Specialist
    Microsoft Certified CRM Developer
    Friday, August 14, 2009 10:43 AM
  • Yes i am getting the duration correctly. No error box is comming. It just shows the "Error in Page " in the bottom of the form ,which does not allow to save the form
    Thanks, Aarch
    Friday, August 14, 2009 10:49 AM
  • Also to add along with this ...the date format in Appointment start time and end time is is in yy/mm/dd,while the client is able to see in dd/mm/yy. also the error is coming only for the client. When i access the same form with same login i am not getting any error message. Plesae help me in this confusion
    Thanks, Aarch
    Friday, August 14, 2009 11:23 AM
  • So the form does not save? find the error msg by double clicking on the 'Error on Page' and show details.

    Also, the user can set personal currency/date/time settings by click logging into CRM then find tools > options > Formats tab and customize your current format.
    http://mscrmblog.net
    Microsoft Certified Business Management Solutions Specialist
    Microsoft Certified CRM Developer
    Friday, August 14, 2009 11:35 AM
  • hi thanks for the reply Th eerror is "Object does not support this property or method" But once i remove the Organizer field they are not getting the error
    Thanks, Aarch
    Friday, August 14, 2009 11:51 AM
  • Hi all, i solved the issue myself .The error came because some needed attributes for the organizer field was not present in the appointment form. After adding required attendeees in the form along with organizer field i didnt get any error
    Thanks, Aarch
    • Marked as answer by Aarch Monday, August 17, 2009 6:03 AM
    Monday, August 17, 2009 6:02 AM
  • Hi

    How did you remove organizer field. Thanks in advance

     

    Mathew

    Friday, January 14, 2011 9:25 AM