What Are Scopes?

Scope refers to how and where certain artifacts—like variables, action chains, root pages, and more—can be used within Visual Builder.

In a nutshell, where you define something determines where it can be referenced; in other words, artifacts can be scoped at different levels:
  • Visual application scope: Artifacts defined through the far left ribbon in the Navigator—Layouts, service connections, business objects, components, and so on—are available to all apps within the visual application.
  • App scope: Artifacts are available to all the page flows and pages in a standalone app. Examples: Resources at the app level, as well as action chains, events, event listeners, types, and variables defined at the app or fragment level.
  • Flow scope: Artifacts are available only to the flow (and pages) in which they are defined.
  • Page: Artifacts are defined at the page level, and thus are available to only that page.
You can also define settings that are scoped to various entities, which control how the entity looks and behaves: