We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
2answers
23 views

App builder Component visibility filters not working for lightning out

We have inserted LWC in visualforce page in classic using lightning out. Our requirement is to display the LWC to some profiles and users only. I set the component visibility filters through the ...
0
votes
0answers
16 views

Other options (except button and button-icon) for navigation using datatable in Lightning Web Components

I used 'View' button in datatable to navigate to record. I put the LWC in VF page using lightning out and it made the UI inconsistent. Check this question for details. Is there something else that I ...
0
votes
0answers
32 views

Different whitespaces in lightning and classic(lightning out) for LWC

LWC datatable looks different in lightning and in Visualforce(lightning out). The LWC gets extra whitespace in classic. Also the alignment of 'view' button changes. We are working on transitioning to ...
0
votes
0answers
30 views

Problem with LWC, Rich Text, and Lightning Out

Anybody have issues with the Input Field (Rich text) in Lightning Out? I use my LWC both in a Lightning Page, and in a VF Page with Lighting Out. The Component is uses and to load some fields, but ...
0
votes
1answer
22 views

How to navigate based on UserContext (lightning and classic)

I have a lightning web component that displays accounts and contacts and allows navigation to them with the help of a button. I have used the LWC in lightning experience as well as in classic using ...
0
votes
0answers
17 views

Lightning out is not dispaying data of LWC

I have a LWC that displays records using wrapper class and allows navigation to those records. It works fine in Lightning. When I try to use the same component in VF page using lightning out, it does ...
2
votes
0answers
34 views

Dependent pick list error in visualforce

I need to display more than 10 dependent Picklists on a Visualforce page, but when I add more than 10 I get the below error: Visualforce pages may not display more than 10 dependent picklists ...
0
votes
0answers
25 views

Lightning out App error in callback function, related list button display

I am trying to use a visualforce page a with lightning out component in order to transition off of a javascript button. However, when testing the functionality I receive the following error message: ...
1
vote
0answers
21 views

LWC displayed in VF page without declaring resource using <aura:dependency> in Aura app

I am new to lightning out. I created a Lightning Web Component and tried to display it on a Visualforce page. My Visualforce page displays LWC even though I did not declare it in Aura app. According ...
0
votes
1answer
23 views

Create a sign up form using lightning out

I want to create a component in an external website that will fetch some data from the user that he enters and store in an salesforce object. Is it possible to do this. I have used the below code but ...
0
votes
1answer
39 views

Displaying a cloud page for sign up in external website

I have created a sign up cloud page in marketing cloud and I want that page to be embedded in some other website. I know there are options like iFrame or DEmanager but iFrame are not that good for ...
0
votes
0answers
16 views

Render DesignAttribute configuration by visualforce page (LightningOut)

Hi I have a lightning component with design attributes. I want to render this component in salesforce classic view. So I have created a visualforce page and embedded the lightning component using ...
0
votes
1answer
80 views

Lightning Datatable errors tooltip not rendering properly on VF Page with lightning out

I have a lightning datatable. I'm trying to pop out error messages based on some values. I'm getting errors correctly mapped to each cell and each row as well. But the error tooltip is not getting CSS ...
0
votes
0answers
16 views

VF page that includes a lightning app and an apex:tabPanel throws js error in browser console

Summary JS errors are thrown in browser console when including apex:includeLightning and apex:tabPanel in Visualforce. apex:tabPanel introduces scriptaculous which has conflicts with $A in aura. Does ...
0
votes
1answer
30 views

Call lightning component from external site and pass query params

I am developing a payment gateway feature in salesforce application. I have created a Lightning component where I use an iFrame to redirect to the payment gateway URL. After payment is complete, I ...
0
votes
0answers
49 views

CORS policy : No 'Access-Control-Allow-Origin' header is present on the requested resource

My requirement is that I want to expose my lightning component to an external website(HTML webpage) without user having to log in to salesforce. For this, as per this questions's answer., I have done ...
2
votes
1answer
115 views

How to expose lightning component in existing external web page without authentication

I need to use my lightning component in a web page which is not in any way related to salesforce(its not a SF community or site, its an existing web page that is live). This web page uses a form, and ...
0
votes
0answers
20 views

Using a VisualForce page for both chat and flow

I am trying to display both chat and flow in VF page For the chat - I insert the embedded snap in and it works. For the flow - I want it to look in the lightning UI, so I am opening it from lighting:...
1
vote
1answer
81 views

Lightning web component inside Visualforce page

I trying to display Lightning web component inside a visualforce page. There are three components in following hierarchy home <-- heavyMachineryForm <-- vehicleOrHeavyMachine. Following is ...
0
votes
0answers
77 views

Export using JS-XLSX on lightning experience

I have a functionality where data exported into excel document and it is implemented using JS-XLSX java library on Aura component and it is called VF page using LightningOut. It is working great on ...
1
vote
0answers
23 views

Lightning components inside Salesforce Mobile SDK

I am pretty new to mobile Development, so i have started with this Trail and created hybrid_remote app. Everything works great as i could able to access the data trough VF page. Then I wanted to ...
2
votes
0answers
15 views

Exception in lightning component when loading on mobile app web view using lightningout.js

We have a custom mobile app where it loads the lightning components in hybrid web view through lightningout.js. we found an error message displayed in mobile webview for a component, it contains ...
0
votes
0answers
42 views

WorkspaceAPI not working in Lightning component, if component is using lightning out app

as lightning components are not supported in List view button, i have used lightning out to serve the purpose, but WorkspaceAPi is not working in Lightning component as it using lightning out. i need ...
0
votes
0answers
47 views

Workaround/solution to use workspace API in a lightning component(component is inside a vf page)

