Show / Hide Table of Contents

    API - Attachments

    This is a fork of page 30039 "APIV2 - Attachments" from version 23.3.14876.15704. 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 Guid Yes
    Field parentId Guid
    Field fileName Text[250]
    Field byteSize Integer
    Field attachmentContent Blob
    Field lastModifiedDateTime DateTime Yes
    Field parentType Enum "Attachment Entity Buffer Document Type"
    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.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX