2022 Developer Survey is open! Take survey.

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

How to give access to the Product2 object if OWD is set to private in an Org

I want to give access to the Product2 object if my OWD of Product is private
user avatar
  • 21
0 votes
0 answers
5 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
14 views

For lighning:recordEditForm

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

Meta tag in Lightning Web Component

I am trying to find a way to add a Meta tag inside a LWC, but can't find any helpful article except the LWR feature on Experience cloud. Is there any other way out to include such changes in the head ...
user avatar
0 votes
1 answer
10 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
-1 votes
0 answers
22 views

Call External Url on record update from standard record page

When a record is saved in the standard page, I need a external url to open in a new window without any intervention after the save operation
user avatar
0 votes
0 answers
13 views

i want to align my table header with body when i am using overflow:scroll in body

i want to align my table header with body when i am using overflow:scroll in body as you see in below picture header border is not aligned can anyone tell me idea for fixing this
user avatar
0 votes
1 answer
26 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
0 votes
0 answers
18 views

Generation of pdf from lightning aura component and attach the same to case object

I have the requirement like i need to generate the pdf from aura component and the generated pdf should automatically attach to case object. I tried in following ways : I have created lightning ...
user avatar
  • 89
0 votes
0 answers
45 views

Salesforce lwc *&exception .Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'ma') [duplicate]

I use aura, replacing the standard create button like this(CreateAccountCompt): <aura:component description="CreateAccountCompt" implements="flexipage:...
user avatar
0 votes
0 answers
31 views

Contact Tab List View Does Not Show for Some Users when a Picklist is Added

I have a Contact Tab List View, and when I add a picklist or multi-select picklist to the view, I get an error. Here is what the list view looks like before I add a picklist: Once I add the picklist, ...
user avatar
1 vote
1 answer
92 views

LWC Quick Action Error with Record EDIT Form for Lookup Field after Summer 22 Update

We have an LWC for quick Action which creates a Quote it is displayed on Opportunity Layout. It has a Record Edit Form which has some Fields and it displays the values, the Field Payment Terms is a ...
user avatar
  • 111
-1 votes
1 answer
39 views

TypeError: Cannot read properties of undefined (reading 'DOB') in for loop

