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
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
16 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/...
3
votes
3answers
89 views

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
18 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 ...
0
votes
0answers
15 views

Can we just create a custom lightning page for activity in case object?? If yes then what will be the apex class

Can we just create a custom lightning page for activity in case object?? If yes then what will be the apex class. Description :- I have sent a mail from related object of one case and then this mail ...
1
vote
0answers
7 views

Creating new “relative date ranges” for payroll periods

My company splits each month into two payroll periods: the 1st-15th and the 16th through the end of the month (could be 28,29,30, or 31 depending on the month). For reports and dashboards I'd like to ...
1
vote
2answers
51 views

Convert base 64 to pdf and display it as PDF. Not required to save the pdf in salesforce, Directly display

When user clicks on a quick action, a soap webservice callout is made and in response we get base 64. I need to convert this base64 into PDF and display it online. I dont want to save the pdf document ...
0
votes
0answers
17 views

Lightning component data visibility

I created a lightning component that displays all account related cases. I want to make this component available to users, but I would like it to display all issues regardless of whether the user has ...
0
votes
1answer
19 views

How to calculate average of text field in salesforce reports?

I have an Average correction requested field which is a formula field that returns days hours and minutes for each case number for example like 24 days 4 hours 0 months, 12 days 6 hours 30 months and ...
0
votes
0answers
12 views

do Salesforce use Lightning Data Services in standard save procedure in Lightning?

When we save a record in Lightning and in the next second or two if we do change the same field again. Then there is an error stating - "This record was modified by 'username' during your edit ...
0
votes
1answer
14 views

Lightning DataTable with random data

Is it possible to use Lightning Datatable with some random data (not any sobject data). I have been trying and am able to get the headers right but not the data. Data is always null.
0
votes
1answer
16 views

Identity verification via email and/or SMS

We have a lightning application on our client website. The dealer guest site profile users i.e., unauthorized users who are not part of the org after filling some of the details we wanted to give them ...
0
votes
1answer
16 views

How to enable Lightning Message Channel for sandbox and production

