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

How do I trigger recordEditForm onSubmit event using Javascript

I am trying to trigger the on submit event on the recordEditForm. I could easily trigger submission itself by using .submit() but that won't trigger the onsubmit JS event handler ( try it, it doesn't ...
0
votes
1answer
12 views

In Lightning But Setup Pages In Classic View

We are in the process of transitioning from Classic to Lightning. We have enabled Lightning Experience but most pages (Field Details, Apex classes, Deliverability, etc.) under setup are displaying ...
1
vote
0answers
56 views

Limit from Address for Email Action

Currently, in my Email Send Action, I have more than 30 options in the dropdown to select from Address. This is frustrating for our user who needs to scroll through all lists. I want to limit this ...
0
votes
0answers
12 views

How to retain checkbox values in lwc pagination when user click on next and previous button [closed]

Suppose we are displaying account records in pagination with a checkbox by using a custom table(not a data table). user has selected 2 records on the first page and 2 records on 2nd page and clicked ...
0
votes
1answer
30 views

Make salesforce lightning lookups more useable

I'm running into a few inconveniences with lightning lookup search and want to know how to make this better. I have a filtered lookup on an object to another object and currently, there are 3 major ...
0
votes
0answers
6 views

Email Content not apearing on Specific profile

I Tried to add "Email content" to the Salesforce Lightning app for a specific Profile and I don't see it. I adde the system permission : Access Drag-and-Drop Content Builder and I checked ...
0
votes
0answers
8 views

Actionable Relationship Center Component is not opening

https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_admin_guide.meta/financial_services_cloud_admin_guide/fsc_admin_set_up_arc.htm I have configured Actionable Relationship ...
1
vote
1answer
559 views

openPrimaryTab() with lightning service cloud console in Spring '17

I have one lightning component which I have added in console openPrimaryTab() method is no longer working in new Lightning service console introduced in Spring '17 <ltng:require scripts="{!$...
3
votes
2answers
2k views

Open multiple section at once using standard <lightning:accordion> component

Using the standard component <lightning:accordion> is it possible to open multiple sections together?
0
votes
1answer
20 views

how to show a pinner when a lightning button is clicked?

<aura:component controller="ZironNumbringOrdAPI" extends="c:LCC_GenericLightningComponent" implements="force:hasRecordId,force:lightningQuickAction" > <aura:...
0
votes
1answer
501 views

How do you add dynamic field depending on what the user chooses LWC

I created a component where inserting a record into a dynamic object and its field is also dynamic depending on the user input. <lightning-record-form object-api-name={objectpass.name} ...
1
vote
4answers
2k views

Activity Component on a Lightning App Page

I am currently designing a Task List on a Lightning app. One of my goals is to get the Activity component that you see on Accounts or Contacts to display on this app page when clicking the related to ...
1
vote
1answer
733 views

How to make input form Readonly based on User profile in Lightning Component?

I have an Action button in our lightning Page, upon clicking it shows a form to input couple of fields and save it. But I have to make those input fields readonly for Profile 1 and editable for ...
0
votes
1answer
656 views

Lightning component for update values based on select list

I would like to create a lightning component for update field based on selected value from "select list" in lwc. I need this component in "force:lightningQuickAction" - so when user open a example ...
7
votes
3answers
1k views

Getting error when running Jest tests with sfdx project at version 48

When running the Jest test I'm getting this error: Invalid sourceApiVersion found in sfdx-project.json. Expected 47.0, found 48.0 error My sfdx-project.json looks like this { "...
0
votes
1answer
40 views

Deploy fields in field sections on dynamic forms

I am deploying an app that uses Dynamic Forms with multiple field sections. However, the target deployed environ only shows the field sections without any of the fields in them. There are no records ...
0
votes
1answer
481 views

Activity Tab Missing in Record page-Lighting

Activity tab is missing in lightning record page. And as a system admin i am able to see the tab (record page is same ) . Checked the 'Activity Time line' for the record page and this is already ...
1
vote
0answers
23 views

