How can I make the global search bar wider?

We have several customers with long names due to multiple sites for one master customer.  The sales team would like the display to be wider so more characters show up in the search bar.  Is it possible to widen the global search bar to show more characters?

Rookie Asked on November 15, 2022 in Performance.
Add Comment
2 Answer(s)

Hi Craig,

I am newbie to Netsuite, but since everything is done through the browser, you can examine the settings using the Chrome browser inspector tool.

You can see from this image that the width for this element is 550px.   You could change, but that will only affect your local, cached file and will eventually get written over by Netsuite’s default css settings.

I will leave it to the more seasoned Netsuite Professionals to advise if anyone has every tried to override the default Netsuite css with success.

RE: How can I make the global search bar wider?

Rookie Answered on November 16, 2022.
Add Comment

NetSuite does not have a standard way to increase the search box width.

As a workaround, you can create a Custom Record with an inline HTML field that will adjust the width of the search box and the results box. Example below:

This is the best option until NetSuite update this to allow the box to be adjusted by standard

RE: How can I make the global search bar wider?

 

The steps for creating the custom record are as follows:

Step 1 – Create a custom record

Navigate to Customisation > List Records Fields > Record Types > New

RE: How can I make the global search bar wider?

 

Step 2 – Populate details for the custom record

Populate the Name and ID fields. Then untick the Include Name checkbox.

RE: How can I make the global search bar wider?

 

Step 3 – Adding a custom inline HTML field

Using the add field button on the custom record:

RE: How can I make the global search bar wider?

Populate the following details for the Inline HTML field

RE: How can I make the global search bar wider?

Default Value Code
The 140ch is the number of characters wide you would like the search box and the results box to be. So if you update these make sure that both are updated.


<style>

#_searchstring {

max-width: 140ch !important;

}

#uif30 {

width: 140ch !important;

}

</style>

Step 4 – Navigate to the record

You can navigate to the record by typing into the global search or from the Custom Record Type record, go to More > View Records.

When you are on this new custom record the search bar should be considerably wider. You can add a link to your user’s dashboards for quick access to this record.

 

Beginner Answered on November 17, 2022.

It gives me an error when I try to input that formula.

 

Your formula has an error in it. It could resolve to the wrong datatype, use an unknown function, or have a syntax error. Please go back, correct the formula, and re-submit.
on November 22, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor