Activity Forums Salesforce® Discussions Why it is necessary to enable MyDomain in Salesforce Lightning?

  • Deepak

    Member
    January 30, 2020 at 12:23 pm

    Hi Udit,

    If you don't enable MyDomain in Salesforce Lightning,then how will you differentiate between your code and the code from the managed package or components that are running in your org.

    Your Lightning Components can't share the same memory space as Lightning Components from a vendor. By having My Domain enabled, they can more readily keep them separate.

    Hope it helps!

  • Anuj

    Member
    January 30, 2020 at 1:04 pm

    Hi Udit,

     

    You must deploy My Domain in your org if you want to use Lightning components in Lightning tabs, Lightning pages, as standalone apps, as actions and action overrides, as custom Lightning page templates, or elsewhere in your org.
    When My Domain isn’t deployed in your org, user interface controls related to Lightning components may be hidden or inactive. Lightning components added to pages, tabs, and so on, don’t run and may be omitted, or display a placeholder error message.

  • Ratnesh

    Member
    January 30, 2020 at 1:11 pm

    Hi Udit,

    You must deploy My Domain in your org if you want to use Lightning components in Lightning tabs, Lightning pages, as standalone apps, as actions and action overrides, as custom Lightning page templates, or elsewhere in your org.
    When My Domain isn’t deployed in your org, user interface controls related to Lightning components may be hidden or inactive. Lightning components added to pages, tabs, and so on, don’t run and may be omitted, or display a placeholder error message.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos