Bitfocus AS
Bitfocus AS

Loading...

Footer

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers
Co-funded by the European Union

Our Bitfocus Workflow 2.0 project is co-funded by the European Union’s Creative Europe programme. About the project

© 2026 Bitfocus AS. All rights reserved.

Update expressions for v1.8
Docs for
Overview
Getting started
What is Bitfocus Buttons?
Install Buttons and get started
Manage your Buttons license
Activate Buttons offline
Find your way around Buttons
Create your first backup
Add an ATEM connection
Choose a control method
Choose an installation path
Install Buttons on Debian or Ubuntu
Understand HA clustering
High Availability
Upgrade Buttons
Remove Buttons
Positions
Understand positions
Encoders and taps
Create a position
Custom button layouts
Add controls and sections to a position
Feedback variables with text
Create your first button
Use a connection's presets
Build more capable button actions
Encoders
Add more feedback to a button
Organize controls in a section
Shift Section
Organize controls with a Folder Section
Add a Popover Section
Build and reuse a Shared Section
Show different controls by role
Choose a routing panel
Build a Router Section
Understand Custom Routers
Custom Router panel
Surfaces
Surface compatibility
Add and attach a surface
Device orientation
Connections
Update a connection's module safely
Monitor and troubleshoot a connection
Port forwarding (HA)
Router integrations
VideoHub and AJA KUMO
Utah Scientific BPS
Generic SW-P-08
Nevion VideoIPath
Arkona BLADE//runner
Evertz Quartz
Imagine LRC
Riedel MediorNet
Nevion MRP
Ross Video NK router
TAG Video Systems MCS
Routing
Physical routing
Shape direction
Configure ports and labels
Take a physical route
Understand route status
Topology graph
Routing Presets
Get started with virtual routing
Configure Nested Shapes
Reverse routing
Tielines
Routing Projects
Routing settings
Troubleshoot a route
Tally
Understand the Tally system
Send ATEM tally and labels to a UMD
Interpret Active Tally state
TSL/UMD connections
Diagnose tally problems
NMOS
Understand NMOS in Buttons
Connect Buttons to an NMOS Registry
Built-in Registry Server
Configure NMOS connections
Discover and adopt
Browse the NMOS inventory
Manage NMOS multicast addresses
Diagnose NMOS problems
Cuelists
Understand Cuelists
Run and stop cues
Build a Cuelist
Cuelist state
Read and advance a running Cuelist
Control a Cuelist from a Position
Workflows
Understand workflows
Build your first workflow
Encoders
Reuse a group of workflow nodes safely
Port forwarding (HA)
Troubleshoot a workflow
Recipes
Sequence a timed automation
Call an HTTP endpoint from a workflow
REST endpoint
Use variables
Understand variable scope
Understand nested variables
Update expressions for v1.8
Plan and use Tags
Access
Create and manage users
Create roles and assign permissions
Grant access to specific resources
Set up PIN and NFC sign-in
SSO
Get started with SSO
Connect a generic OIDC provider
Connect LDAP or Active Directory
Map identity claims to roles
Secure a Buttons deployment
Integrations
External control
Connect to Bitfocus Listener
USB Relay
Install USB Relay on Windows
Install USB Relay on macOS
Desktop app
Install USB Relay on Linux
Install USB Relay on a Raspberry Pi
Get started with the Control API
Secure and monitor the Control API
Control API reference
AI assistants (MCP)
Connect an AI assistant
Edit with an assistant in the editor
What an assistant can do
Manage MCP access and tokens
Actions
HTTP replies
Administration
Enable and manage installable features
Services and health
Configure and monitor scheduled backups
Restore a backup and verify it
Export or import Buttons configuration
Store and rotate connection secrets
Replace the HTTPS certificate
HA backup and recovery
Settings
Collect support information
Reference
Glossary
Button Inspector reference
Network ports reference
Expressions
Internal actions reference
Custom Router button types
Startup configuration reference
Workflow nodes
Connection workflow nodes
Workflow variable and action nodes
Internal workflow nodes
Position workflow nodes
API workflow nodes
Utility workflow nodes

Loading...

Previous
← Understand nested variables
Next
Plan and use Tags →
Contact support →
You are viewing documentation for Buttons 1.10.See the docs for Buttons 1.8
Buttons/Variables/Update expressions for v1.8

Update expressions for v1.8

View as Markdown
The expression engine was rebuilt for v1.8. Almost everything you could write before still works exactly the same way, but two specific pieces of syntax changed. Buttons automatically rewrites your existing stored expressions during the upgrade; this guide is mainly about what to do if you're writing or pasting a new expression afterward.

What actually changed#

If you used this before v1.8
Use this instead
Already-stored expressions
getVariableValue('abc.def')
getVariable('abc.def')
Rewritten automatically during upgrade
parseVariables('bare.dot.path') (no $(...))
parseVariables('$(bare.dot.path)')
Rewritten automatically during upgrade
Everything else (every previously available function, the $(...) variable reference syntax itself, assignment and update operators, and every operator you'd expect in an expression) carries forward unchanged. This wasn't a small tweak: the underlying parser was fully replaced, but as a deliberate superset of what came before, with these two exceptions.

What the automatic migration does for you#

When you upgrade to v1.8, a one-time migration runs automatically and rewrites both of the patterns above wherever it finds them in your stored button content, workflow nodes, and position variable values; no action needed on your part for anything already saved before the upgrade.

Note

The migration only rewrites the specific expression storage locations it's designed to handle. If you have an expression stored somewhere unusual that this migration doesn't reach, it will keep using the old syntax silently rather than erroring, see "If you get stuck" below for how to notice this.

What you still need to fix yourself#

The migration only touches data that already existed before you upgraded. Anything you type or paste in after upgrading needs to already use the new syntax, including:
  • An expression copied from an old note, script, or training material that predates v1.8.
  • An expression you're recreating from memory the old way.
If you paste in an old getVariableValue(...) call, it will fail outright rather than silently doing the wrong thing, see below. A bare, unwrapped path passed to parseVariables(...), on the other hand, won't error; it just won't resolve, which is easier to miss.

Fix a broken expression#

If getVariableValue fails: replace it with getVariable, using the exact same arguments: getVariableValue('abc.def') becomes getVariable('abc.def').
If parseVariables isn't resolving a value you expect it to: check whether the argument is wrapped in $(...). parseVariables('abc.def') needs to become parseVariables('$(abc.def)').

If you get stuck#

What you see
What to try
An expression throws an error mentioning an unsupported function called getVariableValue.
Replace it with getVariable, using the same arguments: this alias was removed in v1.8.
parseVariables(...) returns the literal text you passed in instead of a resolved value.
Wrap the argument in $(...): a bare dot-path is no longer treated as an implicit variable reference.
An expression that worked before upgrading now behaves differently, and it's not one of the two patterns above.
This is unexpected: the rebuilt parser is meant to be a superset of the old one otherwise. Check the expression for getVariableValue or an unwrapped parseVariables argument first, since those are the two known changes; if neither applies, this may be worth reporting rather than working around.

Where to go next#

  • Expression functions and operators reference
  • Use variables in controls and expressions
  • Understand variable scope

Was this helpful?

Was this helpful?

0 of 0 users found this page helpful