System.ExportObjects(Text, var Record [, Integer]) Method

Version: Available or changed with runtime version 1.0 until version 1.0 where it was deprecated.

Exports application objects to a file.

Note

This method is supported only in Business Central on-premises.

Syntax

 System.ExportObjects(FileName: Text, var ObjectRecord: Record [, Format: Integer])

Note

This method can be invoked without specifying the data type name.

Parameters

FileName
 Type: Text
The path of the file to export to.

ObjectRecord
 Type: Record
A record to the Object table.

[Optional] Format
 Type: Integer
The format to use when exporting.

System Data Type
Get Started with AL
Developing Extensions