itp_setting

The itp_setting function allows the Master Template to retrieve settings from the current KCM configuration file.

 itp_setting (setting_to_be_retrieved)

The result of this function is of type TEXT. It contains the value of the setting from the KCM configuration file or an empty string if the setting was not present.

This function requires one parameter:

  • setting_to_be_retrieved, type TEXT. This is the setting to be retrieved.

You can add private settings to the configuration file if they do not start with KCM.

An example is provided here.

TEXT temp_dir := itp_setting("ITPTMPDIR")
#
@(temp_dir) 
#