Forums

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

Search on a page

Arto Rovie
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 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/

4 answers

3 votes
Nic Brough -Adaptavist-
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.
January 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.

TomC
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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.

Like Will C likes this
Ruth Volk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 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
Deleted user October 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
Contributor
February 8, 2019

@[deleted] It sure seems that way! Frustrating :(

Like Michel likes this
2 votes
rattal@vmware.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2019

Hi, 

You can use Macro "Page Tree Search"

Thank you 

Rajesh Attal

Kelley Rios
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2020

This worked perfectly. Thank you for the suggestion!

0 votes
Deleted user June 24, 2020

You can use LiveSarch. 

Restrict to this Space Key: Put your project Key.

Type of content to include in the search: Page

Additional Information:  Page Excerpt

0 votes
Shawn Connelly
Contributor
February 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.

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

JoAnna Black
Contributor
July 3, 2019

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

BenJoaquin Gouverneur July 11, 2019

@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
AUG Leaders

Atlassian Community Events