Skip to main content

Hi Experts,

 

#Community Cloud  #Community Portal  #Lightning Out  #VF Pages  #Lightning Community  #Salesforce's Site.com  #Sales Cloud

Our org has a salesforce site which uses a Lightning Out VF Page which is working as expected. Now I am generating the URL of this site with some parameters for vf page from a Community Page aura component and redirecting to the created URL using the simple window.open.

The page is not getting loaded despite the proper URL is being created and I am getting an error in the console 'Uncaught ReferenceError: $Lightning is not defined" at the line "$Lightning.use("c:MyLightningOutAPP", function(...."

If I refresh the page after getting the error, the page loads correctly.

Please help to resolve the issue.

1 answer
0/9000