You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello. We are building a wiki within Confluence Server for our department. This requires users to easily find content through search (either through the search box in the top bar or through the page tree search macro).
I created templates for articles with placeholder text that gives some additional instructions how to optimally structure the content of pages. According to this Atlassian page, "placeholder text will only appear when a page is being edited – it’s invisible to anyone who’s viewing the published version".
However, I noticed that the placeholder text does in fact appear in the search results, which contradicts the very definition of it and clutters search results with unnecessary and confusing information for readers.
On closer examination, I also noticed that the code inside of HTML macros, which we employ in a few articles, also appears in the search results, which is even less desirable.
Example: We have an auto-direct page from "Komplexitätsvermeidung" to "Komplexitätsmanagement". The contents of its HTML macro are shown in the search result on top. In the second result, a placeholder text ("LEER LASSEN") can be seen, which we use to mark sections that shall remain free for better vertical spacing.
In my opinion, this Confluence behavior is a bug and should generally be fixed. I would file a bug report, but I can't do that as a Confluence Server user.
Until then, is there any way to prevent placeholder text and HTML macro content to appear in search results in a space? (Apart from removing all of it, obviously, which isn't an option.)
Thank you.
I find it very unfortunate that there isn't a built-in filter to exclude text found in HTML macros in the search results.
Atlassian informed us that this issue has in fact been known for years, but they decided to not resolve it. This is a really unfortunate decision in my opinion. See CONFSERVER-33208, which links to multiple similar issues. (They use the term "instructional text" for placeholders - that's why I originally didn't discover these issues.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answers. We did now create a support request to Atlassian, who will hopefully turn this into a proper bug ticket.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Philipp
Same issue here. We generate Confluence pages using a template engine (outside Confluence).
The templated content is irrelevant for users and does obstruct finding the actual content.
Would love to see a feature to tell Confluence not to index certain elements of a page.
Did you already create an issue / feature request?
Cheers,
bue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Philipp
I just tested your case with placeholders (instructional text). And yes, I could reproduce this and yes, I think this is a bit strange.
But, I do not think, that there is any solution for this. I'm not aware, that you can exclude these things.
When you can not create an incident to atlassian support, try to ask your confluence admin to do that.
Regards, Dominic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.