구문
VBScript
entity.LoadAttachment attachment_fieldname element_displayname destination_filename
Perl
$entity->LoadAttachment(attachment_fieldname, element_displayname, destination_filename);
- ID
- 설명
- entity
- 사용자 데이터 레코드를 나타내는 Entity 오브젝트.
후크 내에서 구문에 이 부분을 생략할 경우,
Entity 오브젝트가 현재 데이터 레코드에 해당한다고 가정합니다(VBScript에만 해당).
- attachment_fieldname
- 첨부 필드 이름을 포함하는 문자열.
- element_displayname
- 첨부 파일 이름을 포함하는 문자열.
- destination_filename
- 대상 파일 이름을 포함하는 문자열.
- Return value
- 업데이트가 허용될 경우에는 비어 있는 Long 값이 리턴되고
허용되지 않을 경우에는 오류에 대한 설명이 리턴됩니다.