Custom Variables

Business Background

Variables are integral when working with software, allowing your business to store, reference accurately, and manipulate data in countless ways.

Titan Solution

Titan Web offers your business different variable solutions for your project needs, for instance, global and local variables. You can pre-define system variables and static variables and organize variables in a folder.

How to Video

  • 0:01 Introduction.
  • 0:07 Learn about global and local custom variables.
  • 1:14 We show you how to add static variables.
  • 2:00 Learn how to add a local variable.
  • 6:55 Learn how to set a variety of variables.

How to Guide

  1. Click the Gear icon next to the + icon in Titan Web. The Project settings screen opens.
  2. Select the Tools option.
  3. Click the Custom Variables Gear icon. The Custom Variables screen opens.
Custom Variables option screen
Custom Variables option

You can set the following variable:

Variables Function
SystemAdd system variables to use in your custom conditional logic. You can also populate an input field or a Salesforce field with a system value.
StaticUse static variables to affect elements, either from Salesforce, project elements, or other variables.
EnvironmentConfigure environment variables. An environment variable is a value that users can define to affect how processes behave on a computer.
NumericCreate a numeric variable that will let you perform dynamic calculations and store them, send them via email, or push them to Salesforce.
StringCreate a text variable that will allow you to perform dynamic manipulations using text inputs and fields from Salesforce and store them, send them via email, or push them to Salesforce.
Custom JSCreate a fully customized variable that will hold a JS code.
Custom Variables option
Custom Variables option

Add a System Variable

Learn more about System Variables.

  1. Click the System option.
  2. Click the Add a System Variable (+) icon. The variable field will be added.
  3. Select the Default Value from the drop-down list and click the Apply button.
System Variables option
System Variables option

Add Static Variable

  1. Click the Static option.
  2. Click the Add a Static Variable (+) icon. The variable field will be added.
  3. Type a name for the variable in the relevant field.
  4. Type the Default Value in the relevant field and click the Apply button.
Static Variables option
Static Variables option

Add an Environment Variable

  1. Click the Environment option. The Environment Variables tab on the Titan Dashboard opens.
  2. Configure the environment variable.

Add a Numeric Variable

  1. Click the Numeric option.
  2. Click the Add a Numeric Variable (+) icon. The variable field will be added.
  3. Click the Configure button. The Configure Numeric Variable screen opens.
Numeric Variables option
Numeric Variables option
  1. Select the value fields from the drop-down list and click the Apply button.
Configure Numeric Variable screen
Configure Numeric Variable screen

Add a String Variable

  1. Click the String option.
  2. Click the Add a String Variable (+) icon. The variable field will be added.
  3. Click the Configure button. The Configure String Variable screen opens.
String Variable option
String Variable option
  1. Select the value fields from the drop-down list and click the Apply button.
Configure String Variable screen

Add a Custom JS Variable

  1. Click the Custom JS option.
  2. Click the Add a Custom JS Variable (+) icon. The variable field will be added.
  3. Click the Configure button. The Configure Custom JS Variable screen opens.
Custom JS Variable option
Custom JS Variable option
  1. Select the value fields from the drop-down list and click the Apply button.
Configure Custom JS Variable screen

Learn more about JavaScript in Titan Web.

Add a folder

  1. Click the Add a folder (+) icon. A Folder Name pop-up shows.
  2. Type the folder’s name in the field and click the Save icon.
Add a folder option
Add a folder option

The new folder will display under the All option.

Folders
Folders

Learn more about how to use variables.

Learn more about Titan’s native integration with the Salesforce Experience Cloud.

Easily design, deploy, and measure custom web applications directly from Salesforce using Titan’s drag-and-drop web page builder.

Hidden Title

Need more help?