Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

Project formulas

Project formulas let you define a formula once and reuse it anywhere across your application. They’re ideal when you find yourself repeating the same logic in multiple places or want a single source of truth for complex transformations.

Create a project formula

  1. In the left panel of the Interface tab, open the Formulas tab
  2. Click Add Formula to create a new project formula
  3. Define the input parameters your formula expects
  4. Write the formula logic that uses those inputs
  5. Save — the formula is now available across the project

Use a project formula

  1. Select the element you want to use the formula for.
  2. Open the binding window for the property you want to bind.
  3. In the binding window, open the Formulas tab.
  4. Expand From Project.
  5. Select your project formula.
  6. Click inside () and pass in the values for each input parameter in the correct order.

Input parameter ordering

When using a project formula that requires inputs, pass values in the same order as the parameters are defined during creation.

Example ordering:

  1. text_input
  2. number_input
js
// Correct: 'Hello World' maps to text_input, 42 maps to number_input
exampleFormula('Hello World', 42)

Passing values in the wrong order will produce unexpected results.

When to use project vs. local formulas

Use project formulas when:

  • You need the same logic in multiple places
  • The logic is complex and you’d like a single source of truth
  • You want easier future maintenance — update once, apply everywhere

Keep using local formulas when the logic is simple and specific to a single place.

Manage and audit usage

Project formulas can be filtered by page to see where they’re used, which helps when refactoring or debugging.

Global formula page filter