Search box in the Content Formatting Macro

This is regarding

I tried to add this to my left-navigation panel in Confluence version 6.

Went to Space tools -> Look and Feel -> Sidebar, Header & Footer and added the code {search-box}.

It does not render properly.  I get the following error:Screen Shot 2017-04-06 at 12.52.43 PM.png

Isn't the macro supported in the left-nav? If it is supported, is the code block incorrect?

3 answers

This widget could not be displayed.
Davin Studer Community Champion May 08, 2017

Is there a reason you want to use Adaptavists search box? If not you could use one of the built-in search macros for Confluence. You could try ...

{pagetreesearch:rootPage=Space Root Page Name}



Yes, we started using the default one, which is good. Thanks!

This widget could not be displayed.

Hi all,

With the latest release of Content Formatting we've decided to remove the support for wiki markup since otherwise it would be hard to maintain both the new format and the wiki markup one.

The good news is that there is a workaround for it:

1 - Create a regular page in Confluence, let's call it "SearchBox"

2 - Edit that page and add a Search Box Macro

3 - Edit the sidebar and use {include:SPACE_KEY:SearchBox}

Let me know if it worked.



Ann Worley Atlassian Team May 10, 2017

It worked for me! Thanks very much. I look forward to hearing whether it works for Nirdesha.

Thank you! It works but we do not want to keep a separate page just with a search box. It has to be public nd therefore, is not a flawless solution, unfortunately.

We are now using the default search option and it works fine.

This widget could not be displayed.
Ann Worley Atlassian Team May 05, 2017

I could not get it to work in the sidebar, either, though I tried lots of variations. I finally opened a ticket with Adaptavist, I will let you know what they say.

Ann Worley Atlassian Team May 08, 2017

I got a reply but not a satisfactory one as yet. Will keep you posted!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

854 views 8 13
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