The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
EXPORT Method (BLOB)
Exports a binary large object (BLOB).
[ExportName] := Blob.EXPORT([Name [, CommonDialog]])
The BLOB that you want to export.
Type: Text or code
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.
Specifies whether you want to display a dialog box before the BLOB is exported. This dialog box lets you select the file that you want to export. Based on the SubType Property (BLOB) property, only the appropriate file types are listed, such as bitmap files (*.bmp), memo files (*.txt), or all files (*.*).
If the CommonDialog parameter is true, Dynamics 365 will display the confirmation dialog box. If the CommonDialog parameter is false (default), Dynamics 365 will not display the confirmation dialog box.
Property Value/Return Value
The name and path of the exported file.
If the return value is the file's name and path, then the BLOB was exported.
If the return value is an empty string, then the BLOB was not exported.