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

iFrame Lightning Component - Community/Digital Experience

Goal: Use Lightning Component to expose a page from my company's site in an iFrame on our SFDC Partner Community (Digital Experience). Current Result: "This component has no properties" ...
user avatar
0 votes
1 answer
21 views

onrowaction in Lightning:DataTable is not working

I have a requirement, where I have to open a DataTable in the Model window after click into 'Select Template' Button. When Button clicked, all Templates records gets populated into Datatable, now when ...
user avatar
0 votes
0 answers
17 views

Sending Email from Guest User Profile- Email No Receiving Email

I have created an LWC with a form by collecting the basic info, Then i will be sending the info to the email service. Below is the code string emailAddress = GetEmailServiceAddressUtility....
user avatar
0 votes
0 answers
14 views

Migration VF with static resource to lightning component

I'm trying to migrate a visualforce page that loads scripts from static resources to a lightning component but getting a "could not find element 'app' to attach" error VF code: <apex:page ...
user avatar
  • 168
-1 votes
0 answers
18 views

Survey TEmplates

How can we call Survey Templates in Flows ??? I have created a survey Template in Survey Object and created a Flow in flowBuilder and tried to call the Survey Template in flows it is not working.
user avatar
0 votes
1 answer
16 views

Aura Lightning Components - waiting for event or cmp.find('editForm').submit() to finish

I need to clone an item that contains lightning:recordEditForm before the user clicks submit and values are saved. The problem is that before my cloning I need to force recordEditForm to save. I ...
user avatar
0 votes
0 answers
17 views

Error: Can't remove form factor Small as an action override exists with that form factor

I have a lightning app utilizing 5 different objects each having it's own lightning record page. Initially I set the apps form factor to Desktop and Mobile. then the lightning record pages were ...
user avatar
  • 703
0 votes
1 answer
22 views

Gmail Integration

Gmail integration is turned on and Lightning for Gmail is installed. When an email get sent, it will be related to the selected Account and Contacts, however, when the customer made a reply and ...
user avatar
  • 3
-1 votes
1 answer
36 views

autopopulate User signature field to a lightning Component

I have one lightning Component which has one RichText Area field. My requirement is that when the lightning component loaded, the RichTextArea should be prepopulated with the User's signature. ...
user avatar
0 votes
0 answers
38 views

All uses from PRODUCTION facing session time out issue and are getting logged out as soon as they login

We are facing an issue in production where all uses are getting this popup as soon as they login. Including salesforce administrators. Has anyone faced this issue today? NOTE: No change in session ...
user avatar
0 votes
1 answer
27 views

How to configure lightning dialer

My Organization Edition is 'Professional Edition'. I am a system-admin. The org need to enable the lightning dialer. Search in setup with dialer word show me nothing. What should I do? Will I need to ...
user avatar
-1 votes
0 answers
20 views

Open activity and Activity History Related list is not showing in lightning for Case

