IDOL Server 24.2

# LuaConfig Methods

A `LuaConfig` object provides access to configuration information. You can retrieve a `LuaConfig` for a given configuration file using the `get_config` function.

If you have a `LuaConfig` object called `config` you can call its methods using the '`:`' operator. For example:

    config:getValue(sectionName, parameterName)

Constructor | Description
--- | ---
LuaConfig:new | The constructor for a `LuaConfig` object (creates a new `LuaConfig` object).

Method | Description
--- | ---
getEncryptedValue | Returns the unencrypted value from the config of an encrypted value.
getValue | Returns the value of the configuration parameter key in a given section.
getValues | Returns all the values of a configuration parameter if you have multiple values for a key (for example, a comma-separated list or numbered list like keyN).

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Server 24.2

Topic Title: LuaConfig Methods