Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
12 views

Is it possible to design a custom component to have the 'add component here' capability? [duplicate]

For example, if I drag the standard tabs component into a lightning page, I'm given the option to drag other components in there, whether they are custom or custom (managed). Is it possible to mimic ...
0
votes
0answers
9 views

Issue updating the UI of a Case detail page in lightning on click of a custom button [closed]

I created a custom button with content source as a visulforce page. This vf page has an extension controller which updates the case owner to the current logged in user. On click of the button the ...
0
votes
0answers
23 views

<lightning:Select in Iteration

I would like to display the fields and provide the option to Map the Salesforce Lead fields. I would like to get the selected fields values along with key while I'm click the Submit button in the ...
0
votes
0answers
12 views

Files accessibility under Accounts

We are migrating to Lightning and we just converted Attachments to Files. Now we recently noticed that, Files associated to Opportunities are not available to view under Accounts which was default ...
0
votes
1answer
23 views

Is it possible to add a checkbox to a Rich Text Field in Lighting?

I am trying to display a terms and conditions agreement using a rich text field and display that rich text field in a lightning component using <lightning:formattedRichText value="{!v....
2
votes
2answers
81 views

Checking if rendered lightning:input components are populated

I am building a Lightning Component form with sections. I want to display a big check mark icon on the section if all the rendered lightning:input fields are filled out. I have successfully tested ...
-2
votes
0answers
24 views

Get maximum greater key values with object of array [closed]

let arr = [{ key = 1, name = 'testaa', dept = 'ggg' }, { key = 1, name = 'testaa', dept = 'ggg' }, { ...
0
votes
0answers
27 views

How to display image in Data table of lightning component [duplicate]

I am using data table in lightning component.I am referring one column in data table as formula field.That formula field returns image of text type.When i display that field in Lightning component, ...
0
votes
1answer
29 views

How to display Formula field which displays image using lightning

I have created one formula field which displays image of return type text.In classic the image is displaying.But in lightning the image is not showing up instead it is showing what ever the url i have ...
0
votes
1answer
25 views

Remove selected values from the multiselect picklist in lightning

I have a lightning component which is basically a filter having two buttons, Apply All and Clear All. I would like to remove the selected values on a button click "Clear All" The filter looks like ...
1
vote
1answer
16 views

How to call flow in lightning component

I need to run/call a flow in lightning component.i am getting the below error message : Uncaught Error in $A.getCallback() [[object Object]] Callback failed: serviceComponent://ui.interaction.runtime....
0
votes
0answers
20 views

open note dialog from lightning component

is there any way to pop open the standard notes dialog from a custom lightning component? to explain: all the salesforce standard components open notes in a dialog at the bottom right of the screen....
0
votes
0answers
25 views

Custom detail page should open when I click submit button in my custom contact page in lightning

I have a lightning component for detail page..When I click Create Contact button,a popup page will be opened.After filling the fields the page should navigate to custom detail page InputPopuppage:: ...
0
votes
0answers
45 views

Visualforce Page Timing Out in Lightning but OK in Classic

I have over-ridden the standard Edit button. The button loads a VF Page that displays 11 child records. The page is timing out in Lightning mode but does not when in Classic. However, if the VF page ...
0
votes
0answers
14 views

Can you edit the lightning edit page?

I want to make custom changes to the lightning edit page. Is this possible? I want to put a look up field to a junction object on the edit page. My developer brain goes straight to "is there a ...
0
votes
0answers
15 views

Is it possible to prevent Comments on forceChatter:feed component based on criteria on parent Record?

I currently am in the middle of creating a custom Case Feed component for our customer users that surfaces the forceChatter:publisher and forceChatter:feed components. The reason we decided to go the ...
0
votes
1answer
15 views

Lightning flow builder and lightning components

I want to pass the values from a lightning component to a flow. This value will be displayed as a default value on the display text. Is this achievable ? Can someone please help me.
1
vote
0answers
17 views

Using a forceChatter:feed component to render activity

In the lightning component that I am making, I want to mimic the behaviour of the chatter feed views, All Updates, Call Logs, Text Posts and Status Changes. (In the screenshot below) Basically I want ...
1
vote
0answers
30 views

VisualForce vs Lightning [closed]

1) What do you think, when Salesforce completely (or almost completely) abandons VisualForce and switches to Lightning? 2) And why do you think that you should not switch from VisualForce to ...
0
votes
1answer
34 views

Lightning Web Component Invalid Field Highlight Issue

I have added some controls on LWC component. All fields are required as per requirement. I want to highlight only control not label on submit click. Right now with below code it is highlighting both ...
0
votes
1answer
16 views

How to change the value of disabled with aura:if?

I have a few text input fields and 1 lightning:input type="file": <lightning:input type="file" name="file" accept="image/jpg" id="photoFile" onchange="{!c.handleFile}" disabled="true"/> I have ...
0
votes
0answers
18 views

Custom CSS for the Utility Bar

Does anybody know if it's possible to set custom CSS for the Utility Bar in Salesforce? Any component that's on the utility bar seems to be set within an iFrame, so it doesn't seem like you can use ...
0
votes
0answers
28 views

IntelliSense in Visual Code doesn't work

Started using Visual Code. Downloaded Salesforce Extension Pack. Looks good but IntelliSense doesn't work. Text writer in Trailhead is pretty confident that it should work. Operation system - Mac OS. ...
0
votes
1answer
50 views

Apex:inputfile style

Im trying to give the 'choose file' button the lightning style,I tried to set the header on True,but its not working with that component. Is there any other way to do it? <apex:form id="...
0
votes
1answer
34 views

Call Custom Object Quick Action from Lightning Component

We're in transition from classic to lightning and are working to update several of our javascript buttons over into lightning components, quick actions, etc. I have one javascript button that calls a ...
0
votes
0answers
28 views

