CaseCreation Visualforce Component

Coveo for Salesforce 4.2 (April 2020)

The CaseCreation Visualforce component is used to create a Case Creation component (see Integrating a Case Creation Page).

This component takes care of wrapping the JsSearch component (see JsSearch Visualforce Component) and includes the correct scripts and different resource references needed.

Including this component in a Visualforce page allows you to create a fully working page using the Interface Editor.

Usage

Reference it in your Visualforce page, as you would for any other Apex component, using the namespace prefix of the Coveo package.

<apex:page standardController="Case" docType="html-5.0">
  <CoveoV2:CaseCreation name="CaseCreationPage"/>
</apex:page>

Resources Included With This Component

This component includes the following resources in the header of your page:

  • Since it wraps the JsSearch Visualforce Component, all the resources described in that page are included.

  • The CSS for the different Case Creation components.

  • The JavaScript resources for the Case Creation component.

JavaScript Code Included and Executed with This Component

Option

This component has the same options as the JsSearch Visualforce components (see JsSearch Visualforce Component).

You can also use the following option:

name

The name of the CaseCreation and the name of the <apex:Component> that are created. By default, this option is the name of your Visualforce page.

The Interface Editor creates and saves the content of your interface in an Apex component. This property allows you to set the name of the component that’s being created.

<CoveoV2:CaseCreation name="<MY_CUSTOM_CASE_CREATION>"/>

Where your repalce <MY_CUSTOM_CASE_CREATION> by the name <apex:Component> that’s created.

What's next for me?