Integrate a Case Creation component

Important
Important

The Coveo Case Creation component has been replaced with the Coveo Case Deflection component (see Migrating components from Salesforce API 39 to API 40+.

The Case Creation component allows your administrators to easily create a Salesforce page where community users can create a support case and automatically be presented with Coveo-powered relevant items as they type their case subject or description.

Example

A community user experiences an engine power issue. As they start typing in the Subject field, queries are automatically launched with the typed keywords, and relevant items are dynamically presented in the Recommended Solutions section.

39357606

A Coveo-powered Case Creation page can contribute to increase case deflection when users refer to the recommended items, find the information they need to resolve their issue, and in the end, cancel the case creation.

This page explains how to add a Case Creation component to your community.

Adding a Case Creation component in your community

  1. Log in to Salesforce using an administrator account, if not already done.

  2. Create a new Visualforce page (see Defining Visualforce Pages) with the following code:

     <apex:page standardController="Case" cache="false" showheader="false" sidebar="false" standardstylesheets="false" docType="html-5.0">
         <CoveoV2:CaseCreation name="CaseCreationPage"/>
     </apex:page>
  3. Open your new Visualforce page (see Viewing and Editing Visualforce Pages).

  4. When adding a Case Creation component for the first time:

    1. In the This Search Page Is Not Configured dialog, click Set Up a Search Page.

      SetUpSearchPage
    2. In the Setup Search Page dialog, select the tabs you want to have when presenting solutions, and then click Create Page.

      Notes
      • You can always change the tabs you want later, using the Interface Editor.

      • Search Page could also be replaced with Case Creation page in the dialog text.

      The default Case Creation page appears.

Customizing your Case Creation page

  1. Access the Interface Editor.

    You can use the Interface Editor to change the layout or add, remove, or customize components in your Case Creation page.

  2. Consider the following customization examples:

    Examples
    • Drag and drop the Text component above the Subject field to add and format a title to your form, for example to more clearly indicate the form purpose.

    • Drag and drop the Picklist component below the Description field to add a drop-down list of values for an important item (such as product name) based on the content of a Salesforce field. Such a list can suggest or force the user to select a value, and optionally also use the selection to influence search results.

      39357608
  3. You can fine-tune CaseCreation component parameters to change how and when the Case Creation page uses the information entered by the end user to generate queries.

  4. You can fine-tune CaseCreationInterface component parameters to change how the search results are presented while the user types information. The CaseCreationInterface component shares many parameters with the SearchInterface component.

  5. Make your changes effective by clicking Save.

    Note

    There are several other components that you can use in your Case Creation page, each with numerous parameters. Feel free to explore the components available in the Interface Editor.

Tip
Leading practices
  • The form must contain at least one Field component (such as Subject or Description) to allow end users to describe their issue. The entered text can also be used as keywords to search for relevant items.

  • Your form must include a Submit and a Cancel component to show the corresponding buttons allowing end users to terminate or abort the case creation.

  • The form logs Coveo Usage Analytics (Coveo UA) Cancel button events, which you can use to evaluate the case deflected by the form.