DeleteAttachmentFieldValue
Description
Deletes the attachment. Deletes an attachment from an entity from the given attachment field using the given display name. The display name is the attachment filename.
Note: This
method became available in version 2002.05.00.
Syntax
VBScript
entity.DeleteAttachmentFieldValue
attachment_fieldname,
element_displayname
Perl
$entity->DeleteAttachmentFieldValue
(attachment_fieldname,
element_displayname);
- 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.
- attachment_fieldname
- A String containing the attachment field name you are adding this attachment to.
- element_displayname
- A String containing the attachment file name.
- Return value
- Returns a String. The String returned is empty if the update is permitted, or an explanation of the error.