Search

 

Module: Editor

Version: 2.2.1 +

Type: String

Category: Text

 

Description

The appSettings section of a configuration file (see for example 'Installation Futurama Editor' or 'Installation Futurama HTML') is a place to store connection strings, server names, file paths and other miscellaneous settings that can be used by a Futurama application. The items inside the appSettings are items that need to be configurable depending upon environment. For instance, any database connection strings will change as you move your application from a testing server into production. With the Futurama formula 'ReadConfigKey' the value of any of these keys can be read and used within the modelling of your application.

Parameters

Key:

This is the key you want to read from the configuration file.

Default_value:

This is the value that is returned if no matching key is found in the configuration file.

Example

Description

Suppose within the appSettings section of the configuration file of your Futurama instance the next key is defined:


	

The value of the key 'ConnectString' can be read with the 'ReadConfigKey' formula.

Updated: 2013-03-25