Community
Showing results for 
Search instead for 
Do you mean 
Reply

Attaching documents

Copper Super Contributor
Posts: 59
Country: USA

Attaching documents

Hi everyone,

 

I'm trying to programmatically attach documents to a contact, however I can't seem to figure out which methods I need to use. Here's what I figured out so far: 

Dim attachment As Act.Framework.SupplementalFiles.Attachment = _ FW.SupplementalFileManager.CreateAttachment(SupplementalFiles.AttachmentMate.Activity, _ tempPath, "MSO", False) FW.SupplementalFileManager.AddAttachment(attachment, activityId)

 but this is to attach to an activity. What I need to do is attach it to the documents tab for a contact in ACT.

 

Thanks in advance 

 

Hugo Vale
Datastream Custom Solutions
http://www.datastreamcs.com