--- title: Base Lightning component (Obsolete) slug: '1149' canonical_url: https://docs.coveo.com/en/1149/ collection: coveo-for-salesforce source_format: adoc --- # Base Lightning component (Obsolete) > **Obsolete** > > This feature is no longer available as of the April 2020 release of Coveo for Salesforce version [4.2](https://docs.coveo.com/en/3236#april-2020-release-v4-2-initial-release). The _Base_ Lightning component takes care of handling the logic split between the CaseCreation and Search Lightning components. All of its properties, events, and options are therefore shared with the [CaseCreation Lightning Component](https://docs.coveo.com/en/1113/) and [Search Lightning Component](https://docs.coveo.com/en/1027/). This component isn't meant to be used alone, and is documented here for reference purposes only. ## Usage This component isn't meant to be used alone. You should instead use the [CaseCreation Lightning Component](https://docs.coveo.com/en/1113/) or [Search Lightning Component](https://docs.coveo.com/en/1027/). ## Resources included with this component This component doesn't include any resources. ## Aura events This component offers the following Aura events: ### `ResourcesLoaded` Fired when all of the component resources have finished loading. This doesn't include the Interface Editor resources, which are loaded separately. ### `InterfaceEditorResourcesLoaded` Fired when the resources for the Interface Editor have finished loading. ### `InterfaceContentLoaded` Fired when the search interface has finished loading. ### `InterfaceContentInitialized` Fired when the search interface is initialized. ### `GetSearchToken` Fired when the search token has been fetched (see [Generating a custom search token for Coveo Lightning Aura components](https://docs.coveo.com/en/2745/)). ## Options This component offers the following options: ### `name` The name of the Visualforce component that should act as your search interface. Depending on the Lightning component you're using, this could either be a search or a case creation Visualforce component. This option doesn't have a default value. ### `searchHub` The name of the searchHub to be sent to [Coveo Analytics](https://docs.coveo.com/en/182/). This option should have the same value as `name`. ### `autoInitialize` Whether the component should automatically initialize itself. When this option is set to `false`, you need to handle the initialization yourself through external code. Default value is `true`. ### `autoInjectBasicQuery` Whether the component should inject a query by default. Default value is `true`. ### `autoInjectBasicOptions` Whether the interface should automatically configure a set of options for the interface. Default value is `true`. ### `debug` Whether to load the non-minified versions of the different resources. Setting this option to true enables more logging, but can be slower overall. Only enable this when developing or debugging components. Default value is `false`.