# Global variables management

Global variables are used to set a global context to the portal with one or many variables that are set in the URL to the portal.

This allows the usage of the global variables as parameters to affect the data that is displayed to the user in many of the portlets.

> Example of URL with parameters:
>
> <http://www.myflowportal.com/#/?GlobalVariable1=ValueA\\&GlobalVariable2=ValueB>

In this example the global variables **GlobalVariable1** and **GlobalVariable2** are defined with the values *ValueA* and *ValueB*.

## Global Variables

This is where one defines a list of global variables that are available for usage. By pressing create the user will be forwarded to the definition window to be able to specify a new global variable.

## Definition

This is where one defines the new global variable, by entering a variable name in the text field **Code**, one assigns the variable name.

To save the variable the save button is used and the new variable will be displayed in the Global variables list.

By selecting a variable in the list and pressing delete in the definition window, one can delete a global variable.&#x20;

![](/files/-M-tmRNvhTdwj7pp3YlM)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/6.11/development/portal/options/global-variables-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
