---
title: "Use a Page Context Data Block"
slug: "use-a-page-context-data-block"
updated: 2026-02-20T17:15:55Z
published: 2026-02-20T17:15:55Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.lakesidesoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use a Page Context Data Block

The Page Context data block serves two functions:

- Provides information about the current context, such as the user name, master, time zone, and browser information
- Specifies parameters that are passed into the dashboard and used by other objects

## Supply Current Context Information

1. Drag the Page Context Data block onto the workspace and connect it to another block (for example a Link Label Data Control block)
2. Provide an optional **Name** and **Description** for the Page Context Data block.
3. Select the [Link Label Data Control block](/documentation/docs/define-a-madcap-keyword-term-link-label-data-control-url-button-creating-madcap-keyword-link-label) to which you linked the Page Context Data block, and go to the **Input Bindings** for that block.

![](https://cdn.document360.io/87d11426-6b1f-4b19-b593-b71e55a81af3/Images/Documentation/page_context_Link.png)
4. Select the appropriate Page Context attribute as the input. (For example a **userName** or **master**).

## Specify Parameters when Drilling down to a Second Dashboard

1. For the second dashboard to which you are drilling down, use a Query Data block and link it to a display object, for example a Grid block. In the example shown below, the query includes two parameters, @{SYSTEM} and @{USER}.
2. Drag a Page Context Data block to the workspace and connect it to the Query Data block so that its output is used as the input for the Query Data block.
3. On the Page Context Data block properties, add two parameters for the Dashboard to request (for example: **System** and **User**). This configures the dashboard to request information for these two parameters.

> [!NOTE]
> **NOTE**: The parameter names you define in the Page Context block do not have to be the same as the parameter names defined in the SQL query.

![](https://cdn.document360.io/87d11426-6b1f-4b19-b593-b71e55a81af3/Images/Documentation/page_context_set.png)
4. Select the Query Data block, and open the **Input Bindings** section. The parameters you defined in the Page Context Data block properties are displayed here. Point the Input Bindings to the appropriate output from the Page Context Data block (**system** and **USER** as shown in the example above).
5. Click the **Apply** button to save your changes.
6. Then on the first dashboard setup the drilldown that takes the user to the second dashboard. [See Defining Drilldowns](/documentation/docs/define-drilldowns) for instructions.

<style> p[data-block-id] {font-size:1rem;} ul li p[data-block-id] {margin-bottom: 0;} ul[data-type="taskList"] li div p[data-block-id] {margin-bottom: 0;} ol li p[data-block-id] {margin-bottom: 0;} table tbody th p[data-block-id] { margin-bottom: 0;} blockquote p[data-block-id] {margin-bottom: 0 !important;} &nbsp;p[data-block-id]:empty::after {content: "\00A0";} </style>
