---
title: "Hide If"
canonical: "https://support.appfire.com/space/VISC/478643087/Hide%20If"
format: markdown
---
> Macro (aura-html)

## Macro editor

When inserting or editing the Hide if macro, the macro editor lets you configure its parameters.

![Insert Visibility showing the Hide-if macro.](media://53718e31-a029-48a2-b651-ced6fd5f853f)

## Macro parameters

The parameters in the macro editor let you configure the conditions for hiding the macro content.

| **Name** | **Required** | **Default Value** | **Description** |
| --- | --- | --- | --- |
| **Match using** | - [(V)] | Any | Defines how to combine the conditions in the macro parameters. Can be:<br>- **Any **- Hides the macro content if at least one condition is met.
- **All **- Hides the macro content only if all conditions are met. |
| **Users** | - [(X)] | N/A | Specifies one or more user names to match the page viewer.<br>The condition is met if the page viewer matches one of these user names.<br>To add a user, begin entering the user name and select it from the drop-down list. |
| **Groups** | - [(X)] | N/A | Specifies one or more user groups to match the page viewer.<br>The condition is met if the page viewer belongs to at least one of these user groups.<br>To add a group, begin entering the group name and select it from the drop-down list. |
| **Comala Workflow Status** | - [(X)] | N/A | > 📝 This parameter is available only if the [Comala Document Management app](https://marketplace.atlassian.com/apps/142/comala-document-management?hosting=cloud&tab=overview) is installed and enabled. It requires a Comala workflow to be applied to the page or space. For details, see [https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=CDMC&title=Applying%20workflows](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=CDMC&title=Applying%20workflows) in the Comala Document Management documentation.<br>Specifies one or more Comala workflow states to match the page state.<br>The condition is met when the page is one of these workflow states.<br>To add a workflow state, select it from the drop-down list. |
| **Advanced filter **>** Authentication type** | - [(X)] | None | Specifies the authentication status to match the page viewer. Can be:<br>- **None **- No condition for authentication status.
- **Authenticated **- The condition is met if the page viewer is logged in.
- **Anonymous **- The condition is met if the page viewer isn’t logged in. |

## Macro content editor

In page edit mode, within the Hide if macro body, you can enter the content you want to conditionally hide.

![Hide if macro showing the conditionally hidden content.](media://3c457c63-4b0e-4521-8d97-4fa435e1012f)

## Migration notes

> ⚠️ Some legacy macro parameters from Confluence Data Center are not supported in Confluence Cloud. For details, see [FAQ](https://appfire.atlassian.net/wiki/x/g4KHH). 
> ⚠️ 
> ⚠️ After the migration to Confluence Cloud, the *Show legacy field parameters* list displays the non-migratable Hide if macro parameters.

## Related pages

- [https://appfire.atlassian.net/wiki/spaces/VISC/pages/478642970/Hiding+Content+From+Specific+Users?atlOrigin=eyJpIjoiMWM1ZjQyOTVlYzYxNDYyMmEzMDUzNGFiYTI1YTJiYTUiLCJwIjoiYyJ9](https://appfire.atlassian.net/wiki/spaces/VISC/pages/478642970/Hiding+Content+From+Specific+Users?atlOrigin=eyJpIjoiMWM1ZjQyOTVlYzYxNDYyMmEzMDUzNGFiYTI1YTJiYTUiLCJwIjoiYyJ9)
- [https://appfire.atlassian.net/wiki/spaces/VISC/pages/2059206968/Draft+Show+placeholder+text+to+anonymous+users+until+content+is+approved+using+Visibility+and+Comala+Document+Management?atlOrigin=eyJpIjoiMjE1NDI1MTgwZDE4NDA0ZWJiZmE4ZGIzNzRiODIwZmYiLCJwIjoiYyJ9](https://appfire.atlassian.net/wiki/spaces/VISC/pages/2059206968/Draft+Show+placeholder+text+to+anonymous+users+until+content+is+approved+using+Visibility+and+Comala+Document+Management?atlOrigin=eyJpIjoiMjE1NDI1MTgwZDE4NDA0ZWJiZmE4ZGIzNzRiODIwZmYiLCJwIjoiYyJ9)