How can we override standard Salesforce Lightning message?

We have custom logic to assign opportunity owner, when the User manually try to change the owner Apex code kicks in and assign the owner according to the logic. Still Lightning Users are getting the ...
0
votes
3answers
298 views

Is there a way to export custom developed Chart (Chart was developed using Chart.js) to PDF without using any other library

I have developed a bar chart using Chart.js library in lighting as standard dashboard doesn't help me to meet my requirements. I want to export to PDF without using any other library. I tried ...
0
votes
1answer
17 views

Autopopulate a new field with Account Name when I add a contact through a Lookup field

I want a custom new field called "Organization" to auto-populate with "Account Name" related to the contact I add in my look-up field called "Class host": To paint the ...
1
vote
1answer
44 views

Uploading files to the wrong related list

I am trying to upload files to one record while displaying the CombinedAttachments related lists for multiple records. No matter which related list I use to upload files, they always get attached to ...
1
vote
1answer
3k views

Rich Text area image not showing up in community

I created a lightning component,and used it in a community.Now i want to show a rich text area fields image in that component.So,for that i queried that field on opportunity object and showed the data ...
0
votes
2answers
747 views

Remove the hyperlink functionality of the Name field displayed using <Lightning:listview>

Is it possible to remove the hyperlink functionality of the Name field displayed using Lightning:listview? I want the Name field to be displayed as plain text to the user. Thanks in advance.
1
vote
1answer
1k views

Lightning combobox: sometimes is not selecting, option selected

Look to this video which tried to select an option and sometimes is happening and others not. Really weird behaviour. Booking Mode Select (starting at 0:22 sec): http://recordit.co/lnma8c6Okb <...
0
votes
1answer
15 views

Restricting create button on a related list for few profile users on a page layout

