Questions tagged [lightning]

This tag is for questions related to the "Lightning Experience" which comprises a number of elements around a new User Interface on the Salesforce Platform. While it can still be used in a server side MVC environment, it is primarily a MV UI where the Controller is JavaScript based operating from the user's browser. Lightning "Pages" are single page applications.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

LWC how to save variables on server side, can I use session?

I want to save variable on server side (not in database). In Visualforce page we use Apex Controller and we can use session, can I use session in Lightning Web Components?
0
votes
0answers
12 views

Communicate between two Lightning Applications

Is there any way to communicate between two Lightning Applications?
0
votes
1answer
19 views

How to deal with Lightning input IDs changing in browser plugin?

I'm writing a Chrome plugin that fills data into some fields in the Salesforce Lightning "New Lead" page. Looking at the elements on the page it seems impossible to figure out which one is the "...
1
vote
1answer
18 views

Event In LWC not getting populated in the child component

I am trying to fire an event in from the child component to the parent component , till the firing of the event code is working correctly , but it is not displaying anything in the child component. ...
0
votes
2answers
22 views

Can't save Object from API as new contact in lightning component

I need to save the data filled through API as a new Contact but i receive the follow msg when i press the "save (Guardar)" button: This page has an error. You might just need to refresh it. Action ...
0
votes
0answers
23 views

How to retrieve confirmation token in salesforce lightning LCC

Issue: We have a lightning app (in salesforce lightning) which is an iframe inside a Lightning Container Component (LCC) and sometimes while on the salesforce session the CSRF confirmation token ...
0
votes
1answer
22 views

Split records from the response.getReturnValue() to different objects like Account, Contact, Opporunities in the helper

From the controller i am returning list response, which it is having Account, Contacts, Opportunities. Attaching the response image. I need to split different objects data and assign it to different ...
0
votes
0answers
16 views

lightning:Iteration to split 3 objects records and show in lightning data table

I want to split the data from a single method, which is of the return type of account, contact, and custom object. I have 3 data tables. I want to show all those 3 tables with different objects. Is ...
0
votes
0answers
15 views

Lightning:Map - information balloon not working when the mouse moves over the Marker

I am using lightning:map to display the accounts on google Map with multiple marker options. Lightning:Map only shows information balloon when we click on the marker or when the account name is ...
1
vote
1answer
21 views

Moving code to trigger for Lightning and And Visualforce

I have a vf page that accepts few url query parameters. When a submit button is clicked, the apex controller takes the parameter and depending upon the parameter values different sorts of SOQL and DML ...
0
votes
2answers
29 views

error - Uncaught Action failed: c:qf_Questionbuilder$controller$SelectLookupItem [Cannot read property 'config' of undefined]

i am getting the following error. Uncaught Action failed: c:qf_Questionbuilder$controller$SelectLookupItem [Cannot read property 'config' of undefined] This is when my helper tries to refresh the ...
0
votes
0answers
14 views

File:/// formula field not rendering url in hyperlink for a user