we are working on case object where we have added two related list (Open activity and Activity history) on page layout. The issue that we are facing is when we are on classic being any user (be it ...
user avatar
-3 votes
0 answers
36 views

Uncaught Error in $A.getCallback() [Unexpected token < in JSON at position 0] Callback failed: apex://GDNewsApiDetails/ACTION$GetNewsDetailsforSingleC [closed]

Hi I'm getting this error when lighting component was loading. Uncaught Error in $A.getCallback() [Unexpected token < in JSON at position 0] Callback failed: apex://GDNewsApiDetails/ACTION$...
user avatar
0 votes
0 answers
34 views

Filter component visibility by running user

Can anyone see, why this wouldn't work? I have also tried: userinfo.getuserid() user.id account.OwnerId
user avatar
0 votes
0 answers
21 views

Aura. Center text in modal [closed]

I'm new to lightning and aura. So far I was able to figure out how to create a modal, but I'm having issues with the content inside. It's aligned to the left half of the modal and doesn't go pass the ...
user avatar
  • 21
0 votes
0 answers
24 views

Creating multiple specific related lists from one object to multiple child objects based one single lookup on Salesforce

Let's say I have objects A, B, C with another object E which stores records as a result of lookups between E and A,B,C as separate record types, Ex 1. Record type AB on object E which has lookups to ...
user avatar
0 votes
1 answer
36 views

Lightning integration with SaaS app & API

I'm building a Salesforce Lightning app, which will be made available in the Salesforce app exchange. But I'm just starting to learn the platform, so a few things are unclear to me. Can anyone help ...
user avatar
0 votes
1 answer
37 views

Key press Filter search on a field it work's in classic but not in salesforce lightning

When we have Hundred of values in picklist it's difficult and time consuming for user to scroll down and search there value, so with the help of Keypress on keyboard that cursor reaches the initial ...
user avatar
0 votes
0 answers
24 views

Dynamic Related List - Single : Not auto populating parent value when click on New button

I have started using Dynamic Related List - Single. After I used this, in the related list, then clicked on the New button, the parent value did not auto-populating on its lookup value. Is there a way ...
user avatar
0 votes
3 answers
38 views

change color of lighning button in JS not working

I need to change the color of button based on condition ,my button label is changing but not color below is snippet. adobeButton.label = 'Not Elligible'; is working but color and border dont chnage ...
user avatar
  • 1
0 votes
1 answer
32 views

LWC Lightning-icon color is not changing using fill Css

Not able to change the icon Color using Css. <lightning-icon icon-name="utility:arrowup" class="blueArrow" size="medium"></lightning-icon> CSS file ....
user avatar
0 votes
0 answers
22 views

Updating Self-signed certificate

I'm attempting to upload a jks with a wildcard certificate. I am able to successfully create a keystore with all the crts inside but It says the keystore is corrupted when I upload it. I check and the ...
user avatar
0 votes
0 answers
24 views

Lightning Styling not working for LWC Embedded Aura Component

I have created one lwc component and embedded it inside aura component. When I try to load that lwc component [See 1st Pic] it is working absolutely fine. But when I try to override "New" or ...
user avatar
0 votes
0 answers
25 views

No Emails for the assigned user after Task is created

I have a apex code which creates task when A1 record is assigned to a certain user. The assigned user would/should recieve email notifications. So when a task is created. Saleforce autmatically sends ...
user avatar
  • 49
0 votes
0 answers
13 views

Is it possible to connect LEx desktop notifications with Windows desktop push notifications (i.e. toasts)?

We have a flow set up so that a lightning desktop notification (i.e. the bell icon at the top-right in LEx) is received by agents in various circumstances. However, they aren't as attention-grabbing ...
user avatar
2 votes
0 answers
21 views

How to prevent unmounting of component when using errorCallback lifecycle method in LWC

I am having an root LWC component and nested inner child LWC components structured like below for example. <c-application> <c-header></c-header> <c-form-container> <...
user avatar
  • 133
1 vote
1 answer
36 views

How to modify <head> contents of LWC

I am trying to build a reusable Google reCAPTCHA LWC component for our org. I have successfully implemented this in Experience Cloud for another org we have, however that org is using the standard ...
user avatar
0 votes
0 answers
20 views

Problem changing page layout assigned to lightning page

I can't seem to change the page layout associated with a lightning page. I am using two record types and have created two page layouts and assigned them properly in the page assignment interface. I ...
user avatar
0 votes
1 answer
23 views

How do you click on checkbox group in jest?

I am trying to JEST test a checkbox group that has 1 option and when I do .click() it says can't click null property. Is there a different way I should be hitting it with JEST? For clarification, the ...
user avatar
0 votes
1 answer
18 views

Expand and collapse a dropdown in lightning aura

I am trying to expand and collapse a dropdown section. On Click of button, I am calling a new page and also expanding the section. While I write a condition for collapse, it does not work. I feel my ...
user avatar
0 votes
0 answers
15 views

Is it possible to create a floating / float label for form fields

I would like to have the form label be inline but float to the top left corner when active/targeted. Is this possible within Salesforce Lightning? See attached Material Design example.
user avatar
  • 1
0 votes
0 answers
19 views

Modal window blocking lightning edit record page

I have a screen guided flow which I am calling through lightning component . Now that lightning component I have added to a lightning record page to be visible on a particular status value of case ...
user avatar
  • 197
0 votes
0 answers
36 views

In LWC lightning:recordEditForm how to know the clicked button data-attribute

LWC lightning:recordEditForm has many buttons on-submit event need to know which button has been pressed. LWC component HTML <lightning:recordEditForm recordId=&...
user avatar
-2 votes
1 answer
30 views

Email-to-case not working

Enabled email-to-case, generated the long salesforce email and verified but I sent a case to the long email and it’s not working.
user avatar
  • 1
0 votes
0 answers
29 views

Custom Lightning Page Template Component not able to find apex method

Hi when I tried to cal the apex method from the Custom Lightning Page Template Component it is a throwing error. .cmp <aura:component implements="lightning:recordHomeTemplate" controller= ...
user avatar
1 vote
0 answers
15 views

Send an Email Quick Action automatically replies instead of starting a new email

I have Created a send email quick action on Case Object and I have also put the chatter component on the lightning page with this quick on it. Everytime I try to use the quick action to write an email ...
user avatar
0 votes
0 answers
16 views

Can we set up two sf_operation in one lambda function?

I have integrated my Salesforce instance with my AWS Connect through CTI Adapter. I also have implemented SalesforceLambda, which allows me to lookup and query Salesforce data. My problem I have set ...
user avatar
0 votes
1 answer
35 views

How to refresh the Parent component after a button on child component is pressed?

Problem: I need to have the parent component to make another Apex call, apiCallout(), after the save button is clicked on the child component. That way the UI is displaying current data, however the ...
user avatar
1 vote
1 answer
52 views

How to get Salesforce Lead object details in lambda Function?

I have integrated my Salesforce instance with my AWS Connect through CTI Adapter. I also have implemented SalesforceLambda, which allows me to lookup Salesforce data. For Account I can get the Contact'...
user avatar
0 votes
0 answers
16 views

Is there a Public Link Sharing list?

New to Salesforce administration, and just found out that there is an option to create a public link for files. Is there a way to see all public links created in the instance I manage just like in ...
user avatar
-1 votes
0 answers
50 views

Adding Row Dynamically in LWC

@track itemList=[ { id:0, }] addRow() { ++this.keyIndex var newItem = [{ id: this.keyIndex }]; this.itemList = this.itemList.concat(newItem);} this the code I write for adding rows in ...
user avatar
-1 votes
0 answers
17 views

Custom Notification appearing in Prod or Community

I am creating Custom Notifications when an email comes in for an open Case. It notifies the Case Owner, but some notifications appear in Prod, others appear in the Community. We are unable to figure ...
user avatar
  • 9
-1 votes
1 answer
37 views

Multiplication of two fields in salesforce using trigger

I am new to salesforce. I tried multiplying two fields from two different objects but was failed to do so. I have two objects object 1 and object 2 as given below: object 1 is child of object 2. ...
user avatar
0 votes
1 answer
39 views

How to add an empty line/space in Lightning App Builder?

I found no way to add an empty line/space between two fields in Lightning App Builder. Does anyone know how to do it? I know it is quite easy to do it with the page layout tool of the object manager, ...
user avatar
  • 153
0 votes
0 answers
18 views

FlexipageRegion deployment issue

We have made updates to an existing Lightning Page. When moving the page from one sandbox to another the following error is occurring. duplicate value found: FlexiPageId duplicates value on record ...
user avatar
0 votes
0 answers
41 views

How do I implement a CRUD Operation in Custom UI?

<lightning-record-edit-form record-id="b6B8A000000LBp1QAW" object-api-name="CBProgram__c"> <lightning-layout multiple-rows> <lightning-layout-item size=&...
user avatar
0 votes
0 answers
10 views

How can i add lightning:select in recordEditForm's one of input field?

How can i added lightning:select in recordEditForm's one of input field which is the simple input field? Can i change field from input to select in recordEditForm? This is input field from lightning:...
user avatar
0 votes
1 answer
33 views

For lighning:recordEditForm

I want to part 2 columns in my record edit form because it has too many fields.
user avatar
0 votes
1 answer
23 views

Remove focus from close button on lightning:overlayLibrary modal

I have a flow modal that is generated via the lightning:overlayLibrary showCustomModal(). Is it possible to remove the default focus (or at least hide the focus with CSS) that is applied to the close ...
user avatar
0 votes
1 answer
45 views

Regex for Lightning Input in Aura Component

I have one Lightning input in which I have to show the error message if condition is not satisfied. 1.4 characters min 2.12 characters max 3.Allowed characters: Letters (A,B,M....26 capital letters of ...
user avatar

1
2 3 4 5
129