LoadAttachment
Description
Loads an attachment to the specified destination filename.
Note: This method
became available in version 2002.05.00.
Syntax
VBScript
entity.LoadAttachment
attachment_fieldname element_displayname destination_filename
Perl
$entity->LoadAttachment
(attachment_fieldname,
element_displayname, destination_filename);
- Identifier
- Description
- entity
- An Entity object representing a user data record. Inside a hook, if you omit this part of the syntax, the Entity object corresponding to the current data record is assumed (VBScript only).
- attachment_fieldname
- A String containing the attachment field name.
- element_displayname
- A String containing the attachment file name.
- destination_filename
- A String containing the destination filename.
- Return value
- Returns a Long that is empty if the update is permitted, or an explanation of the error.