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
1answer
19 views

Pubsub event communication between sibling components inside visualforce page

I have 2 sibling components inside a visualforce page. When i try to write pubsub events in the LWC components i am getting the below error This page has an error. You might just need to refresh it. ...
0
votes
0answers
27 views

LWC template doesn't hide despite if:true being false

I have a conditionally rendered SLDS toast as follows : <template if:true={documentsMissing}> <div class="demo-only" style="height:4rem"> <div class="slds-...
0
votes
2answers
44 views

Displaying picklist in html table is not working properly in LWC using lightning out

I am not using lightning data table as I need to display input and output fields together on the page users don't want to use inline edit of lighting data table. UPDATE: This problem is coming ...
0
votes
1answer
23 views

Lightning Out — How to go around session persistence

We currently have an LWC component. It is targeted to be used in 3rd party sites. The best way to do this is via Lightning Out. We therefore created a lightning out application, it is currently ...
0
votes
1answer
202 views

lwc lightning-input field-level-help styling

I have an lwc with an input and a helptext like so*: <lightning-input label="label1" field-level-help="pop up text"></lightning-input> it correctly has a question mark next to the label, ...
0
votes
0answers
84 views

lightning:inputfield - lookup field not working in Lightning Out - Salesforce1

I had a requirement, where I have to create a basic form so that users can have the functionality to create contact at the List view using a custom button. I have created a Aura Component and used ...
1
vote
0answers
18 views

Lightning Out Flow

I am trying to Render Lightning Flow Runtime in a Visualforce Page. Lightning out app Code: Visual Force Page Code: var ...
0
votes
0answers
27 views

User login “mix-up” when using lightning out in external site

I have met serious security problem when developing lightning out components and using them in external resource. This is out workflow: We authenticate in SF org as 'admin' user with OAuth2 and get ...
0
votes
0answers
38 views

Couldn't expose a component with Lightning Out in a Heroku app

I'm trying to expose a lightning component with lightning out in a Heroku app. In localhost, I can able to view a lightning component developed in salesforce with lightning out. But when I try to ...
0
votes
0answers
64 views

Making <lightning-helptext> work without slds-scope on body tag

We have chosen not to apply slds-scope to the body tag of our Visualforce application, because it results in some undesirable behavioral artifacts in our legacy application. Everything pretty much ...
0
votes
0answers
25 views

How to show errors from lightning component on Visualforce page?

On a visualforce page, I have lightning components running inside lightning out container. When a user without permission to the component logs in and goes to this page, there is an error message at ...
1
vote
0answers
38 views

Catching and relaying show toast event

We want to use Lightning toasts from Lightning Out. We want to do this using the standard new ShowToastEvent approach, so our components will work identically either in Lightning Experience or ...
3
votes
0answers
28 views

Unable to get Lightning application event in scratch org of SFDX project with namespace specified

I tried to use an application event in visualforce page using lighting out on my scratch org with namespace. But I was not able to get the app event in aura component. I wrote following Aura ...
1
vote
0answers
47 views

Lightning Flow Display text does not render HTML inside lightning out app

I have a flow that is using a simple DisplayText element on the Screen. It just displays Hello world (yes, I formatted it to be bold). I edited the record detail page and added this flow to the page. ...
0
votes
0answers
20 views

I cannot get InlineEdit to work in <lightning:listView> included in a Lightning Out situation ( in a VF page)

I created a Lightning component : <aura:component implements="force:appHostable"> <lightning:listView aura:id="listViewProjets" objectApiName = "Projet__c" listName = ...
1
vote
0answers
47 views

LiveAgent Chat + Lightning Out throws “$Lightning.use() already invoked with application”

When attempting to embed LiveAgent Chat on a public facing page that also contains a lightning out packaged aura/LWC, lightning.out.js throws $Lightning.use() already invoked with application: c:...
0
votes
0answers
95 views

Custom Popover for LWC not working in lightning out

I created a custom popover functionality for my LWC as mentioned here: When I add the LWC to lightning record page, it works fine. But when I add the same LWC in VisualForce record page using ...
0
votes
1answer
31 views

VF with long:out within SImpleDialog iFrame in classic console - Cant close or refresh tab

I have some legacy code that works everywhere except it is now broken in Salesforce Classic Sales Console. The code is executed from a javascript button that put the content of a VF page within an ...
5
votes
1answer
172 views

Auto scale lightning component in VF Page

I am trying to POC a very simple lightning component within a VF page, which is then displayed on a Force.com Sites. I am able to do this, but I need the component to "auto scale" to the correct size,...
0
votes
0answers
38 views

Alignment issue for datatable of LWC in lightning out

I have inserted my LWC in VF page using lightning out. I have used buttons for onClick Navigation. In lightning out, the buttons are getting extra padding. Due to this, the data is not aligning ...
1
vote
2answers
585 views

How to show apex messages or toast in VF page using lightning out

I am working on project to convert VF components into LWC. I have inserted the LWC in VF page using lightning out. The toast is showing up only in lightning experience and not in VF page. ApexPages....
1
vote
0answers
43 views

Salesforce SAML Assertion flow via REST API for Lightning Out

Context: We want to log a user into a Lightning Out App hosted on an Azure AD System using the SAML Assertion flow. What we have establisched so far: We have a functioning connection for our ...
0
votes
0answers
24 views

Lightning Out : No access to data

I use Lightning Out to integrate my LWCs on external sites. My LWC displays contact records and works perfectly on my Salesforce app homepage. On an external site, my LWC is displayed but not the ...
0
votes
0answers
55 views

Lightning datatable bug for Lightning Out

Inline edit for datatable refreshes the page in lightning out. Hence it becomes impossible to use inline edit functionality. As soon as I click the pencil icon, the whole page refreshes. Due to this, ...
0
votes
0answers
53 views

Hyperlink to open a record detail page in lightning-datatable is not working in classic console

I using the below component in lightning out.The below code is working fine in non-console classic view and I want the same thing to be worked in Classics console view.Tried multiple ways but didn't ...
1
vote
1answer
104 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 application ...
0
votes
2answers
245 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
46 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
49 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
156 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
103 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
67 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
37 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
122 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
225 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
25 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
56 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
23 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
260 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 ...
3
votes
2answers
94 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
45 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
174 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 ...
3
votes
1answer
335 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
87 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
269 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
205 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 ...
3
votes
1answer
52 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
28 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 ...
1
vote
0answers
68 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
74 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 ...