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

Method to edit RecordType from a Lightning listview

Is there a way to add a button to allow a user to modify the recordType of many items in a list view in Lightning.
0
votes
0answers
15 views

Access parent record id from visualforce page called in custom list button?

I’m trying to create a custom List button that can call a Lightning Component. However because that’s not yet directly possible, I’m trying to embed the Lightning Component in a Visualforce page and ...
1
vote
1answer
26 views

Add map values in lightning component

I want to add javascript map values to existing lightning map type variable Map type in Component <aura:attribute name="CheckedRecsMap" type="Map" default="{}"/> In js declaring a new map ...
0
votes
0answers
13 views

Using lightning:fileupload(inside lightning Component) in VisualForce Page

I want to add lightning component which contains lightning:fileupload to visual force page.Component gets accessed succesfully but I am unable to use the functionality of lightning:fileupload since it ...
0
votes
0answers
17 views

Dynamic redirection to Kanban listview

I'm trying to add on Account page layout, a quick action that will redirect to the Kanban listview showing related Opporutnities records to this Account only. Right now I'm trying to achieve this by ...
1
vote
1answer
84 views

Quick action redirect to force:createrecord lightning component

Need to initiate force:create record from lightning quick action: 1. Output is not as expected two modals are showing up. I need only new contact modal. How to achieve this? Please help.. Thanks 2. ...
0
votes
0answers
16 views

Pass a URL Param to a Visualforce Page which gets embedded in an iFrame when navigating from Lightning Experience

