How to configure Settings

Settings are values that are read-only at run-time. Settings can also be configured on Linx Application Server, either as additional settings to what was configured in Linx Application Designer, or to override those settings.

Settings are typically used for variables that are static, e.g. access credentials, file paths, email settings, etc.

Add a Setting

  1. Click Settings on the toolbar
  2. On the main canvas a Settings tab is created. Enter the details of the Settings by entering the setting's Name, select the Type (e.g. String, Integer, List, etc), and add an optional Value.
  3. Select the Secret checkbox to mask the value, if required.


Setting Example


Secret settings

When a Setting is marked as "secret" it ensures that any personal or sensitive data stored in that Setting will remain secure, e.g passwords, usernames, ID numbers, etc.

Important:

  • When a Setting is marked as "secret", Linx will not export the value of the setting from the Designer to the Server when the Solution is deployed. On the Server the Setting value will be blank.

  • For "secret" Settings, you must provide a value for the Setting on the Server before starting your Solution.

  • If another user accesses the same Server and opens a Solution that contains a "secret" Setting, the user will also get a blank value for the "secret" Setting, and will have to set the value of that Setting.


Using a Setting's value inside another Setting

To reference an existing Setting's value inside another Setting's value, add the existing value inside curly brackets to the new setting's value, e.g. {var1}xyz, as shown below:

Setting inside setting Example

In the above example, the value of var2 is "abcxyz".


Using a Setting

Settings are available for use when setting up Properties and Expressions.

Properties

Custom Type Example

Expression Editor

Custom Type Example


Note:

When a Solution is deployed to Linx Application Server, the settings are available to be edited from within Linx Application Server. In this case there is no need to edit the settings within Linx Application Designer and to redeploy the Solution to Linx Application Server.



Demo Video

Add and use Settings



Also see

Linx Community: Dynamic Settings