It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Search on a page

This question is in reference to Atlassian Documentation: Search

Hello! How can I add a search which can search on the current page only? Sorry for my English/

3 answers

3 votes

I think I might be misunderstanding this question.  But I read it as "search current page", and the answer is:

Confluence's search is built for finding pages, not content within a page.  So even if you did this, the result would not be anything more than a link back to the page you were on.

To search the current page for something, try CTRL-F - most browsers will pop a text search for you.

TomC Community Leader Jan 12, 2016

This is exactly what we advise users to do (8000 employees on Confluence) when we have a page where 'find on page' is relevant. We might use the Note (or similar) Macro to help 'pop' that advice to ensure casual visitors to the page see it.

Do you have a solution for searching text within an unexpanded Expand macro? Ctrl + F won't find it unless it's expanded.

Like # people like this

Just to make sure: There is no possibility to include a "find on page" Macro so that pressing CTRL+F is not needed anymore but with the same functionality?

Like # people like this

@Karin Klotz It sure seems that way! Frustrating :(

Hi, 

You can use Macro "Page Tree Search"

Thank you 

Rajesh Attal

This worked perfectly. Thank you for the suggestion!

It's probably too late for the OP, but if you with to include a search option alternative to CTRL+F (or Command+F on the Mac), add a LIVESEARCH macro to your page. In the options, select, "Restrict to label(s)" and choose a unique label that is specific to the current page (don't forget to add that label to the page). 

I usually break up Confluence pages into sections (with child pages), but use the LIVESEARCH macro to search the current page plus all it's child pages. I'll add a unique label so that the search results are restricted to only the relevant pages.

2019-02-25_2-53-54.jpg

Do you know if this works for content contained in the expand macro?

@JoAnna Black, the `Livesearch` macro does in fact return pages that match full search terms even if they are contained within unexpended `Expand` macros. This isn't too helpful for finding where a term is in a large page but only confirming that it does exist somewhere in the page.

I'm trying to create a glossary/dictionary and plan to have unique child pages for each term and use Livesearch to search those pages.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

294 views 9 7
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you