Table 18122311 EOS BlobSpec

Table 18122311 EOS BlobSpec

A general purpose BlobSpec to reference binary data from various sources.

LanguageCaption
da-DKBlobSpec
de-DEBlobSpec
es-ESBlobSpec
fr-FRBlobSpec
en-USBlobSpec
it-ITBlobSpec
nl-NLBlobSpec

Fields

Entry No. (1)

Integer

A generic primary key.

LanguageCaption
da-DK# Nr
de-DELfd.-Nr.
es-ESEntrada Nº
fr-FRNo. d’entrée
en-USEntry No.
it-ITNr. movimento
nl-NLEntry No.

Content Type (10)

Option

Base64String (0) , Url (1)

Specifies the content type of the BlobSpec.

LanguageCaption
da-DKIndholds type
de-DEContent Type
es-ESTipo de contenido
fr-FRType de contenu
en-USContent Type
it-ITContent Type
nl-NLContent Type

Content (11)

Blob

Contains a string representation of a binary object. The format of the data depends on Content Type.

LanguageCaption
da-DKIndhold
de-DEContent
es-ESContenido
fr-FRContenu
en-USContent
it-ITContent
nl-NLInhoud

Methods

Serialize

procedure Serialize(): JsonObject

Serializes this instance to JSON.

Parameters / Return Value

  • Returns JsonObject

    The JSON representation of this instance.


Deserialize

procedure Deserialize(jt: JsonToken)

Deserializes an instance from a JSON representation.

Parameters / Return Value

  • jt JsonToken

    A JSON representation of a BlobSpec. This will be interpreted as a JSON object.


Deserialize

procedure Deserialize(jo: JsonObject)

Deserializes an instance from a JSON representation.

Parameters / Return Value

  • jo JsonObject

    A JSON representation of a BlobSpec.


FromStream

procedure FromStream(is: InStream)

Creates an instance of a BlobSpec from a stream.

Parameters / Return Value

  • is InStream

    The data stream where to read data from.


FromBlob

procedure FromBlob(var TmpBlob: Codeunit "Temp Blob")

Creates an instance of a BlobSpec from a TmpBlob.

Parameters / Return Value

  • TmpBlob Codeunit "Temp Blob"

    The blob where to read data from.


FromUrl

procedure FromUrl(Url: Text)

Creates an instance of a BlobSpec as a link to an external binary object.

Parameters / Return Value

  • Url Text[]

    The URL to a binary object. The object itself is not downloaded and stored, only a link to it will be stored.


ToBlob

procedure ToBlob(var TmpBlob: Codeunit "Temp Blob")

Creates a TempBlob from the BlobSpec containing the decoded original binary data. This only works if Content Type is Base64String.

Parameters / Return Value

  • TmpBlob Codeunit "Temp Blob"

    The TmpBlob where the resulting binary data will be written to.



EOS Labs -