Activity Forums Salesforce® Discussions What is the default namespace of Salesforce lightning component?

  • chanchal kumar

    Member
    August 20, 2018 at 2:15 pm

    Hello Prachi,

    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
  • Parul

    Member
    September 28, 2018 at 6:02 pm

    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

  • Avnish Yadav

    Member
    September 30, 2018 at 4:07 am

    Hello,

    If your organization hasn’t set a namespace prefix, use the default namespace c when referencing Lightning components that you’ve created.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos