Table of Contents

API - Attachments

This is a fork of page 30039 "APIV2 - Attachments" from version 27.0.38460.40573. Added support for Extra Fields.

Object Definition

Object TypePage
Object ID70314154
Object NameQWESR API - Attachments
Source TableAttachment Entity Buffer

API Definition

APIPublishersmartApps
APIGroupspider
APIVersionv1.0
EntitySetNameattachments
EntityNameattachment

Events

Name Description
OnAfterInsert(Record "Attachment Entity Buffer"; Record "Incoming Document Attachment"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is inserted.
OnAfterModify(Record "Attachment Entity Buffer"; Record "Incoming Document Attachment"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text; List of [Integer]) Raised after a record is modified.
OnGetExtraValues(Record "Attachment Entity Buffer"; Record "Incoming Document Attachment"; Text; Text; Text; Text; Text; Text; Text; Text; Text; Text) Raised after a record is read from the database. Makes it possible to set the ExtraValues 1..10, to be returned to the client.

Controls

Type Name Data Type Read-only
Field id Yes
Field parentId
Field fileName
Field byteSize
Field attachmentContent
Field lastModifiedDateTime Yes
Field parentType
Field extraValue1 Text
Field extraValue2 Text
Field extraValue3 Text
Field extraValue4 Text
Field extraValue5 Text
Field extraValue6 Text
Field extraValue7 Text
Field extraValue8 Text
Field extraValue9 Text
Field extraValue10 Text

This documentation is generated from Spider v27.4