N
NeilT
Hi,
I have a custom form in the Organisation Forms Library which is a
modified Appointment Item ie: Page 1 of the form is the normal
Appointment and Page 2 includes a couple of custom fields.
When a user saves an item to their private calendar I want to
programatically create a similar item in a public calendar (I am
modifiying Tom Howes Office Calendar).
I can create a normal Appointment item but not one with my modified
pages.
I think I need to change the content class away from the default
Appointment (IPM.Appointment) to my custom form
(IPM.Appointment.myCustomAppointment) but I can't work out the syntax
In an ideal world I could go:
Dim objNewItemInPublicFolder As New
CDO.Appointment.myCustomAppointment
but I know this is not possible
Is it along the lines of:
objNewItemInPublicFolder.Fields("urn:content-classes") =
"IPM.Appointment.myCustomAppointment"
Can someone point me in the right direction please?
Many Thanks.
I have a custom form in the Organisation Forms Library which is a
modified Appointment Item ie: Page 1 of the form is the normal
Appointment and Page 2 includes a couple of custom fields.
When a user saves an item to their private calendar I want to
programatically create a similar item in a public calendar (I am
modifiying Tom Howes Office Calendar).
I can create a normal Appointment item but not one with my modified
pages.
I think I need to change the content class away from the default
Appointment (IPM.Appointment) to my custom form
(IPM.Appointment.myCustomAppointment) but I can't work out the syntax
In an ideal world I could go:
Dim objNewItemInPublicFolder As New
CDO.Appointment.myCustomAppointment
but I know this is not possible
Is it along the lines of:
objNewItemInPublicFolder.Fields("urn:content-classes") =
"IPM.Appointment.myCustomAppointment"
Can someone point me in the right direction please?
Many Thanks.