Blob.Export(Text) Method

Version: Available or changed with runtime version 1.0.

Exports a binary large object (BLOB) to a file.


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


[ExportName := ]  Blob.Export(Name: Text)


 Type: Blob
An instance of the Blob data type.

 Type: Text
The path and name of the BLOB that you want to export. When you enter the path, consider these 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] ExportName
 Type: Text
The name of the created file.

See Also

Blob Data Type
Get Started with AL
Developing Extensions