Blob.Import(Text) Method

Version: Available or changed with runtime version 1.0.

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


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


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


 Type: Blob
An instance of the Blob data type.

 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.

See Also

Blob Data Type
Get Started with AL
Developing Extensions