applicantToCreate is array having properties DOB. @track applicantToCreate = []; isValidApp; validateApplicantsfields() { try{ this.isValidApp = true; for(let ...
user avatar
1 vote
0 answers
33 views

LWC Responsive Tables In Light DOM

I'm trying to build a div-based responsive table in LWC using Salesforce's new "Light DOM" feature. Unfortunately the table won't render properly, it looks like this: Following is the html-...
user avatar
  • 11
0 votes
0 answers
16 views

I'm trying to get the two buttons to fill the width of the Template. How would I do this

I want it to look like each tab is 50% of the template. <template> <lightning-tabset variant="scoped" active-tab-value="2"> <template class="slds-...
user avatar
0 votes
1 answer
33 views

LWC NavigationMixin Not working

i am trying to create a custom footer for a flow. While trying to navigate to a list page of Survey object the Navigation is not working, Any help would mean a lot. Thanks!! <template> <...
user avatar
-4 votes
0 answers
33 views

Unable to get response for fetch method

Unable to get response any response for below post request triggerd, can any one please help on this import { LightningElement, wire,track,api } from 'lwc'; import getClientId from '@salesforce/apex/...
user avatar
  • 9
-1 votes
1 answer
19 views

On button click user should be navigated to the New action of an object

I have been working on creating a new list view All Vendors(for Custom Vendor Object). Once that is done, I am trying to create a new lightning component, where I create a button named Add new Vendor. ...
user avatar
0 votes
0 answers
27 views

Email button not showing in Activity History related list on Case Lightning Page layout

I have added the Email button to the Classic Case Page layout in the Salesforce Mobile and Lightning Experience Actions section. I have also added the Activity History related List to the ...
user avatar
  • 327
0 votes
1 answer
6 views

How to add custom field on the detail section of custom lightning page?

I have a custom lightning record page created for a custom object. The detail section has some set of fields. Now I want to add one more custom field to the detail section of the custom lightning ...
user avatar
  • 351
0 votes
0 answers
16 views

flow modal window not able to close in lightning app builder

I am calling a screen guided flow from a modal window in lightning component which I am making visible on a particular status on Case . But the modal does not closes on Lightning app builder from ...
user avatar
  • 187
0 votes
0 answers
29 views

Einstein Activity Capture - Attendees are not receiving notifications when added to an Event

Requirement: when a Salesforce (SF) User creates an Event and adds Attendees (Users) on that Event, each Attendee should receive an invitation email enabling them to add that Event to their respective ...
user avatar
0 votes
1 answer
33 views

How to display profile avatar and text inside lightning data table

I am trying to create a custom Account Team for a custom project called "Project". The Project will have "Project Members" so we can see which users are working on the project and ...
user avatar
0 votes
1 answer
27 views

Presenting data in a SF Case externally

I'm looking for a way to present data in a Salesforce Case externally to a customer, without them having any login setup for our Salesforce. There doesn't seem to be any native capability for this in ...
user avatar
0 votes
1 answer
21 views

Created App not showing in Lighting App builder

I have made the app a few days which is not visible now. May I know the possible reason? the app is accessible from app launcher but not from here
user avatar
0 votes
1 answer
54 views

how to import moment file in LWC in salesforce

// HTML CODE <template> <div class="dates"> <div class="buttonContainer"> <button class="link" type="button" ...
user avatar
1 vote
1 answer
16 views

Salesforce remove Auto Fill for an <ui:inputText>

I have a scenario that needs to remove the AutoFill and paste from <ui:inputText>. I was able to achieve restricting paste by adding "onpaste" event inside a <a> tag wrapping <...
user avatar
0 votes
0 answers
28 views

Inline edit for lightning datatable without using apex (LWC)

I already have enabled lightning inline edit on one of the columns. But the data on the table is not records, but rather a list of static values from JavaScript variable. How do I edit save the ...
user avatar
0 votes
0 answers
17 views

Case Feed Layout Issue -- Community and Standard lightning

Created a custom case quick action having screen flow. Case feed tracking is on Added button on layout section The button is visible on chatter publisher rather than on compact layout ---- (ISSUE I ...
user avatar
0 votes
0 answers
18 views

Chatter Feed Disabled, Still Email Action not visible

I have disabled the chatter feed. Also I have dynamic action on compact layout on for Case. I am not able to see the Email quick action.
user avatar
0 votes
1 answer
23 views

lwc not supported on app page (mobile)

I have a lwc that I want to be displayed on app mobile but it's giving me always the following error: This is my lwc .XML configuration: <?xml version="1.0" encoding="UTF-8"?&...
user avatar
  • 771
0 votes
0 answers
54 views

lightning tree grid how to hidden column button

Question 1 How to sets the visibility of the button-icon based on the fields in the data. such as 'status' Question 2 How to resize button-icon?. html <template> <div class="slds-...
user avatar
  • 323
1 vote
0 answers
34 views

LWC Application not running outside of salesforce [duplicate]

Hi I'm new to salesforce, I have one requirement to use my LWC Component outside salesforce, I have searched in google is there any possible way, finally I found one approach to use Lightning out ...
user avatar
0 votes
0 answers
24 views

In a Lightning Data Table in LWC, when I try to click on a hyperlink on Row2, it highlights Row1, but opens Row2 in the end

In a Lightning Data Table in LWC, when I try to click on a hyperlink on Row2, it highlights Row1 but opens Row2 in the end. The Rows are actually a list of records which are from a custom object and ...
user avatar
  • 23
-1 votes
1 answer
41 views

Salesforce Files for massive storage

One of my clients have a requirement where they want to upload thousands of files everyday in Salesforce. I did some rough calculations and looks like they'll be adding roughly 1 TB of files every ...
user avatar
  • 2,104
0 votes
1 answer
26 views

Getting error while upload file

I am trying to upload file in the files section in lightning. i am getting below error - I am getting this error only when attaching an email message which has a pdf attached to it. I tried ...
user avatar
  • 1
0 votes
0 answers
17 views

Overrode New and Edit with an Aura Component, the Modal shows up but the background disappears

I overrode the New and Edit with an Aura Component, the Modal shows up but the background disappears. What is the correct way to call a lightning aura component from the Tab (i.e. when clicking New)?
user avatar
  • 362
0 votes
0 answers
28 views

Call a lightning aura component from a button from a Tab?

I have a Lightning Aura Component NewRecord and it's just a modal with some basic form fields. I have an object called MyObject__c with a Tab. From the Tab I want to call the lightning aura component ...
user avatar
  • 362
0 votes
0 answers
26 views

Connecting a Contact to another Contact

I have "student" contacts and I have "parent" contacts which are connected by a relationship which can be viewed in related lists. But I want to link the parent contact record to ...
user avatar
0 votes
0 answers
31 views

How to stop CountDown Timer (Aura Component) automatic on Saturday and Sunday Also on Holidays and Resume auto on Working Days for Ex ;- Mon-Fri?

Aura Component <aura:component controller="updateTATaura" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,...
user avatar
  • 1
0 votes
0 answers
31 views

LMS Channel error: Your component must be rendered before you can publish to channel

I have two Aura Components that talk to each other via 2 LMS channels. The flow goes: Once we click on the quick action button on Case Header, it would fire a LMS channel that will be subscribed by ...
user avatar
0 votes
0 answers
20 views

Looking for help with a list view button (URL) migrating to Lightning

I'm hoping someone can assist me with an issue I ran into when migrating to lightning. We have a button on an Accounts related list (it is a custom object) that creates a new record, auto setting the ...
user avatar
  • 327
0 votes
1 answer
54 views

Resetting rich text area in lwc record edit form

I have a lwc with the following code in html <template> <lightning-record-edit-form object-api-name={object} onsuccess={handleRecordCreate}> <lightning-messages></...
user avatar
  • 1,071
2 votes
1 answer
38 views

How to Navigate to particular folder of Report with Navigation button in LWC

I am trying to navigate the Custom folder (Name: Account Report) of the report with the lightning button in LWC. I am able to Navigate the home of a report by the following code. But I want to ...
user avatar
0 votes
0 answers
23 views

How to submit two records and assign it to parent using lightning-record-edit-fom

Scenario : I have two custom objects Application__c Applicant__c Application__c is the master object of Applicant__c. On Application__c object , i have a created a custom picklist field called ...
user avatar
0 votes
0 answers
25 views

How to change the lightning-map marker icon to current object icon?

I am trying to change the default red map marker in the lightning-map using mapIcon property of mapMarkers. What I want is to get the current object's icon and show it as map marker. PS - I am able to ...
user avatar
0 votes
0 answers
19 views

custom component popup via hyperlink using formula field on standard detail page

We have a hyperlink formula field on Case record page. Upon clicking of this, user is navigated to a page where we have embedded a canvas app. Business requires to have a Warning message when user is ...
user avatar
  • 2,551
0 votes
0 answers
14 views

How to handle event for Console Tab on focus and on blur in Salesforce Lightning

I'm trying to implement an on Tab Focus and on Tab blur in the salesforce lightning, whenever there is On Focus to the Tab I need to create a new Record with a Start time in the Salesforce custom ...
user avatar
  • 143
2 votes
0 answers
34 views

Filtering an Action button on a record based on active User

I am trying to display a Create a Record button only if the user looking at the page is the same user in a related user field. I currently have a formula checkbox field that is true if the active user ...
user avatar
0 votes
0 answers
12 views

CSS styles Einstein Chatbot CDN link

I am developing Einstein Chabot with Android application. I need to reference styles for prechat page. To reference styles I am looking for salesforce CDN url same as bootstraps styles. How can I get ...
user avatar
  • 61

1
2 3 4 5
129