Environment Variables – Web Redirect

Business Background

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

Environment variables help manage configuration differences among these environments. By changing environment variables, you can control which services and resources an application connects to, ensuring the correct environment-specific settings are used.

Titan Solution

The environment variables are shared across your Titan environment and can be accessed from any Titan Web project. They can be used to redirect the user to another Titan Web project.

How to Video

  • Coming soon!

How to Guide

Note:

Create a public project environment variable. Public variables can be accessed from anywhere in the project.

This image has an empty alt attribute; its file name is image-7-1024x484.png

  1. Open a Titan Web project – not the project you used to create the environment variable.
  2. Drag a button from the element list to the canvas. In this example, the button was renamed to “Redirect.”
  3. Click the On Click Action icon.
On Click Action icon
On Click Action icon
  1. Click the + icon next to the Start node.
+ icon
+ icon
  1. Select the Redirect/Go to Page option and click the Next button.
Add Node screen
Add Node screen
  1. Use the drop-down list to select the redirect URL.
  2. Use the drop-down list to select where to open the redirected page. The options are:
    • Self: The page will open in the same page as it was selected. This is the default option.
    • Parent: The page will open in the parent page.
    • Blank: The page will open in a new tab or window.
    • Modal: The page will open in a modal.
    • Top: The custom registration page will open in the full body of the window.
  3. Click the Next button.
Add Node/Redirect/Go to Page screen
Add Node/Redirect/Go to Page screen
  1. Add a tag if necessary and click the Insert button. The Redirect/Go to Page node is inserted.
  2. Click the Apply button.
On Click Action Action screen
On Click Action Action screen
  1. Save and Preview the project.
  2. Click the Redirect button. The Titan Web project that was linked to the environment variable opens.

Hidden Title

Need more help?