Questions tagged [lightning-out]

Lightning Out is a feature that allows Lightning Components to be used in pages that are run from non-Salesforce servers allowing components to be added to external apps. A JavaScript library is included in the page on the origin server. Markup is added to configure & activate the Lightning components app. Lightning Out pulls the components app into the page over a secure connection & inserts it into the DOM of the page.

Filter by
Sorted by
Tagged with
2 votes
1 answer
897 views

modifying napili community template lightning components

Is there a way to view & modify the code of standard lightning components that are visible when editing the Napili template in the community builder. I was wondering if I could modify some of the ...
Chookloo's user avatar
12 votes
1 answer
4k views

Is there a way to handle a Lightning Event from a Visualforce Page using Lightning Out?

It's documented that Lightning Events can be fired from Non-Lightning code. However, I'm looking for a way to do the opposite. I'd like to be able to create a lightning component that will function ...
Grokodile's user avatar
  • 673
7 votes
1 answer
2k views

Lightning Out : getting "No 'Access-Control-Allow-Origin' header is present on the requested resource" from Heroku App

---------- THE EXPLANATION ---------- I need to use my LWC's in an External Site. For it I use Lightning Out, and I want to test it with Heroku App. I have built a simple Aura Application according to ...
Vitalii Dehnerys's user avatar
4 votes
1 answer
4k views

Lightning Out: CORS error even after whitelisting force.com site

I have a force.com site. I access one visualforce page from this site. On this vf page is a lightning-out application. All of the lightning-out requirements to run on a vf page has been set: ...
SamuelDev's user avatar
  • 790
4 votes
2 answers
5k views

Can any LWC be hosted in any external website without a user logging in?

I see a lot online about Lightning Out, Embedded Service, and other things, but can't get a clear answer on this and I'm not a web developer so a lot of it is opaque. Can any LWC be hosted on any ...
number41's user avatar
  • 948
16 votes
1 answer
563 views

Cannot read property '$$OwnerKey$$' of null

I have a Visualforce Lightning Out page that's rendering some <lightning:input type="date"> elements. Since the Winter '19 release in the dev sandbox I'm working in, whenever I select a date ...
Steven Bateman's user avatar
7 votes
1 answer
901 views

Unstyled Flows in Lightning Out

I have a static site, hosted in a AWS S3 bucket. The static site uses Lightning Out to load a component that contains a flow. I have included the SLDS stylesheet in the static site, and have ...
Ross Bassett's user avatar
7 votes
1 answer
2k views

Lightning Out suddenly broken - 500 (Server Error)

We have a set of lightning components rendered in Classic on Visualforce using the Lightning Out library. This morning, it is suddenly down for us on Prod, partial and developer sandboxes. Our ...
Simon Lawrence's user avatar
5 votes
1 answer
1k views

window.opener.$A syntax gives - permission denied to access property "$A" error

Problem statement: When we try to access the 'window.opener.$A' property of lightning component present in the parent from a javascript snippet present in a child window (Visual force page) we get ...
Abhijeet Bhandari's user avatar
4 votes
7 answers
7k views

lightning:helptext not working in Lightning Out

I'm having issues rendering the lightning:helptext component with Lightning Out. Here's the code that will reproduce the issue: TestOut.page <apex:page showHeader="false" sidebar="false"> &...
smukov's user avatar
  • 5,553
3 votes
2 answers
1k views

Add URL Parameter or another method to prevent action on browser refresh - Lightning Out / Component

Scenario: Using Lightning Out I have a VF page display a Lightning Component. The VF page passes values from URL parameters to the component attributes. If specific parameters are passed the ...
Eric's user avatar
  • 54.2k
3 votes
1 answer
1k views

Lightning Out SLDS Weirdness

I am trying to load a lightning out app in a static site hosted via an S3 bucket. I started with a lightning app that extends ltng:outApp and it describes a single component as a dependency. The app ...
Ross Bassett's user avatar
3 votes
2 answers
983 views

Lightning Out : Error 404, Blocked by CORS

To test Lightning Out on an external site, I use the application created in the "Aura Components Basics" module: expensesApp This one works very well the proof in image: Pour To make my ...
Nashle's user avatar
  • 29
2 votes
2 answers
1k views

Reuse Classic Apex Controller for Lightning conversion

We have a very large, complex Visualforce page with a very large, complex extension. We have been asked to convert a portion of the functionality to Lightning (using Lightning Out on the VF page). Is ...
Jojo's user avatar
  • 153
2 votes
1 answer
532 views

How to access "Submit" button via Publisher SDK with Lightning Component in Visualforce using Lightning Out

I'm trying to follow this Trailhead lesson: https://developer.salesforce.com/trailhead/en/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_actions_global In this, we can use a ...
VarunC's user avatar
  • 5,950
1 vote
1 answer
684 views

winter 16 bug ?- $Lightning is not defined. Please try again

Getting this error when trying to run a lighning app (click on preview app) with extends="ltng:outApp" . This is to embed the component inside VFP. Note - The error is not reproducable when the same ...
msreekm's user avatar
  • 209
1 vote
1 answer
7k views

Error in $A.getCallback() [Cannot read property 'fire' of undefined] failed: $A.get('e.force:refreshView').fire();

Background I have a Visualforce page which loads a Lightning Aura Component using LightningOut. When the Lightning component executes this line: $A.get('e.force:refreshView').fire(); I get this ...
Robs's user avatar
  • 9,336