K
Koops
I have a custom contact item form that I would like to set the
"Assigned To" field on. It's not part of the ContactItem object model
so I think I have to use the PropertyAccessor.
Here is my code:
Set oItem = oApp.CreateItemFromTemplate("C:\Contact.oft", oFolder)
schemaN = "http://schemas.microsoft.com/mapi/proptag/x0e04001f"
Set oPA = oItem.PropertyAccessor
oPA.SetProperty schemaN, "Eric"
I receive the error:
The property "http://schemas.microsoft.com/mapi/proptag/x0e04001f"
cannot be parsed or has an invalid format
Does anyone know if I'm on the right track here or how to do this
another way?
Thanks for your help
"Assigned To" field on. It's not part of the ContactItem object model
so I think I have to use the PropertyAccessor.
Here is my code:
Set oItem = oApp.CreateItemFromTemplate("C:\Contact.oft", oFolder)
schemaN = "http://schemas.microsoft.com/mapi/proptag/x0e04001f"
Set oPA = oItem.PropertyAccessor
oPA.SetProperty schemaN, "Eric"
I receive the error:
The property "http://schemas.microsoft.com/mapi/proptag/x0e04001f"
cannot be parsed or has an invalid format
Does anyone know if I'm on the right track here or how to do this
another way?
Thanks for your help