Loading
Prepare for Email to Become the Default Login ExperienceRead More
Experience Cloud
Global Search for Peer-to-Peer Communities

Global Search for Peer-to-Peer Communities

Global Search for Peer-to-Peer Communities lets your users search for articles, discussions, and any object available to your site members and made searchable. The component is separate and distinct from the overall header, making it easy to customize to a site’s needs.

Note
Note The Global Search for Peer-to-Peer Communities component replaces the Search & Post Publisher component, which was deprecated in Winter ’18.

Autocomplete search accounts for partially matching terms and non-adjacent terms.

  1. In the page that you’re configuring, select the Global Search for Peer-to-Peer Communities component.
  2. In the property editor, configure the properties for the component.
    Property Details
    Placeholder Text for Search Field Enter the text that appears in the search box. The default text is Search...
    Autocomplete Search Click to expand the section with autocomplete search properties.
    Use autocomplete in searches Select to let users see suggested search results as they type search terms.
    Maximum Autocomplete Results Enter the maximum number of suggested results displayed on each tab during a search. The default is 6. An equal number of questions, articles, and objects are displayed in the combined results tab. If a type doesn’t have enough results, results of other types are displayed to reach the maximum number. This functionality is available only in the Winter '16 and later versions of Experience Builder templates.
    Limit autocomplete search results to Discussions and Articles Select to show only discussions and articles in autocomplete results.
    Objects in Autocomplete Results Click Add to add searchable Salesforce objects to your site’s autocomplete results. To edit an object, click the object name. In the edit window, you can change to another type of object and you can mark the object as Publicly available. To select a different object type, click the object name and select from the list. To make results of that object type available to guest users, select Publicly available.
    Ask Experience Click to expand the section with properties regarding asking the site.
    Show footer during search Select to display the footer that gives members an option to ask the site a question.
    Post to Ask the Experience Enter the text that invites users to post a question to the site or to customer support. The default is: Don’t see what you're looking for?
    Create Your Question Prompt Enter the text that users click to ask a question. The default is: Ask a question.
    Create Your Sign-In Prompt Enter the text that directs users to a login page before they ask a question. The default is: Sign in to ask a question.
    Allow members to add topics Select to show a topic area at the bottom of the question and to allow members to add topics.
    Expand Details section by default Show the full question Details section. Users can collapse and expand this section as they choose.

With global search from your internal org, you can get uneven results when searching for a site User record. Here’s why and what you can do about it. Each site has a unique network ID. When you create a site 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.

 
Loading
Salesforce Help | Article