Community
Showing results for 
Search instead for 
Do you mean 
Reply

How do i attach Document in ACT under Document TAB through ACT SDK

New Member
Posts: 3
Country: INDIA

How do i attach Document in ACT under Document TAB through ACT SDK

I want to attach document under Contact/ Company using ACT ! SDK please help me. I have tried it using SupplimentalFileManager but unfortunately was not able to do that.
New Member
Posts: 4
Country: USA

Re: How do i attach Document in ACT under Document TAB through ACT SDK

[ Edited ]
Hi iliyas_mulla

Create the attachement:

Act.Framework.SupplementalFiles.Attachment attachment = ActFm.SupplementalFileManager.CreateAttachment(Act.Framework.SupplementalFiles.AttachmentMate.History, Document, Display text, Personal boolean)

 


Initialize a new HistoryType of Library:

Act.Framework.Histories.HistoryType historytype = new Act.Framework.Histories.HistoryType(Act.Framework.Histories.SystemHistoryType.Library)

 


Then create the history using the appropriate overload and using your attachment and historytypes parameters.

Message Edited by sanfordsilver on 07-10-2008 01:57 PM
Message Edited by sanfordsilver on 07-10-2008 02:00 PM
New Member
Posts: 3
Country: INDIA

Re: How do i attach Document in ACT under Document TAB through ACT SDK

I know we can do this for Notes, History and Activity but I wanted to add document under Dcoument Tab.

New Member
Posts: 4
Country: USA

Re: How do i attach Document in ACT under Document TAB through ACT SDK

The SystemHistoryType of Library accomplishes that.
New Member
Posts: 3
Country: INDIA

Re: How do i attach Document in ACT under Document TAB through ACT SDK

Thanks it worked fine.

Thanks again