Salesforce Native Connector 25.2
Salesforce Native Connector Help

# 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 2025 Open Text
Version 25.2 | Last updated April 2025

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: Knowledge Discovery Salesforce Native Connector 25.2

Topic Title: LuaConfig Methods