---
title: "Page Visibility Rule"
slug: "page-visibility-rule"
description: "This document discusses how to use the Page Visibility Rule to hide or show Pages in Decisions. This tool is used to hide an entire Page rather than singular elements.   "
tags: ["Page", "admin topics", "Pages", "Configuration Extension", "Configuration Folder", "Visibility Rules"]
updated: 2025-09-03T14:46:16Z
published: 2025-09-03T14:46:16Z
---

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

# Page Visibility Rule

## Overview

A **Page Visibility Rule** uses [Rule](https://documentation.decisions.com/v9/docs/rules) logic to conditionally hide specific Pages in the Decisions Portal based on defined criteria such as accessing the user's email address, group membership, or other contextual data.

These rules benefit organizations that need to restrict access to Pages containing sensitive or role-specific content from specific users or groups.

Page Visibility Rules can be added to the following User-Defined Types:

- Case Entity
- Entity
- Entity Extension
- External Entity
- Folder Extension

Once configured, the rule determines when and for whom a Page should be hidden. This document demonstrates how to create a Page Visibility Rule for a Page within a **Folder Extension**, but the same approach applies to the other supported types.

---

## Example

1. From a Designer Project, select the CREATE DATATYPES/INTEGRATION button from the Global Action Bar. In the resulting window, choose a supported User-Defined Type such as Folder Extension from the User-Defined Types category.   
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1756910575349.png)
2. In the resulting Folder Extension window, type the name and the required field names with their types as given in the image below.  ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1756910634535.png)
3. Right-click the newly created Folder Extension and select Page Visibility Rule. In the resulting window, define a Name for the Page Visibility Rule, then click CREATE.    ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1756910702159.png)
4. In the resulting **Page Visibility****Rule Designer**, build the **If**statement in a way that defines which Page will be hidden (for example, "**PageName****Equals****[Page Name]**"). ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-23_08h59_51.png)
5. While still in the **If**statement, click **Add > Add Condition**. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-23_09h00_37.png)
6. Click **Select****Data****Element**and select**Flow Data > InitiatingUserEmail**. Under the **Verb**,****select **Equals**, then under **[empty string]**, **Constant**map the **Email**for the desired **Account**that will be hidden. Rule Logic Writing the **Rule**in this manner establishes that the **Page**with the corresponding **PageName**will be hidden from the **Account**that logs into the******Studio** with the defined **Email****Address**. 

![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-06-23_09h03_00.png)
7. **Save** and close the **Page Visibility Rule**.

### Debug

1. **Log out**of the **Admin Account** and into the restricted Account that was defined in the **Page Visibility Rule**.
2. Navigate to the **Folder**with the applied series of **Pages**and attempt to navigate to the restricted Page; note that the Page should not appear in the navigable tabs at the top of the Folder. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-08-14_10h11_20.png)
3. As an extra means of verification, attempt to access the **Folder**in the **Portal**from the restricted **Account**.

---

For further information on Pages, visit the [Decisions Forum](https://community.decisions.com/categories/Pages).
