Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Using the Default Namespace in Organizations with No Namespace Set
If your organization hasn’t set a namespace prefix, use the default namespace c when referencing Lightning components that you’ve
created.
The following items must use the c namespace when your
organization doesn’t have a namespace prefix set.
- References to components that you’ve created
- References to events that you’ve defined
The following items use an implicit namespace for your organization and don’t require you to
specify a namespace.
- References to custom objects
- References to custom fields on standard and custom objects
- References to Apex controllers
See Namespace Usage Examples and Reference for examples of all of the preceding items.