You need to sign in to do that
Don't have an account?
SFDC Learning 6
Problem with ltng:allowGuestAccess on public site
I am trying to dispay multiple lightning components using sites vfpage.
It is not working on public site.
error: http://test-123-developer-edition.ap2.force.com/test/c/LatestPackageOfComponents.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT
Could anyone please solve this issue.
Thanks in advance
<apex:page sidebar="false" showHeader="false" standardStylesheets="false"> <apex:includeLightning /> <div id="lightning" /> <div class="slds"> <div class="slds-grid"> <div class="slds-col"><div id="formSelection" /></div> <div class="slds-col"><div id="objectSelection" /></div> </div> </div> <div id="sldsSpinner" /> <script> $Lightning.use("c:LtPOfCom", function() { $Lightning.createComponent( "c:GC", {}, "formSelection" ); $Lightning.createComponent( "c:GeneralPC", {}, "objectSelection" ); } ); </script> </apex:page>
It is not working on public site.
error: http://test-123-developer-edition.ap2.force.com/test/c/LatestPackageOfComponents.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT
Could anyone please solve this issue.
Thanks in advance
Thanks