Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Public Confluence pages with page inclusions

Christoph Päper
Contributor
December 5, 2023

Recently, Atlassian added support for public links to Confluence pages, so you could share internal content with a broad audience. Readers don’t even need an Atlassian account to access it. This works nicely for basic pages.

However, if a page published this way uses the Include Page Macro, readers will just see a note in its place explaining that they’re not allowed to see everything. This does not change at all if the included page is made available publicly, too.

Atlassian documentation has this to say about content visibility:

Visitors to a public page will see a safe, view-only version of the page that was shared which hides any content outside of the shared page (page tree, macros, etc.) and locks most Confluence functionality.

Therefore, I believe this is working as designed. Atlassian does allow some macros, though; as of writing:

Is there any workaround to have some content be reused on public Confluence pages (other than lobbying Atlassian to change the handling of the Include Page macro)?

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2023

Hi @Christoph Päper 

The Excerpt and Excerpt include macros should give the option for you. Use these to display information from other pages in the public open pages.

Christoph Päper
Contributor
December 6, 2023

As far as I understand the documentation, Atlassian does support marking up parts of a public page as (named) Excerpts which can then be reused with the Excerpt Include macro elsewhere, but they do not support the Excerpt Include macro on public pages for the same reason they do not support the Include Page macro there.

I’ve tried this anyway, but as expected it didn’t work. That means you can reuse (parts of) public (and private) pages in private pages, but you cannot reuse (parts of) any pages in public pages.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2023

Hi,

But Excerpt is not one of those macros, as stated in Macros-that-won't-be-hidden-on-public-pages 

Christoph Päper
Contributor
December 6, 2023

Yes, Excerpt is supported, but Excerpt Include is not. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events