In this post, I will walk you through the steps to enable My domain in salesforce lightning.
Salesforce stands forefront when it comes to security by
providing capabilities to protect our data and organization. My domain is an important one on the list. Enabling my domain in the sandbox brings out unique
features specific to your org, like login screen customization and adding custom login policies.
Steps to enable My domain:
Login to salesforce lightning
Click on Gear icon and navigate to the setup
Search for My domain in the Quick Find and click My Domain option under Company Settings
Search for the availability of domain name in the search box
Once the name is available, click on the Register Domain button
A confirmation mail is sent to your registered mail ID
Check your mailbox for confirmation.
In my case, I have registered my domain as codengine and you can
see the application with a new URL as below.
URL Before enabling my domain
https://ap6.lightning.force.com/lightning/page/home
URL After enabling my domain
https://codengine-dev-ed.lightning.force.com/lightning/page/home
Test your new domain from the link mentioned in the mail
Login with
new URL and click tabs and links. If you've customized the UI, check for hard
links to your original URL.
Once testing is done, navigate back to setup > my domain
settings and click on Deploy to Users button to roll out new domain to your
Org. Make sure you logged in from the new domain URL sent to your mail ID.
In the popup click on the Ok button.
My domain is deployed to all users.
Great! You have enabled My domain in your sandbox. Now you can
create lightning apps, components and customize unique features and other
settings in the lightning framework. In case if you find any issues in enabling
My domain, post it in the comments section below.
0 Comments