Use Salesforce page variations

Note

The Coveo Community Search component is the Locker compliant version of the Coveo Search component.

Salesforce page variations allow you to display different pages in your community based on the audience profile, location, or record type (see Personalization Using Audience Targeting in Experience Builder Sites).

You can use the Coveo Community Search component to display different search pages based on the same criteria.

  1. Access the Salesforce Experience Builder.

  2. Ensure that you have created a page variation for your desired page (see Create and Manage Audiences in Experience Builder Sites).

  3. Select the page variation you want to modify.

    Page variation selection | Coveo for Salesforce

  4. In your page variation, drag the Coveo Community Search component.

    1. In the menu on the left, select Components.

    2. Under Custom Components, select the Search component.

    3. Drag the Search component where you want to put it on the page.

  5. You might notice that the search page is the same one as your default search page.

    In the floating option box, under Name, enter a new name for your component, preferably one hinting at the audience.

    Community Coveo Search component options | Coveo for Salesforce

  6. Set up your search page.

    1. In the upper right corner, select Preview to access Preview mode.

    2. In the Coveo box, select Set Up a Search Page.

    3. When prompted to select the tabs, select the appropriate tabs.

      Note

      You can always modify this later.

  7. Customize the Coveo component to fit your needs using the Interface Editor.

    Note

    For references on the Coveo JavaScript Search Framework, see Coveo JavaScript Search Framework - Reference Documentation.