how to add search bar in header - service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2017 05:29 AM
the screenshot was captured on a webpage. I would like to apply the same style on SP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2018 07:19 AM
Hi Kenai,
What I did was the following:
Clone the Menu Header widget + moving the Angular ng-templates to the new one
adding the following lines to the HTML part:
<li class="search-widget">
<sp-widget widget="data.typeAheadSearch" />
</li>
I add this at the top (so it's the first li), so the search will be on the left side of the top banner
and also add this to the server side:
data.typeAheadSearch = $sp.getWidget('typeahead-search', options.typeahead_search);
This gave me the following look:
Hope it helps,
Shay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2019 03:32 PM
Can you please help with this.
I tried the same thing, but its not working.