Search Results Page Shows "Hidden" Text

I am using a Note macro inside of a Show macro so that my note text is only visible to members within Group A.

When I log in to Confluence as a member of Group B and perform a search for the page that has the note, I can see the text that should be hidden in the search results (the note is the first thing on the page).

Is there a way to exclude hidden text that is included at the top of a page from appearing on the search results page?

1 answer

1 accepted

0 vote
Davin Studer Community Champion Dec 05, 2013

If you are referring to this plugin, then sadly the answer is no.

However this should work. Create another page that has the note macro and apply page permissions to it so that only Group A can view the page ... so that it doesn't show in search results. Then use an include page macro to pull that page into the other page and wrap that in the show macro(to avoid getting an error saying you don't have permissions to view the included page ... for the restricted people) and set it to only show to Group A. That should work for you.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

67 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you