As list view buttons are not able to open lightning components directly, I used a vf page to show lightning component using lightning out. Now I need to use workspace API to effectively navigate and ...
0
votes
0answers
73 views

Lightning out in react-native app webview

I am trying to load lightning pages in react-native app webview throught lightningout.js and getting the below error Access to XMLHttpRequest at 'https://company.lightning.force.com/c/PP_Mobile....
1
vote
0answers
97 views

I'm not able to access DOM element even in “afterRender”

I'm trying to create a canvas in my custom lightning component. This is a child component of another component. The canvas draws few charts, and the methods are called only after both the script(...
0
votes
0answers
91 views

lightning out not working with login flow

I've a login flow which uses flow and lightning component to present few screens. Issue with flow screens is these screens are not wide enough. I tried to use login flow with VF to get better control ...
1
vote
0answers
49 views

Unable to use UI Theme functions in Lightning Out App

first time working with a Lightning Web Component and Lightning Out so this may be a fairly simple question. We're still using Salesforce Classic so I need to be able to use navigation methods which ...
0
votes
1answer
98 views

Look up field not showing results - Lightning Component via Lightninh Out

I built a form using Lightning Universal Lookup Component - Managed Package. I'm using it in two different fields, here is the first field where it's working perfectly. This is the markup for that ...
0
votes
2answers
642 views

Error when trying to show Toast from lightning out through Site

I get this error on the bottom of the page when trying to show a toast message This page has an error. You might just need to refresh it. Error in $A.getCallback() [$A.getEvt(...) is undefined] ...
0
votes
0answers
355 views

Is there a way to use lightning:fileUpload from a Visualforce Page?

I need to call a Lightning component which uses lightning:fileUpload to upload multiple files from a Visualforce Page. But for calling a Lightning component from a Visualforce Page, I need to use a ...
1
vote
1answer
627 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: ...
1
vote
1answer
26 views

Lightning out - How to catch errors from the embedded component

I have a lightning out application. I can easily catch backend errors and show it in the front-end via alerts or toasts. However, I wanted the host application to have a way to capture the error ...
0
votes
0answers
116 views

Lightning component in VF page: API call promises never fire

I have a VF page which loads a Lightning Component that in turn makes an API call (workspaceAPI.isConsoleNavigation). The client controller invokes the API call, but the promise returned never fires. ...
1
vote
3answers
2k views

How to close sub tab from lightning component button click

I have a vf page in which I have embedded a lightning component ( lightning out ). I'm having a lightning button called "Save". On clicking this, I need to close the sub tab ( currently I'm displaying ...
1
vote
0answers
85 views

Alternative to lightning:overlayLibrary in LightningOut

I have a Visualforce page which loads a Lightning Aura Component using LightningOut. The Lightning component uses a <lightning:overlayLibrary component, which is not supported in LightningOut. ...
1
vote
1answer
2k 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 ...
0
votes
1answer
324 views

Lightning components not added as dependency in lightning out app are visible to external app

I'm working on lightning out app to authenticate and expose few lightning components for an external node app. OAuth Access Token is used to authenticate user. It seems to be working fine just that ...
3
votes
1answer
443 views

Open New Tab in Lightning Out?

Scenario: I want to create a List Button which displays a Lightning Component. The only way to implement this step is to use a Visualforce Page which uses a Standard Set Controller, then use ...
0
votes
0answers
51 views

Unable to get lightning look and feel for site users

I am using lightning Page in VF using lightning out.The page is added to sites.But when I open the page via link, It shows the components but Look and feel is not of lightning.
1
vote
2answers
286 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 ...
0
votes
0answers
20 views

In LightningOut, firing an event multiple times from the VF page javascript to LightningOut component gives Event error [duplicate]

I've seen several questions regarding this issue, but none of the answers work in LightningOut. When an event is fired from the VF page's javascript (VF page event to Lightning Component), it gives an ...
1
vote
2answers
866 views

Community user cannot download file

I am using an old portal for my customers, with customer community user licenses. In the portal, my users should upload files and then download the files that they have uploaded. The portal is ...
5
votes
1answer
882 views

Unable to subscribe to Platform Event Notifications in a Lightning Component via Lightning Out

The ultimate objective is to detect if a visualforce page (or the lightning component embedded within it) is already being viewed/used by a user when someone else opens it and subsequently restrict ...
1
vote
1answer
206 views

“afterRender threw an error in 'lightning:clickToDial' [a.replace is not a function]” when dynamically displaying lightning:clickToDial

I have a VisualForce page with a script to dynamically display a lightning:clickToDial component. However, when the page is loaded I receive the following error message: This page has an error. ...
-1
votes
1answer
114 views

recordEditFrom - Address Field is disabled in Site as a Guest

When using Lightning Out and recordEditForm, the Mailing Address fields on Contact object is disabled even though the permissions are set on the Guest Profile. All other fields are fine. Manually ...
0
votes
2answers
544 views

Getting error while passing list from visualforce page to lightning component

I have a button "Manage RA" in Lightning Listview of a custom object which uses Visualforce page and Lightning:out to invoke the lightning component. When a user selects any of the records from the ...
14
votes
1answer
373 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 ...
1
vote
0answers
59 views

Html not rendering for lightning out rich text field in visualforce

We have implemented knowledge in our org, and generally use an employee community to interface it. However, when not using the community we render the articles in a visualforce page that is ...
2
votes
1answer
84 views

Lightning out event override failing in Summer '18 (except in debug mode…?)

I built a lightning component to be used in a Visualforce page using Lightning Out, which works fine in my development environment, which is in Spring '18. However, when I pushed it to another ...