Skip to content

Codeunit wDCR_LayoutPackageMgt

Obsolete

Document Creator layouts have been moved to the report layout system tables.

Provides all implementation related to the flow of Document Creator Layout Packages.

  • A Document Creator Layout Package is a file including a set of custom report layouts, which can be used to easily import/export layouts from/to another database.

Properties

Name Value
Access Public
ObsoleteReason Document Creator layouts have been moved to the report layout system tables.
ObsoleteState Pending
ObsoleteTag 2.0.0.0

Methods

wgFncExportLayoutPackage

Exports a layout package for a set of custom report layout records, prompting the user for a location to save the file.

Parameters

Type Name Description
Record "Custom Report Layout" vRecCustomReportLayout The set of Custom Report Layout records to include in the package.

wgFncExportLayoutPackage

Creates a layout package file and writes the contents to a TempBlob.

Parameters

Type Name Description
Record "Custom Report Layout" vRecCustomReportLayout The set of Custom Report Layout records to include in the package.
Codeunit "Temp Blob" vCduTempBlob The TempBlob to write the Layout Package file contents to.

wgFncGetLayoutPackageExtFilter

Returns the file extension for Document Creator Layout Packages.

Returns

Type Description
Text Document Creator Layout Package file extension.

wgFncGetLayoutPackageFileFilter

Returns the file filter for Document Creator Layout Packages.

Returns

Type Description
Text Document Creator Layout Packages file filter.

wgFncImportLayoutPackage

Imports a layout package, prompting the user for the file. The original version of each layout is archived in the custom report layout archive before the import (if any with the same ID already exist).

wgFncImportLayoutPackage

Imports the layouts from a layout package contained in a TempBlob. The original version of each layout is archived in the custom report layout archive before the import (if any with the same ID already exist).

Parameters

Type Name Description
Codeunit "Temp Blob" pCduTempBlob The TempBlob to read the layout package file contents from.