02-02-2009 11:42 PM
Does anyone know how to change the filename of an attachment on an existing history item? I've tried setting the .filename for the attachment with no luck. It takes it without an error but it won't save the path i.e.
OurContactHistoryItem.Attachment.FileName = "C:\Temp\NewAttachmentFilename.doc"
OurContactHistoryItem.Attachment.DisplayName = "NewAttachmentFilename.doc"
OurContactHistoryItem.Update
No errors are generated and it works as if everything is ok. However, the Filename never really changes so the next time it is accessed, the same filename is used.
Does anyone know how to do this? Really simple and it works great with ACT! 6.0.
02-16-2009 07:13 PM
02-17-2009 01:50 AM
You may have to remove the attachment altoghther and create a new one to attach to the history if that makes sense.
Tom