Skip to main content
Hello guys,

 

I've created a Visualforce page that switches to a lighting component with an i frame.

 

When I click on the button, the following message appears:

 

Lightning components require My Domain. For more information, contact your system administrator

 

I have already created a domain.

 

Can someone help me?

 

the simple component code is as follows:

 

<aura:component implements="lightning:actionOverride,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction,forceCommunity:availableforAllPageTypes,force:appHostable"  access="global" >

 

    

 

<div>

 

    <iframe src="https://customdomain.lightning.force.com/apex/AccountEditButton" width="100%" height="100%"   />

 

    </div>

 

    </aura:component>
1 answer
0/9000