0

I am following the Trailhead tutorial on creating Lightning Components. It says that this requires the Salesforce org to have a domain. Well, as a matter of fact, we have one. And so do our developer sandboxes.

For example, the URL is https://companyname--sandboxname.cs88.my.salesforce.com/_ui/common/apex/debug/ApexCSIPage

However, when clicking the preview button in the Developer Console, I get an error message that Lightning Components require a My Domain.

What gives? How can I develop in a sandbox?

  • 1
    Have you release it for all users? – Tushar Sharma Feb 14 '18 at 10:05
  • On the production org it has been released to all users. Is it necessary to do this on the sandbox as well? – Sander de Jong Feb 14 '18 at 10:07
  • You can check. If not then you need to release it to all users. – Tushar Sharma Feb 14 '18 at 10:09
4

You need to release the domain for all users and it will solve your problem.

Releasing the domain is not automatically done for sandboxes, even if it has been done for the production org.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.