Temp Blob
The container to store BLOB data in-memory.
This codeunit uses the Temp Blob codeunit from SystemApp to store the BLOB data, but with additional functionality. All functions from the Temp Blob codeunit are available in this codeunit, so this codeunit can be used as a drop-in replacement.
Object Definition
Object Type | Codeunit |
Object ID | 70327114 |
Object Name | QWETB Temp Blob |
Procedures
Name | Description |
---|---|
AsBase64(): Text | Gets the data as Base64 encoded text. |
AsBase64(Text) | Gets the data as Base64 encoded text. |
AsHttpContent(): HttpContent | Gets the data as HttpContent. |
AsJsonArray(): JsonArray | Gets the data as a JsonArray. |
AsJsonObject(): JsonObject | Gets the data as a JsonObject. |
AsJsonToken(): JsonToken | Gets the data as a JsonToken. |
AsTempBlob(): Codeunit "Temp Blob" | Gets the data as a Temp Blob codeunit. |
AsTempBlob(Codeunit "Temp Blob") | Gets the data as a Temp Blob codeunit. |
AsText(): Text | Gets the data as plain text. |
AsText(Integer): Text | Gets the data as plain text, with a provided maximum length. |
AsText(TextEncoding): Text | Gets the data as plain text, encoded with a provided encoding. |
AsText(TextEncoding; Integer): Text | Gets the data as plain text, encoded with a provided encoding and maximum length. |
Clear() | Clears the BLOB Data. |
Clone(): Codeunit "QWETB Temp Blob" | Creates a clone of this codeunit instance |
Copy(Codeunit "QWETB Temp Blob") | Copy data from another QWETB Temp Blob codeunit. |
CreateInStream(): InStream | Creates an InStream object with default encoding for the TempBlob. This enables you to read data from the TempBlob. |
CreateInStream(InStream) | Creates an InStream object with default encoding for the TempBlob. This enables you to read data from the TempBlob. |
CreateInStream(InStream; TextEncoding) | Creates an InStream object with the specified encoding for the TempBlob. This enables you to read data from the TempBlob. |
CreateInStream(TextEncoding): InStream | Creates an InStream object with default encoding for the TempBlob. This enables you to read data from the TempBlob. |
CreateOutStream(): OutStream | Creates an OutStream object with default encoding for the TempBlob. This enables you to write data to the TempBlob. |
CreateOutStream(OutStream) | Creates an OutStream object with default encoding for the TempBlob. This enables you to write data to the TempBlob. |
CreateOutStream(OutStream; TextEncoding) | Creates an OutStream object with the specified encoding for the TempBlob. This enables you to write data to the TempBlob. |
CreateOutStream(TextEncoding): OutStream | Creates an OutStream object with the specified encoding for the TempBlob. This enables you to write data to the TempBlob. |
ExportToClientFile(Text): Text | Downloads the BLOB data as a file in the client. |
ExportToClientFile(Text; TextEncoding): Text | Downloads the BLOB data as a file in the client, with the given TextEncoding. |
From(HttpContent) | Read data from HttpContent. |
From(InStream) | Saves the data from an InStream. |
From(JsonArray) | Read data from a JsonArray. |
From(JsonObject) | Read data from a JsonObject. |
From(JsonToken) | Read data from a JsonToken. |
From(Text) | Imports the provided text. |
From(Text; TextEncoding) | Imports the provided text with the provided encoding. |
FromBase64(Text) | Saves a Base4 encoded text. |
FromFieldRef(FieldRef) | Copies the value of the FieldRef to the TempBlob. |
FromRecord(Variant; Integer) | Copies the value of the BLOB field on the RecordVariant in the specified field to the TempBlob. |
FromRecordRef(RecordRef; Integer) | Copies the value of the BLOB field on the RecordRef in the specified field to the TempBlob. |
FromTempBlob(Codeunit "Temp Blob") | Sets the Temp Blob codeunit that will be used to store the data. |
FromText(Text) | Imports the provided text. |
FromText(Text; TextEncoding) | Imports the provided text with the provided encoding. |
HasValue(): Boolean | Determines whether the TempBlob has a value. |
ImportFromClientFile(Text; Text) | Prompts the user to upload a file into the blob. |
Length(): Integer | Determines the length of the data stored in the TempBlob. |
ToFieldRef(FieldRef) | Copies the value of the TempBlob to the specified FieldRef. |
ToRecordRef(RecordRef; Integer) | Copies the value of the TempBlob to the specified field on the RecordRef. |
WriteTo(HttpContent) | Writes the data to HttpContent. |
WriteTo(JsonArray) | Gets the data as a JsonArray. |
WriteTo(JsonObject) | Gets the data as a JsonObject. |
WriteTo(JsonToken) | Gets the data as a JsonToken. |
WriteTo(OutStream) | Writes the data to OutStream. |
WriteTo(Text) | Gets the data as plain text. |
WriteTo(Text; Integer) | Gets the data as plain text, with a provided maximum length. |
WriteTo(Text; TextEncoding) | Gets the data as plain text, encoded with a provided encoding. |
WriteTo(Text; TextEncoding; Integer) | Gets the data as plain text, encoded with a provided encoding and maximum length. |
This documentation is generated from Smart Toolbox v27.0