您在此处:
将全局搜索框添加到您的自定义 Experience Cloud 站点 HTML 页眉
如果您通过 HTML 页眉自定义 Experience Coud 站点,您会隐藏全局搜索框。要利用此搜索功能,请将表格添加到自定义页眉。

使用更普遍的搜索词。
选择更少的筛选器,并扩大搜索范围。
如果您通过 HTML 页眉自定义 Experience Coud 站点,您会隐藏全局搜索框。要利用此搜索功能,请将表格添加到自定义页眉。
| 适用于 Salesforce Classic 和 Lightning Experience |
| 适用于:Enterprise、Performance、Unlimited 和 Developer Edition。 |
您可将全局搜索框添加到体验生成器和 Salesforce 选项卡 + Visualforce 站点。
<form action="/<site name>/search/SmartSearch" method="get">
<input id="phSearchInput" type="text" name="str"/>
<input type="submit" value="Search"/>
</form>
<form action="/customers/search/SmartSearch" method="get">
<input id="phSearchInput" type="text" name="str"/>
<input type="submit" value="Search"/>
</form>通过内部组织的全局搜索,您可以在搜索 Experience Cloud 站点用户记录时获得不均匀的结果。以下是发生这种情况的原因,以及您的应对措施。每个站点都有一个唯一的网络 ID。当您通过联系人记录 | 创建外部用户创建用户时,新用户记录会分配到站点的网络 ID。
全局搜索在内部组织中查找记录,该组织具有不同于站点的网络 ID。全局搜索不搜索站点内部。由于用户记录与站点网络 ID 相关联,因此全局搜索不会返回该记录的结果。
解决方法是在内部组织中创建用户记录,然后将这些记录与站点相关联。通过将内部记录链接到联系人记录,可以将内部用户记录与站点相关联。伪造链接后,您可以通过全局搜索找到用户记录。用户记录的网络 ID 现在与内部组织相关联。

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.