Altova MapForce Server 2025 Advanced Edition

Sets an option before running the mapping. The first argument specifies the name of the option, while the second argument specifies the option value. This method is particularly useful when a mapping was designed to consume Global Resources (see Altova Global Resources). The currently supported options are as follows:

 

globalresourcefile (or gr) - A Global Resource file path. (When this option is specified, then a Global Resource configuration name must also be specified, see next item).

globalresourceconfig (or gc) - A Global Resource configuration name. (When this option is specified, then a Global Resource file path must also be specified, see previous item).

catalog - The path to a custom RootCatalog.xml file. This option enables you to specify a custom catalog file used to resolve URLs used by the mapping. The default catalog is in the etc subdirectory of the program installation directory.

taxonomy-package - The path to a custom XBRL taxonomy package, if one is required by the mapping.

taxonomy-packages-config-file - The path to a custom XBRL taxonomy package configuration, if one is required by the mapping.

 

All set options are valid for the lifetime of the object. If you set an option with the same name twice, the previous option will be overridden. To explicitly clear all options, call the clearOptions() method.

 

Signature

setOption(arg0:String, arg1:String) -> void

Generic signature

 

Parameters

Name

Type

Description

arg0

String

Specifies the name of the option to set.

arg1

String

Specifies the value of the option to set.

© 2018-2024 Altova GmbH