Text variables
Text variables are “codes” that dynamically display a value in the page builder. For example, by writing Welcome, $userfirstname, you can personally welcome users to a page. Text variables also work in CQL filters in the Activity Stream, News, and Pages modules.
Text variable | Effect |
---|---|
$username $userfullname $userfirstname | Shows the current user’s username, full name, or first name. These names are set up in users' Atlassian accounts. For example, write “Welcome, $username” to personally welcome a user to your intranet. |
$spacename | Shows the name of the space. For example, write “Welcome to $spacename” to welcome a user to your team’s space. This comes with the added benefit that you don't have to update text and settings when you export/import layouts. |