How to add a new tab to Case Activity tabs

In the detail page for a Case in Salesforce, there are tabs for activity feeds. In the screenshot below, they are All Updates, Call Logs, Text Posts and Status Changes. (in the mid-centre of the ...
0
votes
1answer
35 views

How to avoid intermediate screen while calling lightning component

I am calling lightning component inside the quick action button. on click of quick action button all my lightning component will wrk.But i dont want the intermediate screen to pop up on click of quick ...
1
vote
1answer
44 views

Adding custom and icon to a Custom Lightening Component

I have made a custom lightening aura component in salesforce. Currently in the Lightening App Builder its coming as the name of the component file callLogs. Like in the image below, under the header ...
1
vote
1answer
20 views

Can't handle an Application event in Lightning

I am trying to handle Application event in a listening component but it doesn't work for some reason. Please, help. I can't write in console log "here" in the end Application <aura:application ...
0
votes
0answers
30 views

Process Builder not working on update properly

Hi I have requirement as follows : Whenever client make the checkbox true and select the Contact as lookup in the Case object then particular contact information must get copied to the Contact ...
1
vote
1answer
51 views

data Binding in lightning web component

I am having two component databindingparent and databindingchild. I have input text in child when I enter value I am getting the value and on click of button firing event passing to parent and showing ...
0
votes
0answers
14 views

Lightning Component: How to get the value of a dynamic generated select (inside a loop)

I have 2 arrays, one that is for my select list options, and the other is a list that needs to map to the selected list So for example, based on: List 1 = ["name", "lastname", "newout"] List 2 = ["...
0
votes
1answer
14 views

Make field names dynamic

I have two fields on Opportunity called FY1 and FY2. Now, my requirement is that the name of the fields need to be dynamic and change every Financial Year e.g first it would be FY18 and FY19, then ...
0
votes
1answer
21 views

set javascript fields in apex then stringify into json

I want to create a record with e.force:createRecord. I want to create the default fields values in apex logically, then pass them back to the JS controller to be used in defaultfieldValue property as ...
0
votes
0answers
42 views

Issue with Save function on tabChange and textchange

I’m facing an issue registering tabset’s ‘onselect’ and textArea’s ‘onblur’ event when doing a ‘save’ on them. Below is my situation I created a form using lightning component which consists of a ...
0
votes
1answer
23 views

<lightning:input type=“date” validation

I need to put a validation on lightning input field date. It is a date of birth field and it should not accept date beyond system.today(). Basically the validation will be date_Of_birth > Today() , ...
0
votes
1answer
18 views

ltng:require efficiency

Say I have multiple components that require the same dependency to be loaded, does ltng:require perform accurate dependency management? I.e. does it guarantee that the dependencies are loaded only ...
0
votes
1answer
19 views

Loop through html object collection [duplicate]

How can I access the html element div.card as shown below, the div returns as Proxy{} in lightning and I cannot manipulate the DOM. The div comes from the content in controller because it is in rich ...
0
votes
0answers
13 views

Unable to view the complete PDF document in salesforce classic Preview and Lightning Quick View

We have PDF document attached in the Opportunity notes and attachment section in salesforce. When we click on Preview in salesforce classic it wont show us Page 5 and 6 of the PDF. Similarly, In ...
0
votes
0answers
10 views

Salesforce lightning email trail throws error as it is not accepting the HTML Email template

In Classic, email trails were converted to rich/plain text. In Lightning the previous emails in the trail remain as HTML. This means that users get an error message when trying to reply (normally on ...
0
votes
0answers
12 views

lightning formattedrichtext

I have a data coming from an apex class and it is in a form of rich text, for that I've used component to format the rich text returned, what I want to do is to target those html from the returned ...
2
votes
0answers
16 views

Limits on Branding Sets, Audiences, Page variations

Discussing some solution architecture with a colleague and the question came up about the theoretical boundaries of varying a lightning community using only the out of the box tools. I've made some ...
3
votes
1answer
87 views

Array.push() won't update Lightning Web Component View

We are migrating over to Lightning Web Components in the last couple of weeks now and we had some struggles with the arrays in Javascript. On a trackable array, when I call push in a wiredMethod, ...
4
votes
1answer
42 views

Lightning Data Service - Dynamic Fields

I am creating a dynamic navigation (button) component to be used throughout the org. I am trying to provide system admins the ability to specify the data (field/fields) to be retrieved by the force:...
1
vote
0answers
23 views

Standard action button disappears in communities after over ride with custom lightning component

I tried to override sobject "New" Button with below code, it's working in salesforce lightning experience. the same sobject i am using in Community navigation menu item. <aura:component Implements=...
0
votes
0answers
13 views

Is it possible to change these sub tabs in Salesforce Outlook Plugin?

Is it possible to change/edit the subtabs in the outlook app for Salesforce?
0
votes
2answers
26 views

Drop down issue in lighting data table [closed]

I am not able to set the drop down into right side on action item of lighting data table. Can you please help me anyone to fix this issue. As of now it is moving to left and hiding some part of text. ...
0
votes
0answers
17 views

How to check the size of inline image in lightning

I'm using lightning:inputRichText and in that I'm using lightning:insertimagebutton to add inline image. I'm aware that the maximum size of image we can upload is 1MB. I want to display an error ...
0
votes
0answers
15 views

Securenodelist HTML object collection

In the component I am rendering a data from knowledge articles, part of the data is that it renders text formatted as rich text. The problem is I cannot target the html elements rendered from articles ...
0
votes
1answer
19 views

Pushing custom component in lightning:helpText

I am trying to have a custom component to show up in lightning:helpText component. As per the docs it says it has body[] attribute but when I am trying to get the value of it (it should give me array),...