I'm trying to create a theme for Napili with a custom search bar, I am following the docs: Create Custom Search and Profile Menu Components for Communities. But when I type something to search, the page does not show results. These component works with something like lightning events? or something similar that I'm not using?


<aura:component implements="forceCommunity:searchInterface" access="global">
            <div class="search">
                <div class="search-wrapper">
                    <form class="search-form">
                        <div class="search-input-wrapper">
                            <input class="search-input" type="text" placeholder="My Search"/>
                        <input type="hidden" name="language" value="en" />
  • 1
    I could recommend a free AppExchange package to modify the search in the comunity
    – glls
    Commented Jun 30, 2017 at 15:18
  • 2
    – glls
    Commented Jun 30, 2017 at 15:19

1 Answer 1


I solved this making a redirection to the search page with the appended search string, I think that is not the best way but, its working.

Example: /<commName>/s/search/All/Home/<searchString>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .