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

ChrisBurks
Mega Sage

Should be able to change this by navigating to the Branding Editor and change the tagline:



tagline.png


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


And reminder that to change that text, you will need to clone the widget and update the instance to use the new widget.


Hi,



Just a quick not to anyone who asks this question today; there is no longer a need to clone the widget. Either edit the widget settings on the page designer or in the instance-form.


In the widget setting, under "Typeahead search", add something like: {title:'Get your answer here',background-color:'white',size:'lg'}


On the widget instance form in the "Additional options" box:


{


      "typeahead_search": {


              "value": "{title:'Get your answer here',background-color:'white',size:'lg'}",


              "displayValue": "{title:'Get your answer here',background-color:'white',size:'lg'}"


      }


}



This is in Kingston (I haven't checked Jakarta for this).



Regards


Anton