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.

Remarque : This method became available in version 2002.05.00.

Syntaxe

VBScript

entity.DeleteAttachmentFieldValue attachment_fieldname, element_displayname 

Perl

$entity->DeleteAttachmentFieldValue(attachment_fieldname, element_displayname); 
Identificateur
Description
entity
Objet Entity représentant un enregistrement de données utilisateur. 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.
Valeur de retour
Returns a String. The String returned is empty if the update is permitted, or an explanation of the error.

Commentaires