My Domain and Lightning Custom Components

Where's that component?

A customer recently contacted us to ask why they could not see the RingsTrue Lightning components when they tried to edit their page layout.

They wanted to put our 'Validate' button and the component we use to tell you whether it is the Mobile, Phone, or Fax number that is incorrect on the record into a new location on their page layout.

However, when they went to Edit Page on the Account object and looked under Custom for Lightning Components the list was empty.

 Page Editor where Custom Lightning Components can be added to the page.

Page Editor where Custom Lightning Components can be added to the page.

My Domain

Salesforce requires you to activate a feature called Custom Domain before you are able to see Lightning Components that are contained within a package.

There is a link to more information about My Domain here: 

Screen Shot 2017-10-26 at 08.33.02.png

https://developer.salesforce.com/docs/atlas.en-us.identityImplGuide.meta/identityImplGuide/domain_name_testing_and_rollout.htm

To check whether My Domain is active in your ORG, go to Set Up, then search for My Domain.

You should reach a page that shows the current status of your domain deployment.

 Checking My Domain deployment status

Checking My Domain deployment status

In our customer's case, My Domain had not yet been configured and they requested more assistance in activating this feature so that they could use the custom components within RingsTrue.

Luckily, Salesforce has a great online training resource that help step by step instructions.

There's a Trailhead for that...

If you haven't had a chance to review any of the great content on Salesforce's Trailhead learning site we'd really recommend it. There's a dedicated module to enabling Lightning Components that walks you through activating My Domain in your ORG.

Here's the link:

https://trailhead.salesforce.com/en/projects/quickstart-lightning-components/steps/quickstart-lightning-components1

 The RingsTrue component successfully added to the page

The RingsTrue component successfully added to the page

We hope this post helps you configure RingsTrue custom components or any other packaged lightning components that you'd like to add to the page.

barn-lightning-bolt-storm-99577.jpeg

Image from Pexels.com, artist Pixabay