Service Portal change the searchbox text

Katie A
Mega Guru

In the ServicePortal index page, is it possible to change the text that displays within the search box? We want to change the "how can we help" to something else inside the search box.

Screen Shot 2016-12-12 at 5.05.52 PM.png

1 ACCEPTED SOLUTION

ChrisBurks
Mega Sage

Oops. I spoke too soon. Sorry about that. You want the placeholder text. Navigate to the Widget Editor and pull up the "Homepage Search" widget.



In the Server Script you'll see where the "How can we help?" text is located on line one. Change to desired text and save.



246974_homepage_2.png


View solution in original post

8 REPLIES 8

Yes, this setting is configurable in the Widget Instance Options in the Jakarta release too. While viewing the portal page an admin can CTRL + click (Mac) on the typeahead search to get to the widget instance options. Then place an object style text as mentioned by Anton Vettefyr to change the placeholder.



setting_placeholder_text_in_typeahead_search_box.png



Thanks for the update Anton.


Sagar Kulkarni
Kilo Explorer

Hello All,

 

I need to do a language translation for the search text i.e  How can we help,  Find screenshot below, how it can be achieved. I tried earlier steps but seems to be it is not working

 

find_real_file.png

Hi,

On the Page Designer, press the pen-icon to edit the search widget (like you did for the header).

In the Typeahead Search field, write {title:'Your text here'}

 

find_real_file.png

find_real_file.png

Santhoshi Jaini
Kilo Contributor

Hello All

 

You can also try this 

1.Right click on "How can we help" search box.

2.Click on the widget Option schema

3.There you can see the default value something like this

{title: 'How can we help?', size: 'lg', color: 'default'}

4.Change the title to desired text you want.