You need to sign in to do that
Don't have an account?
rob3000
copy date/time fields
I try to copy Event.StartDateTime and Event.EndDateTime to custom date/time fields with javascript, but I receive an error "Error: Invalid Date and Time". What am I doing wrong?
See this :
http://boards.developerforce.com/t5/Apex-Code-Development/Trigger-on-event-object-is-not-invoked-when-event-startdate-is/m-p/370773#M65991
Thanks; but the link you posted does not help me with my problem. Let me be more specific:
This is my custom button javascript which creates a new object out of an event:
/a0M/e?retURL={!Event.What}&CF00N20000002tGRM={!Account.Name}&CF00N20000002tGRM_lkid={!Account.Id}&00N20000002tLH8={!Event.Location}&Name={!Event.Subject}&00N20000002tJEg={!Event.StartDateTime}&00N20000002tJF0={!Event.EndDateTime}&00N20000002tJAo={!Event.Description}&{!Event.Who}&CF00N20000002tJAe={!Contact.Name}&00N20000002tJAe_lkid={Contact.Id}
00N20000002tJEg = Start_Date__c (field type: DateTime)
00N20000002tJF0 = End_Date__c (field type: DateTime)
For both fields I receive this error message: "Error: Invalid Date and Time". The date shows up in the new field though, but not the time.
I have the same problem, any help would be greatly appreciated.
/a00/e?
00NQ0000001Ckgb={!Event.Subject}&
00NQ0000001Ckgl={!Event.Location}&
00NQ0000001Ckgg={!Event.Description}&
00NQ0000001Ckgq={!Event.Type}&
00NQ0000001Ckgv={!Event.StartDateTime}&
00NQ0000001Ckgr={!Event.EndDateTime}&
00NQ0000001CkiX={!Event.Id}&
CF00N30000009pbK7_lkid={!Event.What}&
CF00N30000009pbK7={!Event.What}
&retURL={!Event.Id}
I have the same problem, any help would be greatly appreciated.
/a00/e?
00NQ0000001Ckgb={!Event.Subject}&
00NQ0000001Ckgl={!Event.Location}&
00NQ0000001Ckgg={!Event.Description}&
00NQ0000001Ckgq={!Event.Type}&
00NQ0000001Ckgv={!Event.StartDateTime}&
00NQ0000001Ckgr={!Event.EndDateTime}&
00NQ0000001CkiX={!Event.Id}&
CF00N30000009pbK7_lkid={!Event.What}&
CF00N30000009pbK7={!Event.What}
&retURL={!Event.Id}
Thanks!