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

Arto Rovie Jan 12, 2016

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/

2 answers

3 votes
Nic Brough [Adaptavist] Community Leader Jan 12, 2016

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.

Tom Crespi 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.

Ruth Volk Jun 07, 2018

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
Karin Klotz Oct 16, 2018

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
JoAnna Black Feb 08, 2019

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

0 votes
Shawn Connelly Feb 25, 2019

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.


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

951 views 0 19
Read article

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