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.
174 questions
0 votes
1 answer
183 views
How to expose Salesforce Components in external website (with and without authentication)?
Has anyone worked with the 'Lightning Out' feature in Salesforce, which allows using components outside Salesforce and is currently in Beta? I'm interested in learning about any challenges, ...
0 votes
0 answers
228 views
Lightning Out: Uncaught ReferenceError: $A is not defined at lightning.out.delegate.js
I used Lightning out feature to embed a custom LWC in our company's website. I have built the Aura Wrapper needed for the lightning out. <aura:application access="GLOBAL" extends="...
3 votes
0 answers
7k views
Troubleshooting 401 errors && ERR_BLOCKED_BY_ORB on LightningOut using a custom domain
We're attempting to use a custom domain (ex. https://lightningout.example.com) to as the domain for lightning out components, see example below. We've configured a subdomain on our website and issues ...
1 vote
2 answers
817 views
How to create a LWC for Lightning Out with the custom font of the external Website
I wanted to create a LWC that should be used as a kind of Web2Case form on the website of a customer. Technically, everything is working but I cannot change the font of the LWC to match the font of ...
0 votes
1 answer
106 views
How to redirecct to record detail page using ltng out app and flow
I'm using a ltng:outApp that opens a lightning:flow from a visualforce page. The flow takes multiple inputs from the user and creates a record on a custom object. When the flow finishes I'm trying to ...
0 votes
1 answer
248 views
$Lightning.use() function with access token
Hello Community Experts, Whenever I use the access token into the $Lightning.use() function, It will give the Invalid session ID error and my component will not load on an external site. I have ...
0 votes
1 answer
318 views
Unable to Upload Files of Lightning Flow launched by Visualforce
We are using Visualforce override page for New Case Action that is triggering Lightning Screen Flow via Lightning Out. The Lightning Runtime in Visualforce Page was Rendered according to Salesforce ...
0 votes
0 answers
255 views
Render Lightning Runtime for Flows in a Visualforce Page and get variable value from URL
I'd like to launch my flow in lightning run time in a visualforce page and pass a variable to the flow. I previously used a formula URL in classic that appended recordid= Contact.Id to the URL which ...
0 votes
1 answer
258 views
Lightning out loads but apex calls return cors error
The lightning out(LO) app I have created worked fine. I did not use it however for a few months and now i get a 'Redirect is not allowed for a preflight request' error when my LWC tries to make an ...
1 vote
2 answers
473 views
Using LWC in a VF page (Lightning Out) is causing issues with the old VF page behavior
We have a VisualForce page which is used to be the config page for a managed package, there we have a lot of logic, and everything worked fine before adding an LWC using the lightning out. All the ...
1 vote
0 answers
579 views
OmniOut + localhost:4002 error
Premise: I want to host my Omniscripts in a third-party CMS system but before that I have to demo that I can display my Omniscripts even on localhost. I followed this and this. My node version is 14....
0 votes
1 answer
344 views
Auth Token Vulnerability with Lightning out
I have been assured by 2 Archtects that there is no security issue here but I want to ask the wider community because i sense a security vulnerability looming. Below is the standard markup for ...
1 vote
1 answer
152 views
Visualforce handler not invoked when event fired in aura component
I'm using an aura component in a visual force page. Aura Component: RichInputText.cmp <aura:component> <aura:attribute name="bodyVal" type="String" /> <!-- ...
1 vote
0 answers
100 views
slds modal in inline visualforce page
I'm using lightning out to put my lwc in classic record page. Everything works, except the slds modal open within the hight of inline vf page rather than as an overlay. In lightning, this works ...
6 votes
1 answer
2k views
Lightning Out : Uncaught ReferenceError: $A is not defined when user is not logged in
I want to use my LWC'in an External Site (Heroku). For it I use Lightning Out. I have built a simple Aura Application (in my Sandbox) according to documentation here : Lightning Out Dependencies <...