11-06-2011 12:28 PM
I'm trying to create a new Contact History record programmatically, adding a File reference as a Shortcut and not an Attachment. I want to store the File in a directory of my own choosing rather than the Attachments directory.
The references to "CreateShortcutAttachment()" seem to apply to Supplemental files, not a History record. Am I missing something? I've searched the SDK info and Samples info and did not find any references to attaching a Shortcut as a File in a History record.
Any Code would be helpful and appreciated!
11-08-2011 07:01 AM
No matter where the original file is located, Act will create a shortcut file that will go in the supplemental file folder to facilitate synchronization. In the CreateShortcutAttachment() method, you can supply a path to any directory. Attachments and items on the document tab are actually history items of type Library Document.