I have a page layout with multiple related lists, my requirement is on this particular layout I want to disable create button on one of the related object for a some profile users (we have a profile ...
0
votes
0answers
8 views

partial collapsing of groups in full-calender.? [closed]

We are using fullcalender- Timeline View with multiple parent resources and related childs. I'm trying to implement a feature whenever the view loads , I want to collapse all parent resources except ...
0
votes
1answer
528 views

Refresh standard page in Lightning Experience

I have a formula data field on an object which is not reflecting updated values when viewing it in Lightning. This is directly related to the known issue https://success.salesforce.com/issues_view?id=...
8
votes
2answers
2k views

Click and Touch events on <a> tags in Lightning

In Lightning, we should always be using e.force:navigateToSObject or e.force:navigateToURL instead of links like <a href="whatever>. So, I made a custom Link component to avoid having to have ...
0
votes
1answer
23 views

UNAVAILABLE_RECORDTYPE_EXCEPTION, Unable to find default record type: [] *Record Owner

When I try to convert lead It says "Error: ConvertLead failed. First exception on row 0; first error: UNAVAILABLE_RECORDTYPE_EXCEPTION, Unable to find default record type: []" Is there ...
7
votes
4answers
14k views

Bell notifications via apex

My customer wants to send bell notifications whenever you add an Attendant to an Event. Is there a way to create custom bell notifications via apex code? If not, is it possible to achieve this ...
0
votes
0answers
25 views

Thumbnail Image in lightning Datatable lwc

I need to display files thumbnail images in my data table in LWC. I have followed this blog, but in my component, I'm getting the URL instead of images. Below is my code: thumbNailImage.html: <...
0
votes
1answer
87 views

lightning:recordViewForm unable to display for guest community users

asking does recordViewForm in communities only work display if the user is logged into Salesforce? I can't seem to get my output fields to display for a guest user. They're displayed and fine for a ...
1
vote
3answers
2k views

Is there a way to conveniently preview a Visual Force Page in VS Code?

So I'm trying to switch my IDE from the Developer Console to VS Code. But the thing is that the changes we make to a lightning component or a vf page in the dev console reflect in seconds on the app ...
0
votes
1answer
706 views

HTML to image using html2canvas and FileSaver.js not working when VF page loads in Lightning

I am using html2canvas and FileSaver.js for creating and downloading snap of HTML element in a VF page. First I am converting a targeted HTML element into canvas using html2canvas and then converting ...
1
vote
1answer
983 views

show error message after delay in lightning

Here is the situation. I have a @Future method which has callouts is running along side of actual main CLASS. in the callout response, I am receiving some error/success XML, I am saving them in a ...
0
votes
1answer
846 views

How to validate if lightning input checkbox is checked

I am stuck on this for a while. I have a lightning checkbox type field and I want to make sure the user checks it before proceeding. But so far I can't get it to work unless I interact with the ...
0
votes
1answer
983 views

Unable to delete configuration properties from LWC?

I need some assistance with the following problem. I added the following code to my LWC: <?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="...
0
votes
1answer
711 views

Override 'New Product' on Opportunity doesn't work in Lightning Experience

We are overriding our standard 'Add Product' button on Opportunity in Classic to redirect to a Visualforce page. Works fine there. When migrating to LEX, we are seeing that this action is unavailable. ...
1
vote
1answer
27 views

change the button variant on click, in aura:iteration

<aura:iteration items="{!v.itemList}" var="con" indexVar="index"> <div class="slds-p-top_small"> <aura:if isTrue="{!...
3
votes
1answer
2k views

“Log a Call” button missing from lead object

I'm stumped on this one. The "Log a call" button does not seem to appear on my lead page (Lightning). I've made sure to add the "log a call" button to the page layout (mobile & lightning actions)...
4
votes
1answer
1k views

Custom Chatter - Lightning

I'm trying to implement Custom Chatter functionality in a Lightning Component using Aura Framework with the help of forceChatter:fullFeed/forceChatter:publisher/forceChatter:exposedFeed ...
0
votes
1answer
510 views

refresh apex and select all checkbox not working in lwc

I have a table for which I need to have a Select All checkbox. By default I have disabled the action buttons. On single selection I am able to get the data-id of the checkbox and act upon it. It also ...
1
vote
1answer
460 views

Winter '18 - Is it now possible in LEX to add mass action buttons to invoke Lightning components?

With Winter '18 SF has added checkboxes to object lists in LEX, with some built in mass actions. Is it now possible to add a mass action to invoke a custom Lightning Component from the same list? I'...
0
votes
1answer
538 views

Change recurring event data

I built a reporting calendar that displays events and allows you to filter by department etc. It also includes some additional event fields such as completed. Then my users create recurring events ...
0
votes
1answer
19 views

Getting Values from lightning:select and lightning:input fields of dynamic form

Everyone, Looking for help on how to get the selected and input values in a Controller from a dynamic form. I can get the Name and Id of the fields, just not the values input or selected. I've tried ...
0
votes
1answer
682 views

Setting different checkboxes in aura:iteration - Dynamic binding does not work in Lightning

I need to be able to call different checkboxes in an aura:iteration: <aura:attribute name="orders" type="Order[]"/> <aura:handler name="init" value="{!this}" action="{!c.doInit}" /&...
3
votes
1answer
1k views

How do we stop flickering on onmouseover and onmouseout

There are list of rows, When I hover on particular row this popup should be activated. How this can be done. Whenever I hover i get data popup works fine but it flickers a lot :( This is my component....
0
votes
1answer
1k views

Submit Record Edit Form for every object in Aura iteration

I have a Contact object form with a child form component for Buying Center objects. When I upsert the Contact, I need to submit a list of Buying Centers for this Contact. Parent Contact component has ...
0
votes
1answer
32 views

how to show lightning layout item based on logged in user's role [closed]

I have a LWC component to show navigation links to different list views. In .html it is written as below. <lightning-layout-item size="12" class="slds-p-vertical_xx-small"&...
0
votes
1answer
478 views

How to clear and start timer in lightning component with button click?

I have a scenario where i need to clear the time interval with a button click and start the time interval with another click. Right now when the page loads(refreshNotifications), the time interval ...

1
2 3 4 5
125