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

1 vote
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!

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.

0 votes
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.

Thank you!

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
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

251 views 2 10
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