AddAttachmentFieldValue

Description

Inserts the file and description into the list of attachments. Adds a new attachment to an entity to the specified attachment field, with the given filename and description.

Syntax

Perl


$entity->AddAttachmentFieldValue(attachment_fieldname, filename, 
description); 
Identifier
Description
entity
An Entity object representing a user data record.
attachment_fieldname
A String containing the attachment field name you are adding this attachment to.
filename
A String containing the file name of the attachment.
description
A String containing a description of the attachment.
Return value
Returns a String. The String returned is empty if the update is permitted, or an explanation of the error.