I had a hard time to have a feedback from a Visual Force Page to a Lightning web component by using iframe and postMessage. Thus I am using Lightning Message Channel ( which is at Developer Preview ...
0
votes
1answer
26 views

best way to make a checklist in salesforce?

hello i'm trying to make a new hire checklist within salesforce to track completion. currently we use an excel spreadsheet that has the task, whether its completed or not, the owner of the task and ...
0
votes
0answers
13 views

Managed packages for 2 factor authentication / Pin creation on a lightning out application for the guest profile users who are unauthorized in the org [duplicate]

Hi are there any managed packages that would enable 2 factor authentication on a lightning out application for the guest profile users ? We have a lightning application on our client website. After ...
0
votes
0answers
6 views

styling part in lightning component [duplicate]

I have applied dynamic binding to css in lightning cmp. but its not working can anyone help me with this THIS .click{ background:"{!URLFOR($Resource.foldername,'filepath/imgname.svg')}"; }
0
votes
1answer
25 views

Lignhing Components Rendering - end of carreer issue

It is a complex issue so I'll try to descrive each steap as clearly as possible. At first I hace this CMP that I 'll call "rootCMP". EDIT: This component is called from an event because it works ...
0
votes
0answers
17 views

design breaking while rendering as PDF in VF page

I am having a design issue when I try to download/view a ID card kind of template as a PDF. I have a template of an ID card as knowledge article and a View/download button near that. so the ID card is ...
1
vote
0answers
29 views

How to add an HTML link on a Lightning Communities Page

Have a seemingly easy request that I can't find a workable answer to. Trying to add an internal link to an error message thrown on a Lightning Communities page, but so far no luck. FWIW, the code: ...
0
votes
1answer
19 views

Adding onClick event dynamically via jquery not working in lightning

<!--Required scripts.--> <ltng:require styles="{!join(',',$Resource.FrameworkBase + '/css/salesforce-lightning-design-system.css', $Resource.FrameworkBase + '/css/...
0
votes
0answers
7 views

Inbound Scheduling with Lightning Scheduler

I'm working on Lightning Scheduler :inbound scheduling for community. have any one implemented it before. I have gone through salesforce documentation and trailheads, but i'm not be able to make it ...
0
votes
1answer
31 views

how to understand JSON.stringify value?

Lets say, I have a map created in aura component controller. I want to send map to apex controler but unfortunately map cannot be serialized by JSON.stringify. My code JSON.stringify([...draftValues....
0
votes
1answer
51 views

how to copy values to field in aura:iteration dynamically using Radio button with multiple rows

Here I'm trying to copy values from the output text table data to respect of their field which are price and Qty Please take look at the below picture for an idea. Here I'm using Inside two aura: ...
0
votes
0answers
27 views

Insert lightning-icon inside div element not working

I am working on a custom development (lightning web component) in lightning communitities in which I want to insert a lightning-icon via innerHTML. As far as I know you can't set no-standard DOM ...
0
votes
0answers
23 views

lightning component - event listener from canvas app without canvas SDK

We are using salesforce canvas app in lightning component to expose a nodejs app in salesforce.NodeJS app is publishing event using postMessage. How can we subscribe to the event that is publish by ...
0
votes
0answers
23 views

Duplicate Record Sets - Action on “Compare and Merge”

How can i add an action (process builder or call Apex Class) on Duplicate Record Set Object when clicking this button on top right? Compare and merge? I want to add an action to somehow lock the ...
0
votes
0answers
10 views

iframes and custom domain names in lightning community

I am running into an issue in a lightning community where we need to use an iframe to load a visualforce page (yes, it needs to be an iframe and not a lightning:container). The issue I'm running into ...
0
votes
1answer
19 views

Validation Rules not working with Force Actions Aura Components

Below is my Lightning Component: <aura:component implements="force:lightningQuickAction,force:hasRecordId" controller="CreateActionItemController"> <aura:attribute name="recordId" type="...
0
votes
1answer
26 views

NavigationMixin to standard__objectPage passing recordType value

I want to navigate to a new record creation passing recordType but I don't see nothing in doc that allows me to do that. I understand you can't predifined values for now but, is recordTypeId allowed ...
0
votes
0answers
14 views

Show List of Account Records and sort them according to selected button value (Multiple button can be clicked or selected)

I want to Show Records on the button Click Below Code is Working fine but i want to add Multiple button click check without Deselecting previous Button. In the above Picture if i select Hot it will ...
0
votes
0answers
23 views

date format displays different in recordeditform

I am creating a form for contact object update. I am using recordeditform to display the field values. in that i am using the below field <lightning:inputField fieldName="Birthdate" /> when ...
0
votes
1answer
19 views

Lightning LayoutItem flexibility not working properly

I am using lightning setup assistant in my UI, and I am trying to make it mobile responsive. The button in question here is Add Email Address I am trying to set size attributes accordingly, however ...
0
votes
0answers
24 views

How to restrict user from adding images to Enhanced Notes in Lightning for some custom objects

Is it possible to restrict user from adding images in the Enhanced Notes for specific custom objects. The image button is highlighted as shown in the below image. As we in Lightning have requirements ...
0
votes
1answer
39 views

How to set typeattribute in LWC datatable?

{label:'FCU Trigger', type: "button", typeAttributes: { label: 'Initiate', name: 'initiate', ...
0
votes
1answer
20 views

Confusion on Lightning runtime requirements for component visibility conditions on screen flows

From how I understand the process, in order to use component visibility conditions on screen components, I need to run my flow using Lightning runtime. So currently my Process Automation Settings are ...
1
vote
1answer
20 views

Tailor recently viewed list views by profile

Is it possible to change the recently viewed list view displayed fields based on profiles? I want Profile X to see the default recently viewed fields. I Profile Y to see a different set of fields ...
1
vote
1answer
27 views

How to display a custom warning message on record save

I have a requirement wherein I have to display a warning message to the user on record save. It doesn't prevent records save, but just show's an error message. I have been trying to think of the ...
-1
votes
0answers
16 views

Include <link href=“css-circular-prog-bar.css” rel=“stylesheet”> in lightning component

How can I see the content of this css : <link href="css-circular-prog-bar.css" rel="stylesheet"> I need to include this in lightning component. <link href="css-circular-prog-bar.css" rel="...
0
votes
1answer
25 views

Destroy component of aura.component type

I am creating component dynamically with cmp calling it like : <parent component> //Child Component dynamic creation <aura:attribute type="Aura.Component[]" name="fAttr" /> ...
-2
votes
1answer
30 views

Need help in Circle Progress Ring [duplicate]

Need to create a circle progress ring that increases everytime on my application, when an input field(answer) is filled for every question.
0
votes
1answer
37 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}" /&...
6
votes
2answers
205 views

LWC : Events - When to use event.target.value & event.detail.value [closed]

I am looking for the difference between event.target.value and event.detail.value. It was mention that To communicate data to elements in the same shadow tree, use event.target and To communicate ...
1
vote
0answers
27 views

Community Error When Deploying Via MetadataApi

I created a community in the target org which has the same name as the community in the source org. I retrieved and deployed the metadata from the source org to the target org using Metadata API ...
0
votes
0answers
13 views

Aura new record page too tall in lightning sales console

When an aura window that works fine (full screen) in normal UI is opened in lightning sales console, it is partially hidden by the utility bar (History and Notes) at the bottom of the screen. Any ...
0
votes
0answers
33 views

Is there any setting why a field is not visible in lightning but in classic for same user?

why a field is not visible in lightning but in classic for same user. Do I need to make any change.
0
votes
0answers
13 views

how to transpose rows and columns in lightninig created by data Table in sfdc [duplicate]

how to transpose rows and columns in lightning created by data Table in sfdc ({ fetchAc : function(component, event, helper) { component.set('v.mycolumns', [ {label: 'Account ...
0
votes
0answers
11 views

Adding a custom action on ListView in Lightning Community

Problem I have a Leads listview component on Lightning community page. I need to display a button/action on the ListView, that would run a flow, I couldn't see the flow type action button in the List ...
0
votes
1answer
36 views

Remove Line Breaks in OutputField from Lightning component

First time I post here, I tried to search for an existing answer but couldn't find one. I'm not a proficient developer but I'm trying to set up a lightning component that will display a specific ...