Lightning components require My Domain

Hands up who’s gotten this message when running Lightning Applications since the Winter 16 release?

“Lightning components require My Domain. Please contact your system administrator for more information.”

To fix this, follow these steps

  1. Setup | Administer | Domain Management | My Domain
  2. Enter a domain name of your chosen. In the below screen shot, I am using a developer org which is why ‘-dev-ed’ is added to the end.Setting My Domain
  3. Check to see if  the domain used is available.
  4. Agree with the Terms & Conditions
  5. Click ‘Register Domain’
  6. It may take some time for Salesforce to register the domainDomain Registration Pending
  7. Once the domain is registered, re-open the ‘My Domain’ page to see new options:Click here to Login
  8. Click the ‘Click here to login’ button. This will login into Salesforce using the domain name selected.
  9. Click ‘Deploy to Users’ and agree with the alertDeploy to Users alert
  10. Now open your Lightning applications and all should work!My Lightning App is working again!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s