Hiding Confluence Content header image
documentation

Hiding Confluence Content

RTD_content-image-hide-content copy .png

When you only want to display the appropriate variant for a given user, you can use content hiding macros on your Confluence page.

RTD_content-image-hide-content copy .png

For example, this can be a great option if you have a help center where users have to log in, like to access for internal documentation. By using a content hiding macro, you can define your required conditions and choose exactly what content to display to certain users.

For this approach, you can enter any varying content within one or more content hiding macros on a page and then set each macro to only display for certain users. If users log in, you can filter on the user's profile or permissions.

To control the content displayed on your Confluence pages, you can  make your own user macro that hides content or search for a macro on the  Atlassian Marketplace, like  Visibility for Confluence.

You can also take a look at this Atlassian Community thread for some examples of how other users have used macros to hide Confluence content on their pages.

Keep in Mind

  • This won't work if you export content for publishing, since content for all variations will display.

  • You can't hide entire pages that are part of a variant.

  • All users must log into your help center and have profiles or permissions that indicate the content variant they want to see, for your conditional content to work.

  • User licenses for additional macros may include a recurring cost.

Embed comments

Next Up...

When thinking about your content strategy, there are two options for handling variants of similar content are to display varying content in the same space, or in different spaces.

documentation
Steffen Burzlaff Steffen Burzlaff

To use a different variant of content for your help center and print publishings, you can use the Scroll Only and Scroll Ignore macros in the Scroll Exporters apps.

documentation
Steffen Burzlaff Steffen Burzlaff

For conditional content management, Scroll Versions give you the tools you need. You can display variants of content and entire pages based on one or more attributes.

documentation
Steffen Burzlaff Steffen Burzlaff
Share this article
Reset Cookies

The following services will be reset and deactivated for you.

  • Typeform:
    We're using Typeform to embed quizzes and surveys into our website. By clicking "Disable all services" you're no longer able to submit quizzes or surveys on our website until accepting the service again.
  • Hyvor Talk:
    We're using Hyvor Talk as a comment tool. Hyvor Talk sets a local storage when activated. By clicking "Disable all services" you're no longer able to post or read comments on our website until accepting the service again.

By clicking "Disable all services" all cookies and local storages related to the services will be removed. Before using them on our website again, you need to accept them.