Setting Up Attachments Anywhere

To use Attachments Anywhere with Dovetail Agent, a configuration item must be set in the fc_client_config.dat file and imported to your database.

Code to get the configuration item:

// get any related attachments (for count only) 
// to overide config_itm, 
// set attach_type = 0 for classic style 
// set attach_type = 1 for anywhere style 
var attach_type = FCSession.Item("config_itm.attachment_style.i_value"); 
if(attach_type == "") attach_type = 0;

The next line is the attach_type mode, which sets the method of attachment handling used in your database (0 = Classic Clarify, 1 = Attachments Anywhere):

   attach_type = 1;
   attach_type = 0;

Note: The Classic Attachment style is only valid for those objects in Clarify that have relations from the object itself to the doc_inst object, such as Case, CR, Site, etc.

See Also

Attachments Anywhere

Adding an Attachment

Displaying an Attachment

Downloading an Attachment

Sharing Attachments

Next

Adding an Attachment

Setting Up Attachments Anywhere