I am navigating to a Visualforce Page within the Lightning Experience. The Visualforce Page gets embedded inside an iFrame and I am unable to access the URL parameters (they are on the window.top....
0
votes
0answers
13 views

Any way to add Description field as reference to uploadfile which is save in ContentDocument in lightning

I have created a upload file component and trying to add description field for the file. and the File is save in contentdocument.
0
votes
0answers
8 views

Add custom close event to recordData

Is there any way to detect close (X) button is clicked on the dom modal box when i use force:recorddata? I am trying to addEventListener to X button in afterRender event as below afterRender: ...
0
votes
1answer
92 views

AuraDefinitionBundle No APPLICATION named markup://

I'm facing yet another odd error when attempting to upload my managed package. It is throwing this AuraDefinitionBundle - InitialLinkingApp No APPLICATION named markup://[namespace_redacted]:...
0
votes
0answers
32 views

Accessing Connected App From Visualforce

I'm developing an application which integrates with another services API. This API requires a SAML token to provide authentication. I've created a connected app, and from an execute anonymous call if ...
0
votes
0answers
31 views

Refresh standard lightning layout after trigger modifies records (After Update)

On Account I have a lightning flexipage it has a custom component, standard layout. Also, There is a trigger for after update that calls a future method and it updates this account and other account ...
0
votes
0answers
22 views

Salesforce Lightnining unable to see full values in UI Picklist

In Salesforce Lightning Experience, whenever I have a 'Classic view' picklist, when I click on the picklist to choose a value, I am unable to view the select options: If i minimize my browser window ...
2
votes
3answers
154 views

Iterate over Object in Lightning Web Component template

I'm struggling trying to figure out how to iterate over an array of objects returned by an Apex method to print object name + label as key. The structure of the object is the following: public class ...
-1
votes
0answers
11 views

Managed Package Tab not working in Lightning

We have a managed package app at salesforce which is not lightning ready yet. We have few tabs in our package and our package is used by multiple client. Issue we are facing is that Our tabs are ...
0
votes
1answer
31 views

How to Identify the clicked Div element

I have multiple div element in my lightning component which are clickable and from all of them I'm calling the same controller method. I want to know the div name which is clicked in my component. I ...
0
votes
1answer
25 views

ContentDocumentLink filter not working- Trailhead Conference Management App

Im facing below error: Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN ...
1
vote
0answers
35 views

Lightning Aura Component does not honor the required attribute

I created a component that has a required attribute of array type, ListCmp.cmp: <aura:component> <aura:attribute name="items" type="Object[]" required="true" /> <div> <...
0
votes
1answer
30 views

Prevent navigation when click to one item of the navigation bar

I create a custom lightning component and have some unsaved data. I'd like to show a warning and optionally prevent the navigation when clicking to a navigation bar (such as Home, Account,.. ). I ...
-1
votes
0answers
16 views

change owner button in lightning got error 'insufficient access rights on object id'

change owner button in classic working fine but lightning not working properly got error insufficient access rights on object id. how can acheive that? any idea
0
votes
0answers
10 views

How to send canvas chart as an attachment in email in Lightning component

I want to save the canvas chart as an image in attachment unfortunately i didn't get any way to do that.Please help me. This is my code. createGraph: function (component, temp) { component.set("v....
0
votes
0answers
21 views

Create ListView with Inline Editing for Related Object

I have a custom object called Renovation and a child object called Renovation Element. I want to create a ListView on the Renovation Lightning Page with inline editing enabled that has a list of the ...
0
votes
0answers
22 views

Get community page name in Lightning component

I have a request to populate some field on component which resides on almost every page in Lightning community. The field needs to be populated with page name it resides on dynamically. Currently only ...
0
votes
0answers
28 views

Lightning:spinner in overlay modal

I'm trying to make spinner with screen full size for overlay-lib modal. While doing same thing with custom modal causing no troubles, but when trying to from overlay-lib, it makes spinner to have only ...
0
votes
1answer
21 views

standard related record list for opportunity not visible in case lightning page

The standard related record list for opportunity is not visible for a user who is having read permission on opportunity look up field present in Case object and also have read,create,edit permission ...
1
vote
1answer
21 views

Set relative height for ui:scrollerWrapper

I'm trying to implement a ui:scrollerWrapper for a Lightning Component in a quick action in the Salesforce app. I'd like to have a scrollable section that occupies 60% of the screens height, so I ...
1
vote
0answers
35 views

Header not showing in Lightning Experience on VF Pages [closed]

Both in Trailhead and in a developer organization, VF Pages in Lightning Experience are not showing in the standard Lightning headers/sidebars as they do show in Salesforce Classic. Picture 1 shows ...
0
votes
1answer
20 views

Event WhoId field is not retrieving all contacts on field

I'm working with standard object Event and, when saving two or more contacts on WhoId field it only displays via SOQL query or trigger the first one. Is there a way to get all the contacts saved on ...
1
vote
1answer
104 views

Lightning Data Table inline edit

How best to update records with changes made in a lightning datatable? The original list of accounts is not automatically updated by inline changes, and the 'draftValues' retrieved when the update '...
0
votes
0answers
11 views

Show Me by Role in Report Filter giving inaccurate results

I have a report in Opportunity, when clearing this filter gives me all the opportunity reports (e.g. 500 Reports), but when selecting a specific Role (example: the Topmost role in the role hierarchy - ...
0
votes
0answers
8 views

Campaigns - custom status & cloning in LEX

I would like to have custom statuses on campaigns. In Classic it works via cloning the campaigns - then we don-t have to set up the custom status for every particular case. After performing some ...
0
votes
0answers
14 views

How to send events from subtab1 to subtab2, after the subtab2 is opened?

I want to send some parameters from one subtab to another subtab. For example, subtab1 has a link which opens subtab2. The parameters cannot be sent in url as the parameters are too long to be sent. ...
0
votes
1answer
32 views

Pre populate Date and Boolean value in createrecord lightning

I am getting the values from controller for the fields PaymentRequired__c(Checkbox), PaymentDate__c(Date) and assigning it to the default values of createRecord. But the value which i am getting for ...
0
votes
0answers
10 views

Campaigns - advanced setup

I created custom statuses in the Advanced Setup within Campaigns (SFDC, Classic). Do you know how to add this Advanced Setup to LEX? I found one doc (below link), but don't know how to add Campaign ...
-4
votes
1answer
43 views

ISSUE IN SEARCH FUNCTIONALITY

On enter keypress, a spinner should rotate showing the search results.How to do it in lightning?Any suggestions regarding it would be thankful search helper code SearchHelper: function(component, ...
0
votes
0answers
20 views

How to stretch components vertically so they are the same height as their 'sibling' lightning:layoutitem component/s?

I am using the Lightning:layout and Lightning:layoutitem components to build a new lightning page. It is a basic layout with only two columns. I'd like the two columns to be the same height, but their ...
2
votes
1answer
31 views

Lightning, “e.force:navigateToURL”

var urlEvent = $A.get("e.force:navigateToURL"); urlEvent.setParams({ "url": '/xxx?zipCode=5555" }); How to retrieve "zipCode" on the destination component ("...
0
votes
1answer
17 views

After pressing back i am unable to see my required status on the input field

I have a component with two pages. i have required fields and i can see it initially. But when i press next button i can still see the required fields. But when i am navigating back by pressing back ...
0
votes
0answers
24 views

Lightning Component in VF Page

I have created Lightning Component in VF Page in which I have used the lightning component from the managed package. In my lightning app I have already defined <aura:dependency resource="managed ...
0
votes
0answers
32 views

Lightning continuation callout pattern does not respect user permissions

I am working on a lightning application that uses the lightning apex continuation callout pattern found at this link: https://developer.salesforce.com/blogs/2017/09/invoking-apex-continuations-...
0
votes
0answers
13 views

How to remove Boxes on VF Component using Lightning

I've created a semi-basic vf page to display certain fields under certain conditions - but the end result continues to be displayed into embedded boxes that I can't seem to figure out how to remove. ...
0
votes
1answer
35 views

Use Platform Event or Streaming API?

I am new to Salesforce Platform event and streaming API topics. After riffling through some documentation and getting enough confused, asking out for help here if anyone can suggest me the best ...
2
votes
1answer
105 views

Navigate to Standard New Record page with LWC Navigation.Mixin when it has an override

Many Standard New buttons in my apps are overriden using Aura components. The do some Apex and then redirect to the real standard new pages. I now migrated such components to LWC. Where I had this in ...
0
votes
1answer
23 views

How to configure highlight panel for person account

Our company is using Person Account to serve direct customers. I am trying to customize the Highlights Panel, however no luck in finding where I should go. I tried to edit the compact layout in both ...
0
votes
1answer
27 views

Parameter null in the child lightning controller

I developed a child lightning component which is used from a parent lightning component. I mean that the parent lightning component calls the child lightning component and give to it a value which is ...
1
vote
1answer
49 views

Aura if - isTrue parameter and multiple conditions

I'm trying this code : <!-- an exemple : isTrue='{!and(v.valueOneIsTrue, v.valueThreeIsTrue)}" >--> <aura:if isTrue="{!AND((v._candidateDetails.contact.Nationalite__c != null), (v....
0
votes
1answer
17 views

The campaign field is missing from Lead layout in Lightning

When creating a new lead in Lightning, we were able to select the related campaign. This field is missing from Lightning. I see there is an idea for that: https://success.salesforce.com/ideaView?id=...
0
votes
1answer
37 views

Clearing The IsEscalated Checkbox After Submitting The Escalation

I had a business requirement to check the IsEscalated checkbox once a button is clicked. That all works fine now but once I click that button I get the message that the case is escalated for all the ...
1
vote
1answer
65 views

refreshView for Lightning Web Component?

Whats the lwc equivalent of this aura event? $A.get('e.force:refreshView').fire();
0
votes
1answer
30 views

Checking a Salesforce Checkbox When A Button Is Clicked

I would like to set the IsEscalated button to checked once the escalate button is clicked. Here's my code <aura:component implements="flexipage:availableForAllPageTypes,flexipage:...