Add the Global Search Box to Your Customized Experience Cloud Site HTML
Header
If you customize your Experience Coud sites with an HTML header, you hide the global
search box. To take advantage of this search functionality, add a form to your custom
header.
Required Editions
Available in: both Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and
Developer Editions
You can add the global search box to both Experience Builder and Salesforce Tabs +
Visualforce sites.
Note You are automatically redirected to a Classic UI, when configuring this feature in an
Experience Builder site.
In your customized HTML header, embed a form similar to this one.
With global search from your internal org, you can get uneven results when searching
for an Experience Cloud site User record. Here’s why and what you can do about it. Each site
has a unique network ID. When you create a user through Contact record | Create External User, the new User record is assigned to a site's network ID.
Global search looks
for records in the internal org, which has a different network ID than the site. A global
search doesn't search inside sites. Since the User record is associated with a site network
ID, global search doesn't return results for that record.
The workaround is to create
User records in the internal org, and then associate the records to a site. You can
associate an internal User record to a site by linking the internal record to a Contact
record. After you forge the link, you can find the User record through global search. The
User record's network ID is now associated with the internal org.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.