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.
Remarque : This method became available in version 2002.05.00.
Syntaxe
VBScript
entity.AddAttachmentFieldValue attachment_fieldname, filename, description
Perl
$entity->AddAttachmentFieldValue(attachment_fieldname, filename, description);
- Identificateur
- Description
- entity
- Objet Entity représentant un enregistrement de données utilisateur. Si vous omettez cette partie de la syntaxe au sein d'un point d'ancrage, l'objet Entity correspondant
à l'enregistrement de données en cours est faux (VBScript uniquement).
- 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.
- Valeur de retour
- Returns a String. The String returned is empty if the update
is permitted, or an explanation of the error.