Global Variable Value
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

Global Variable Value

  • Dark
    Light

Article summary

General

This placeholder can be used to access the value of a Global Variable from an Expression.

Syntax

The syntax for this type of placeholder is:

Global Variable Value Placeholder Syntax

[GlobalVariable].[<name_of_global_variable>]

Example

Let's suppose there is a Global Variable named RootPath and its value is set to the following Expression:

Global Variable Value Expression

"\\FILESERVER\Reports\Sales Reports"

The following expression accesses the global variable:

Expression with Global Variable Value Placeholder

[GlobalVariable].[RootPath] & "\My Report Name"

When the expression is evaluated at runtime, it will return \\FILESERVER\Reports\Sales Reports\My Report Name".


Was this article helpful?

What's Next