# Globals

(globals)

## Overview

The `globals` object represents the original global scope in Servoy, used to store global variables, methods, and relations. Historically, it was the only global scope available before the introduction of multiple global scopes via `scopes.myScopeName`. Although still functional, its usage has been largely superseded by the more flexible and modular `scopes` mechanism.

## Key Features

* Provides access to all global variables (`allvariables`), methods (`allmethods`), and relations (`allrelations`) defined in the solution. These are now deprecated in favor of more specific solution model methods like `solutionModel.getGlobalVariables(scopeName)`.
* Includes support for the `currentcontroller`, which references the controller of the top-level form in the active dialog.

The `globals` object remains part of the runtime for legacy support but encourages migration to the `scopes` API for modern solutions.

## Properties Summarized

| Type | Name | Summary |
| ---- | ---- | ------- |

## Properties Detailed

***
