Modifier

Partager via


Blob.Import(Text) Method

Version: Available or changed with runtime version 1.0.

Imports a binary large object (BLOB) from a file.

Note

From runtime version 9.0 and onward, this method is only supported in Business Central on-premises.

Syntax

[ImportName := ]  Blob.Import(Name: Text)

Parameters

Blob
 Type: Blob
An instance of the Blob data type.

Name
 Type: Text
The path and name of the BLOB that you want to import. When you enter the path, consider the following shortcuts:

  • You can omit the drive letter if the command is located on the current drive.
  • You can omit the full path if the command is located in the current directory.
  • You can enter only the subdirectory name if the command is located in a subdirectory of the current directory.

Return Value

[Optional] ImportName
 Type: Text
The name of the imported file.

Blob Data Type
Get Started with AL
Developing Extensions