Skip to content

Table wDCR_Setup

Stores the Document Creator setup/configuration.

Properties

Name Value
Access Public
Caption Document Creator Setup
DataClassification CustomerContent
DataPerCompany False
DrillDownPageId wDCR_Setup
LookupPageId wDCR_Setup

Methods

wgFncGetOrInit

Gets the setup records or inserts it if it does not exist yet.

wgFncGetOrInit(Boolean)

Gets the setup records or inserts it if it does not exist yet.

Parameters

Type Name Description
Boolean pErrorIfDisabled Whether or not to throw an error if Enabled = false.

Methods

wgFncDownloadDesigner

Opens a link to download the Document Creator Designer.

wgFncExportDefaultLayout

Exports the Default Layout from the Document Creator Setup, prompting the user for a location to save the file.

wgFncExportDefaultLayout(Codeunit::Temp Blob@)

Gets the contents of the Default Layout from the Document Creator Setup and writes them to the passed TempBlob.

Parameters

Type Name Description
`` vCduTempBlob The TempBlob to write the layout to.

wgFncGetDefaultExportProfileCode:Code[10]

Gets the code of the default export profile as configured in the Document Creator Setup. If no default export profile exists yet, it is created and the Document Creator Setup is updated accordingly.

Returns

Type Description
`` The code of the default Document Creator Export Profile.

wgFncGetSessionLocaleID:Integer

Gets the locale ID of the culture of the current session.

Returns

Type Description
`` Locale ID of the culture of the current session.

wgFncImportDefaultLayout

Imports a layout into the Document Creator Setup that will be used as the Default Layout, prompting the user for a file.

wgFncImportDefaultLayout(Codeunit::Temp Blob)

Imports a layout file from a Blob into the Document Creator Setup that will be used as the Default Layout.

Parameters

Type Name Description
`` pCduTempBlob The Blob containing the layout to import.

wgFncSetStandardDefaultLayout

Resets the Default Layout in the Document Creator Setup to the standard default layout.