You need to sign in to do that
Don't have an account?
Laetitia Damen 9
Error while creating component for lightning component quick action !
Hi there!
I've merged my javascript button to Aura component (client need). It shows an error. What do I need to change in my code?
Error while creating a component for lightning component quick action [Assertion Failed!: Abstract component without provider def cannot be instantiated : markup://c:LCC_GenericLightningComponent : undefined]
Here my code :
I've merged my javascript button to Aura component (client need). It shows an error. What do I need to change in my code?
Error while creating a component for lightning component quick action [Assertion Failed!: Abstract component without provider def cannot be instantiated : markup://c:LCC_GenericLightningComponent : undefined]
Here my code :
As per a blog (https://developer.salesforce.com/blogs/developer-relations/2015/03/salesforce-lightning-components-by-example-component-extension.html) about usage, the extends attribute is set to the c:yourComponentName component to indicate that the childComponent is a sub component of the c:yourComponentName component. Note the “c:” that precedes the yourComponentName in the extends attribute. It is the namespace of the component being extended, which in this case is the default namespace. If you were extending a component in a managed package you’d use its namespace.
Can you try using it in following format: Please refer to below documentation for more understanding on it:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/namespace_using_reference.htm
Hope above information helps, Please mark as Best Answer so that it can help others in the future.
Thanks.