Activity Forums Salesforce® Discussions Explain the use of Aura: Namespace in the Salesforce code.

  • shariq

    Member
    September 24, 2018 at 2:43 pm

    Hi,

    Every component is part of a namespace, which is used to group related components together. If your organization has a namespace prefix set, use that namespace to access your components. Otherwise, use the default namespace to access your components.
    Another component or application can reference a component by adding <myNamespace:myComponent> in its markup. For example, the helloWorld component is in the docsample namespace. Another component can reference it by adding <docsample:helloWorld /> in its markup.

    Lightning components that Salesforce provides are grouped into several namespaces, such as aura, ui, and force. Components from third-party managed packages have namespaces from the providing organizations.

    In your organization, you can choose to set a namespace prefix. If you do, that namespace is used for all of your Lightning components. A namespace prefix is required if you plan to offer managed packages on the AppExchange.

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

    Namespaces in Code Samples
    The code samples throughout this guide use the default c namespace. Replace c with your namespace if you’ve set a namespace prefix.

    Hope this helps.

  • Avnish Yadav

    Member
    September 25, 2018 at 5:55 am

    Hello,

    Aura is a UI framework for developing dynamic web apps for mobile and desktop devices. Aura provides a scalable long-lived lifecycle to support building apps engineered for growth.

    Aura supports partitioned multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Java on the server side.

    Thanks.

  • Parul

    Member
    September 28, 2018 at 8:35 pm

    Aura supports partitioned multi-tier component development that bridges the client and server. It uses JavaScript on the client side and Java on the server side.

    The Aura framework. Note that the open source Aura framework has features and components that are not currently available in the Lightning Component framework. We are working to surface more of these features and components for Salesforce developers.

     

    Thanks

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos