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
3
votes
0answers
17 views

Basic Question about @track decorator

I have a (probably very) basic question about @track decorator. I modified the helloExpressions LW Component from Sample Gallery as below. Here the values FirstName and lastName are no longer ...
0
votes
0answers
7 views

Unable to setup Einstein Bot in my enterprise edition

I have a enterprise edition with required licences for Einstein bots but I can't see the "Einstein bots" in the setup. In the documentation, it says I need the "Service Cloud" license and the "Chat ...
1
vote
1answer
18 views

Send an Email on Contacts

I am using Enhanced Emails. My use case is as follows: When on the contact record, if the user clicks the send email button, they can send the email, and the "Related to:" field is filled out with ...
0
votes
1answer
21 views

Dynamic expression in nested aura iteration in Salesforce Lightning

I've two objects: listContent: [{'Id':1,'Name':'SF'},{'Id':2,'Name':'DS'}] fields:['Id','Name'] Now I'm using nested aura iteration to display the listContent as shown below: <aura:iteration ...
-1
votes
0answers
18 views

Issue:- Show Selected Check Box Value(User) details and then assign to the queues [closed]

I want my component to do the following. I want to display User list corresponding to its assigned Queues with checkbox correspondingly. (Code for the referenced picture is pasted here below. which is ...
0
votes
2answers
23 views

how to display pricebook record type on pricebook list view [closed]

How can i display the record type on the list view of the pricebook object. please help me to show the record type on the list view
0
votes
0answers
19 views

Lightning salesconsole org started throwing error from today : [NoErrorObjectAvailable] Script error

From today morning we started recieving this error in our salesforce lightning console. The error stacktrace says : a()@https://hcscace--****.lightning.force.com/auraFW/javascript/...
0
votes
1answer
22 views

How to pass the index values of lightning:select into javascript?

how to pass the index values from lightning:select to javascript onchange event occurs. please help anyone ...
1
vote
1answer
30 views

Formula field with BR() function in lightning calendar

I created a formula field to show two field values but in separate line. Here is the formula field with BR() function Field1& BR() & Field2. I created a calendar for a user and It is coming in ...
1
vote
0answers
15 views

How do I add a Gauge to a Lightning Web Component using Gauge.js?

I'm trying to add a Gauge using the Gauge.js plugin. I've seen elsewhere on the Exchange that this library is compatible with the Locker Service so I'm not sure if the issue is stemming from there. (...
0
votes
1answer
21 views

Salesforce Files Settings - Expected Behavior?

We were looking to migrate to Files as a first step to prep for a Lightning migration and noticed a potential useful setting: "Files uploaded to the Attachments related list on records are uploaded ...
-1
votes
0answers
13 views

How to redirect from one lightning page to another lightning page record type selection page with pre poulating the lookups [closed]

I'm working on migrating list button(onclick javascript ) to quick action.I have fetched the necessary parameters.I know how to redirect in classic ui. Can anyone please guide me here to redirect in ...
2
votes
1answer
30 views

lightning-input type=“date” does not open date picker on focus() method

When the focus() method is called on lightning-input type="date". it's not opening the date picker but its set the focus on input. Even tried with click() method. If user clicks on input then it will ...
0
votes
0answers
10 views

Lightning Record View Form Cache issue

after modifying some data and clicking the save button it will redirect to view layout , but its showing the old data not the updated values. <template> <lightning-card> <template ...
0
votes
0answers
8 views

How to display different dashboards on click of a button in on lightning community home page?

I need to display different dashboard on click of a button on the lightning community home page.Is there any option to load lightning dashboard in aura component. Suppose if i click on records then ...
0
votes
0answers
22 views

Assign value to column in lightning:datatable

I am new to Salesforce and lightning development and I would like to know, how should I assign values such as actor name, status etc. from the query given below to the columns in lightning data table. ...
0
votes
1answer
17 views

Checkbox misaligned in mobile view

I have a table which I am showing stacked in the mobile view. I have a checkbox input to show an indicator, it looks alright in desktop view, however gets misaligned in the mobile view. I have tried ...
0
votes
2answers
21 views

How do I put my card lightning component side by side? It is repeated by an aura iteration [closed]

How do I put my card lightning component side by side? It is repeated by an aura iteration As shown below
1
vote
0answers
18 views

ActionHub (Mass Edit + Mass Update + Mass Delete) Lightning Customization?

We are currently migrating from Classic to Lightning. Our ActionHub Mass Edit + Mass Update + Mass Delete AppExchange package customizations rely on copy/paste of JavaScript for unincluded default ...
1
vote
2answers
22 views

Create a custom button for Price book

I am trying to create a custom button in the Price Book layout. The problem is that when i go to Object Manager->Price book i cannot see the menu "Buttons, Links, and Actions" for Price Book, but for ...
0
votes
0answers
16 views

Lightning data Table onrowaction

I am trying to use lighting Datatable with a button to edit record. I am trying at first to assure that when i click on the button catch the related record. But when i click edit button i got nothing. ...
1
vote
0answers
18 views

Lightning Knowledge and Cases

Has anyone got any good tips about using lightning knowledge with cases and especially emails. We were using solutions with some custom code to basically insert the solution text into a defined email ...
0
votes
1answer
18 views

Any update about support for ES6+ on orgs with extended IE11 support

For SF orgs on which extended support for IE11 is enabled, this means that IE11 support is valid until 31 December 2020 (which is almost 1 year from now). Is there any update about possible support ...
-1
votes
0answers
21 views

How to Dynamically reload or refresh LightningRecordViewForm inside a Lightning Component? [closed]

Is there anyway to refresh the LightningRecordViewForm inside a lightning component dynamically?
0
votes
0answers
7 views

What is the page 'one:recordActionWrapper' in Lightning performance page reports?

I'm working on Lightning pages performance and using the Lightning Usage Metrics and the Lightning Usage objects in reports. There is 1 page that comes up as being frequently used : one:...
1
vote
1answer
30 views

lwc spinner not showing if performing a javascript operation

I am performing a javascript sorting an array of objects of size 2500 records that is displayed in lightning data table. This takes 3-5 seconds. Meanwhile I wanted to show lightning-spinner. Html ...
2
votes
0answers
14 views

With Lightning UI enabled - is it possible to stop /aura Operation spam in Developer Console's log panel?

When I have Lightning UI Enabled, Open the Dev Console and toggle to the "Logs" tab, my log is spammed with nearly endless /aura operations. This slows down my general experience in lightning as ...
0
votes
0answers
24 views

Attachment download problem

When ContentType field on attachment is populated, /servlet/servlet.FileDownload?file= url template is being redirected to /content.force.com/servlet/servlet.FileDownload?file= url, which opens the ...
0
votes
2answers
42 views

LWC datatable not rendering modified column [duplicate]

@track data; @track columns = [{ label: 'Name', fieldName: 'Name', type: 'text', sortable: true }] @wire(...
0
votes
0answers
17 views

Salesforce Flow Component - Upload File - ContentDocumentID

We're using FSL mobile flow to take pictures and attach them to the WorkOrder.It works just fine. I want to use the output parameter of the upload file component to retreive the pictures uploaded and ...
2
votes
0answers
13 views

Lightning Inspector - Performance tab issue

When I try to toggle recording button of the performance tab of the Lightning Inspector, i'm getting below error message; Any thoughts to prevent this?
1
vote
2answers
51 views

Is there a limitation for force:hasRecordId not working on user record page?

I am trying to get the recordid from a user record page. My debug logs turns to be null. getDataClass: function (component) { var action = component.get("c.getTableData"); action.setParams({...
0
votes
1answer
24 views

Hyperlink is not showing in lightning in trigger code but working for Classic

Here I'm just written code for finding a duplicate record and displaying link through the hyperlink but it's working fine in the classic but lighting it showing directly code. Please just check images ...
0
votes
0answers
16 views

API call to Sharepoint from AURA using a system user

I am calling an API service to receive a list from Sharepoint (url) via a component (controller/helper .js) using req.open("GET", url, true); Now I need to always call this service under a specific ...
0
votes
1answer
32 views

Salesforce lightning collapsable Issue by creating custom lightning component for Activity Timeline

I have created a activity timeline custom component also added a collapsible section in my component but when i am clicking on one section it is opening all the section same is happening at the time ...
1
vote
1answer
41 views

Unable to deploy source to dev-hub enabled org

as part of doing Push and Deploy Lightning Web Component trail (https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-basics/push-lightning-web-component-files), I have been ...
0
votes
1answer
30 views

Lightning PickList with Image and text [closed]

How to display the image in lightning picklist? <lightning:select name="select1" label="Choose your item?" required="true" value="{!v.optionval}"> <option text="...
1
vote
3answers
55 views

Success Message on record save in lightning component

I have a lightning component embedded in a VF page. This component has a custom lookup to select an Opportunity , on click of a save button calls a method in helper.js which calls an apex method, does ...
0
votes
1answer
47 views

Canvas App in New Window from Lightning Component

I have a Canvas App in a Lightning Component that I'd like to display in a Modal/Overlay when a User clicks on a button (within a different Lightning Component). The Canvas App component uses the ...
0
votes
1answer
45 views

Passing values from apex to standard page in lightning

We have a visualforce page that is a form. This form selects the RecordType, and write some text fields. After that, the apex controller uses URL Hacking to pre-populate the fields in a standard page, ...
0
votes
2answers
33 views

Record type selection on according to the field selected

We have an object (Object A) having 2 record types. Another Object(Object B) has two lookup fields of Object A. There are two record types of object A. Whenever a user comes on any record and selects ...
0
votes
2answers
42 views

LWC Unit Test - is it mandatory?

lastly i have found out that we can create jest unit test for Lightning Web Components and i have question if these test are required for production deployment? Best Regards
0
votes
0answers
20 views

Buttons not visible on community record banner or record list component

The buttons are not visible on custom object's Record List component on Community. The layout shows the buttons in place but doesn't show on the community for any user.I am testing using system admin, ...
2
votes
1answer
21 views

How to create a JavaScript button on the related list in lightning that navigates to a visualforce page?

How to create a JavaScript button on the related list in lightning that navigates to a visualforce page. Since the javascript buttons are not working on the lightning experience so we need a ...
0
votes
0answers
20 views

Salesforce activity timeline vertical line gone

Develop console preview by application the vertical line is working. But add this component to page layout that vertical line gone.
1
vote
0answers
16 views

Lightning Tab won't open fully on load

I have a Lightning Component with a drop-down of quarters (Jan-March,..,Oct-Dec). Based on the quarter chosen I have to display lightning tabs, with the number of tabs and labels for the tabs being ...
0
votes
0answers
15 views

How to display iFrame embeded in lighting component in IE

I have a VF page to show google map which I embeded as iFrame in lightning component which is used in community page, clickjack or frame-src protection error does not allow it to load in IE/Edge/...
1
vote
2answers
64 views
+50

Not able to add dynamic style based on device

I am trying to add dynamic style one of lightning layout, the code goes till the device identification yet it doesn't apply the proper style. Here is my code:- <lightning:layout aura:id="...
0
votes
0answers
10 views

URL Link to Library Sub Folders

Goal: Provide a direct subfolder link to the user to avoid navigating the library tree folder structure to access the document. In order to get to the Library Sub Folder, I have had to do the ...
0
votes
0answers
17 views

Multi language Support for Email Template

Requirement: On custom Lightning component, List fo records with checkboxes and while selecting the checkbox there is a custom button to Send Reminder which should open a popup screen with default ...