Error When Adding or Accessing Coveo Components in a Lightning Community
Error When Adding or Accessing Coveo Components in a Lightning Community
In this article
Coveo for Salesforce 2.41 (May 2017)
Symptoms
When adding or accessing a Coveo component in your Lightning community, you get the following error:
Action failed: CoveoV2$Base$controller$executeComponentInitilization [Cannot read property 'getComponentType' of undefined]
Cause
This issue arises when Lightning Locker is enabled in your community alongside Coveo components.
This is because Coveo doesn’t currently support the use of Lightning Locker in communities (see Coveo for Salesforce Overview).
Resolution
You need to disable Lightning Locker in your Lightning community.
-
In Salesforce, in Setup, search for and select Critical Updates (Build > Critical Updates).
-
Deactivate Lightning LockerService Security.
-
Next to Enable Lightning LockerService Security, select Deactivate.
-
On the Deactivate Update page, select Deactivate.
-