I have a user with issues (maybe after Spring '20?) with a hyperlink formula. Formula is a simple text output type of the form: HYPERLINK ("file:///bob.txt" , "TEST") The different output HTML is ...
0
votes
1answer
29 views

LWC lightning-vertical-navigation-item-icon alignment to right [closed]

I use lightning-vertical-navigation-item-icon , By default Icon coming in left side, expecting in right side. <template> <div style="width: 320px;"> <lightning-vertical-navigation ...
1
vote
2answers
40 views

Component Event Not working - parameter value not showing in JS Console

I added these Console.logs to RowsPerPageController.js selectedValue prints "5" to Console as expected But it seems "5" is never added as a param to the event. Furthermore, in Test1Controller.js I ...
1
vote
0answers
17 views

How to prevent redirect when Lightning Component Overrides the Standard New button

I overrode the Standard "New" button on the Contact object. I have created a lightning component that uses a force:createrecord to pop a create new record screen with pre-populated values. Is there ...
0
votes
2answers
26 views

Trying to replace character in string with a line break in helper

I'm trying to replace a ; in a string with a line break to then be displayed in my component. I'm currently using the code below to do this. formatString: function(component, event, schemes) { ...
-1
votes
0answers
26 views

Lightning Email Template contains unexpected charactes (???) when received in Gmail

I remade all of our email templates recently in the lightning editor, because we experienced some additional chars "???" showing up in the emails when received in Gmail. Here's what the top part of ...
0
votes
0answers
23 views

Replicate “Merge Contact” Related List button behavior on Account Detail Page in Lightning

We are migrating to Lightning from Classic, we found that "Merge Contact" button is not available in Lightning on Account Page. I see that there is standard component Named "Potential Duplicate", ...
0
votes
1answer
23 views

connectedCallback/disconnectedCallback not firing on 2nd display

I've came across several cases where these callbacks did not fire. For example Standard action override (new). Overridden with LAC component containing LWC component. Then navigation back on list ...
0
votes
1answer
19 views

How to redirect to queue detail page as sub-tab in lightning console

I have a button which redirects to the user detail page on clicking it, as sub-tab in lightning console. I want to do the same if the record owner is a queue. I tried with the queue URL but nothing ...
0
votes
1answer
16 views

Creating Record Page with Lightning App Builder

I am trying to create a new record page using the lightning app builder for the Report object. I don't see Report in the dropdown of objects, but every other object is included. How can I make a ...
0
votes
1answer
38 views

Download data as Excel File in Aura Component

I have a Lightning Component that renders data in a table. I currently have the logic that downloads as a CSV file. For some users,Excel is not auto formatting the file to display as Columns. So they ...
0
votes
0answers
13 views

How do I permission-control community pages?

I have multiple communities set up in my org. I already have them set up such that pages with important data are login-protected. What I would like to do, however, is control who can see what. ...
0
votes
0answers
25 views

LWC container created on init call overriding all other LWCs already rendered with their own unique state

Situation: Up until Salesforce API got upgraded to 48.0 every time an agent would open a salesforce tab when opening a support case we were able to create a new aura:component that would trigger an ...
0
votes
0answers
18 views

How to handle when Lookup defaultFieldValues parameters for e.force:createRecord are null

If the record has the RecentAccount__c lookup field populated then the new record creation modal pops up perfectly without error. Otherwise, if the record does not have the field populated it throws ...
0
votes
1answer
38 views

Fields allignment not showing properly in lightning

[![enter image description here][1]][1]Here i am trying to show the field names on top and bottom field values. But some how it is having issue with alignment. Can someone suggest what is the issue ...
0
votes
1answer
34 views

How to disable the approval process in the Opportunity object for certain user?

How to disable the approval process in the Opportunity object for certain user? Even if the users press the submit for approval the Opportunity record to became automatically approved. Please advise ...
0
votes
0answers
14 views

Update field with plain javascript in the Offline Chat Form

Currently we are trying to update a field where we do not have access to the Aura code / controller to update the value of a field. Source HTML: <select class="Language__c slds-style-select select"...
0
votes
0answers
16 views

Lightning Component on init of record it keeps Account data as null [duplicate]

I have a custom lightning component to change record type on Account object. The problem is that sometimes, i observe Account information on force:recordData are coming as null. Some other times it ...
1
vote
0answers
28 views

How to Embed a LWC (lightning web component) within an Angular app (without Aura)?

I created a LWC (just a form) and now I need to embed it within my angular page. One solution is to put my LWC inside an Aura compnent and then, use Lightning Out, I do not want this I just want to ...
0
votes
0answers
10 views

INVALID_SESSION_ID: This session is not valid for use with the API error When Using setPassword()

setPassword() method not working with lightning component with call the method from apex and giving an error as INVALID_SESSION_ID: This session is not valid for use with the API any workaround to ...
1
vote
1answer
16 views

Is it possible to show quick actions in the Chatter publisher?

Record page settings are currently set to related lists. This means that users do not have access to the activities component. However, they do have access to the chatter publisher component. Is ...
-1
votes
1answer
13 views

dynamic visualforce input field data-required text box for a radio field

I have a visualforce page in with lightning styling and want to fix an issue in it. There is a radio button that I need to conditionally make required.So when New is chosen the input field should be ...
0
votes
1answer
19 views

How to show the default list view configuration option in lightning:listView

I am new to Salesforce and I am trying to customize the lightning:listView, it shows the gear icon but when I open that it only shows the heading of 'List view control' unlike in default list view ...
1
vote
1answer
23 views

Launch Screen Flow when Opportunity Sales stage changes

I'd like to know if the following is possible. When an Opportunity reaches sales stage 3, I would like a Screen Flow to launch(which will create a Quote). Reason : To create more guidance/fluency ...
0
votes
1answer
22 views

Can't retrieve non-customizable CustomObject named: ContentDocument

I have made changes to the record page of content document object, now I need to push the record page to other org. tried to retrieve the contentdocument object from vscode editor but receiving "Can'...
0
votes
0answers
38 views

Specify time duration of spinner aura lightning

I am making a REST Api callout from my lightning component. For the waiting time, a spinner is shown. But in case of any exception, the API is failing and the spinner continue to show as loading. I ...
0
votes
1answer
31 views

The issue in DateTime Field while saving from lightning component

I'm facing the issue in the Datetiem field type in the lightning component. I'm using for input and call apex method to save the fields for one of my events. Requirement: Save the 2 DateTime field ...
0
votes
0answers
13 views

onrowaction not working on a dynamically created data table

I am trying to create 'n' number of datatables on init, based on server response. I have a button as first column of each row, with 'onrowaction' configured. which is not responding. When i press the ...
-1
votes
0answers
20 views

what are required steps before using quick actions in macros?

between this two statements which one is required before using quick action in macros ? Quick Actions must be enabled in the org The specific Quick Action must be added to the Case record page Thank ...
0
votes
0answers
12 views

Login Flows redirection issue

We have a login flow and based on the profile, we redirect the users to a different page inside salesforce. It works fine in the redirection process. Recently we have installed a managed package, ...
0
votes
1answer
75 views

Modal Pop up on standard Lightning record detail page

I have a requirement that when a standard account record is opened, a pop up should be displayed with few fields of account like phone, name, type with ok button. When ok button is clicked, the pop up ...
0
votes
0answers
49 views

What is the equivalent Lightning method sendCTIMessage() to make an outbound call?

sendCTIMessage() is working flawlessly in Classic and VF page. From below below code snippet sendCTIMessage('/CLICK_TO_DIAL?DN=XXXXXXXXXX'); is talking to my Twilio Flex configuration set in Call ...
0
votes
0answers
10 views

Flow Core Action testing

I have a flow in which I'm using CustomNotification and SendEmail 'Core Actions' . Whenever a case is created a bell icon is shown via CustomNotification action and an email is sent via SendEmail ...
0
votes
0answers
31 views

Is it possible to make the name of an aura:attribute dynamic and pass it to controller?

Currently, I'm targeting the aura:attribute by its name but the problem I'm having is when I'm setting the body of v.reactApp in my controller is setting it for all of the components that are already ...
3
votes
1answer
95 views

how to call NodeJS from apex using Evergreen function

Salesforce has recently announced the Evergreen serverless functions. Information about the Evergreen can be found: https://developer.salesforce.com/blogs/2019/11/introducing-salesforce-evergreen....
0
votes
0answers
52 views

Unable to display custom object records in lightning app page

I am new to salesforce development and trying to learn salesforce lightning by developing a property project. I had created lightning app page but not able to display custom object records(Property ...
0
votes
1answer
14 views

How to show related list on Classic Page Layout and not on Lightning Page?

We are using both Classic and Lightning and I am trying to account for both. I had a requirement to Design a Lightning Record Page for lightning where I created a LWC that is used in place of a ...
0
votes
0answers
18 views

Salesforce Lightning Calendar [closed]

I have a custom object where I am capturing some Work order related event. I made a calendar using the custom object. However, clicking on the tile of calendar pop up a event window to create event. ...
0
votes
0answers
19 views

Identifying Global Action Name

I have two Global Actions which are calling a Single Lightning Component. I need to put condition based on the Global Action clicked by user but issue is i am unable to identify the name of the Global ...

1 2 3 4 5 108