Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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

Bulk Update Custom Metadata Records

Are there any sfdx/sf CLI commands to bulk update the Custom Metadata Records via VS Code? I can able to see only create commands in the Salesforce documentations. Thanks In Advance!!
Loki_72's user avatar
  • 11
0 votes
1 answer
18 views

Checkbox Toggle current value

I am using the standard Salesforce Toggle checkbox code. I am not able to read the current value of the toggle with getelementbyId. <div class="slds-form-element"> <label class=&...
SFDCRookie's user avatar
0 votes
0 answers
23 views

Why is there a thick blue border appearing over elements when its in focus?

Can someone please help to me understand why html elements are showing a thick blue color instead of a light blue color when active/infocus. This is what I'm talking about: Before, everything used to ...
Mike's user avatar
  • 23
1 vote
0 answers
24 views

Aura Component - Lightning Page Template - Collapsible region not resizing correctly

I am trying to create a Lightning Page Template aura component that has two equal sized regions. Between the regions is a button which when clicked collapses the left region, and the right resizes ...
Tom Young's user avatar
-2 votes
0 answers
22 views

Use Access Token to login to Salesforce UI

I get an Access Token for each user using User/Password flow in a trial Production SF tenant. I cannot access the API nor I want to. I only need to use the Access Token so I can redirect the user to ...
user149829's user avatar
0 votes
1 answer
31 views

ESLint not recognizing files in non-standard folder structure

Installing ESLint and receiving the following error when issuing the command npm run lint: Oops! Something went wrong! :( ESLint: 8.57.0 No files matching the pattern "**/aura/**/*.js" ...
Evelyn Maguire's user avatar
1 vote
1 answer
48 views

Populate Lookup Id field in the Navigation Mixing while creating a new record

I have a scenario where I am using Navigation Mixin to create a new record. So during the creation of the new record I want to prepopulate the Lookup record Id in it. But even though I configure the ...
Loki_72's user avatar
  • 11
-1 votes
0 answers
37 views

How to Implement the rate limiting in the forget password

Can you please guide me, How to Implement the rate limiting in the forget password number of password reset emails to 5 per hour per email address. Set up a verification mechanism to track the number ...
Chittu Kala's user avatar
0 votes
0 answers
42 views

Classic Open CTI methods workaround in Lightning

we're preparing for a migration from Classic to Lightning. We have a custom implementation of CTI where we're using some of the sforce methods, that we need to replace with the new ones. I've ...
ukulele's user avatar
  • 25
0 votes
2 answers
60 views

Toggle field is not getting updated properly

I have a scenario where I have toggle input and if the toggle input is changed, I have a Lightning Confirm popup and in that if the user selects okay button, the system should put whatever value the ...
Loki_72's user avatar
  • 11
0 votes
1 answer
32 views

Changing the layout of the standard button for the custom object

there is a change owner button standardized by salesforce. They want to add another checkbox on the layout of this button. How can I add this field to the layout of this button? Note that It shouldn't ...
Saber's user avatar
  • 11
2 votes
1 answer
47 views

addEventListener VS ResizeObserver

I've noticed Salesforce orgs get the error ResizeObserver is not a constructor when Session Settings -> Use Lightning Web Security for Lightning web components and Aura components is not enabled. I'...
louis's user avatar
  • 81
0 votes
1 answer
37 views

Jest test for lwc modal

I'm trying to write a Jest test to cover a scenario: when the "Reset Location" link is clicked, a modal appears. However, I'm unable to access the cancel button within the modal to simulate ...
Shira's user avatar
  • 49
0 votes
0 answers
35 views

Extra Page When Printing Web Pages in Lightning Experience

When printing web pages in Lightning Experience, there is always an extra page. This is true for any Record pages, App Pages from Lightning Component or Lightning Page Tabs. Adding css in Lightning ...
Sid Fortunato's user avatar
-1 votes
0 answers
15 views

View documents from instance to another

I have a request to view documents on the record page of an account in "instance A" from another "instance B" based on externelId (which is the id of the same record in "...
SFDEV's user avatar
  • 1
1 vote
1 answer
42 views

For Lightning, can I have a field Lookup Filter that allows a blank lookup value when the path update button is clicked?

This lookup field filter on a field labelled "Fund Bank Account" on an object labelled "Distribution": works well when a user is editing the lookup field. It only offers Fund Bank ...
Keith C's user avatar
  • 136k
0 votes
1 answer
41 views

FIELD_INTEGRITY_EXCEPTION - Price book entry is inactive

I have a custom lightning component button with trigger on the Opportunity object, which clones the existing Opportunity and associated Quote record. At the moment, we cannot clone Opportunities where ...
Sophia's user avatar
  • 31
0 votes
1 answer
48 views

How to navigate to a custom lightning tab in experience site

I am trying to implement a requirement in experience site. Below is what has been implemented in salesforce and I want similar behavior in experience site. In accounts object created a quick action ...
Aniket Srivastava's user avatar
0 votes
0 answers
20 views

RefreshEvent doesn't refresh relatedList

I have a quick action for creating an Opportunity from an Account. The quick action is an LWC component, and upon submitting the button, I need to refresh the Opportunity related list on the Account. ...
salesforce Developer's user avatar
0 votes
0 answers
23 views

Troubleshooting missing metrics in the Lightning Usage app

As an admin, I am unable to locate the metrics for Active Licenses and Login Metrics when browsing the Lightning Usage app. Is there anything specific that needs to be updated? Could someone please ...
Ryan Chan's user avatar
0 votes
1 answer
31 views

Business scenario on why we need bubble=true and composition=false in LWC

As far as I understood, we need {bubble:true,composition:false} on firing event from child component to parent only when we want the event to be received above in the immediate DOM elements of Parent ...
Sukruti's user avatar
  • 462
0 votes
1 answer
44 views

How to get these two functions in LWC to not run at the same time? How to get one to wait for the other to be finished?

connectedCallback(){ this.blurHandler = () => this.testFunction(); this.beforeUnloadHandler = () => this.testFunction(); } I am getting the issue where both of these events the blur and ...
James's user avatar
  • 37
1 vote
1 answer
42 views

Aura component After action.setCallback code not executing

After action.setCallback code not executing, In Console log I can see only this The system debug is returning in the debugging. So, the apex is being called, returning a value. No error in Apex side ...
SK2889's user avatar
  • 919
1 vote
1 answer
34 views

How to fetch element Id on page load

I have a LWC button, and on page load I want to get the id of that element. How can I achieve this? I have tried the below code, but it's not working. In HTML: <lightning-button data-id="...
rmajumder's user avatar
1 vote
0 answers
36 views

User activity monitoring, Can it be done and how ? - Clicks, pages, tabs and components entered, action taken, etc

I have a Sales and Financial Services environment that works with banking and as such, auditing is quite heavy. Having that said, I need to find a way to be able to monitor and register somewhere in ...
Paulo Caetano's user avatar
1 vote
1 answer
42 views

Trying to pass field value from controller into iframe on LWC

Trying to pass Opportunity.AccountId into the url string in an iframe on a lightning web component that I want to sit on opportunity record lightning pages. I'm new to coding so trying to use this as ...
M_Grossbehnke's user avatar
0 votes
1 answer
202 views

How to fix or freeze a column in lightning data table

I have a lightning data table with lot of columns specified. First column in the table is called Product and there are other columns. In order to update other columns user has to scroll the table for ...
Sudhir Balijepalli's user avatar
0 votes
1 answer
81 views

Lightning-modal spinner overlay screen

I'm using the new feature: lightning-modal and using a lightning-spinner: <template> <lightning-modal-header label="Test"></lightning-modal-header> <lightning-modal-body ...
Alexia Ribeiro's user avatar
0 votes
1 answer
44 views

Status field in Highlights Panel not showing in certain profile

I hope someone can help me coz I'm stuck. So I have a page layout and lightning page which is being shared my multiple profiles. However, it seems like the status in Highlights Panel of my Lightning ...
Saber M's user avatar
0 votes
0 answers
22 views

How to create a tab that contains a custom LWC, but is not part of an app?

I have a link in an external system that redirects users to Salesforce. The link opens a tab with a custom LWC. I'd like to have this tab/page accessible to those users without creating this tab/page ...
DevelBase2's user avatar
0 votes
1 answer
49 views

Dynamic dependency between Multi-Picklist and Text field

I'm Configuring Dynamic dependency between Multi-Picklist and a Text Field. Desired Result: When I Select Other from Multi Picklist then the Proof Details Should become required Otherwise it should be ...
Sham Hiruthik's user avatar
2 votes
1 answer
53 views

Blank space - Quick action

I have a custom object and I have a built a quick action which will update the status field to "a" The quick action configuration is shown below While designing this quick action, I have ...
Exps's user avatar
  • 263
0 votes
0 answers
44 views

Styling custom drop down to not hide inside flow modal and extend modal length

I have a custom reusable lookup dropdown LWC component that I'm using in another parent component, which is then used in a flow screen. The dropdown hides inside the flow modal content area. I want ...
salesforce Developer's user avatar
1 vote
1 answer
555 views

Dynamic Related List - Single is missing related lists

I'm adding a Dynamic related list - single to the case page. When using Industries, a field on the Application object is added called ApplicationCase which links to case. In the standard page layouts ...
Duncan's user avatar
  • 21
0 votes
1 answer
36 views

Lightning Record Page

My mentor asked me this question,2 users with same profile, same page layout, same record type can see different fields based on their location. The answer is lightning record page, but how? I have ...
Rashmi Shankhpal's user avatar
0 votes
0 answers
79 views

How to add style to lightning combobox?

how can I add style to the combobox input and option items? ><lightning-layout-item size="12" padding="around-small"> <label class="custom-...
Yuqi Sui's user avatar
0 votes
0 answers
20 views

Different List Views for Activities & Tasks

I just noticed that you can directly access Activities and Tasks in Lightning - but no Events. The former brings you to a very old Classic list view while the latter is just as expected. I thought ...
Semmel's user avatar
  • 2,497
0 votes
0 answers
15 views

Setting Knowledge data category visibility based on Partner Roles

We have several Partner accounts and their hierarchies(point of Sales). Partner account can have multiple child partner accounts. for e.g PartnerAccount 1 => Pos1, Pos 2 PartnerAccount 2 => Sop1,...
AbhishekDEV's user avatar
1 vote
1 answer
102 views

Modify field value before this.template.querySelector('lightning-record-edit-form').submit();

I have an LWC component in which I'm using lightning-record-edit-form. I have a custom submit button. That is outside lightning record edit form. I don't have the 'Name' field in the HTML; instead, I ...
salesforce Developer's user avatar
0 votes
0 answers
40 views

Dynamic row deletion not working properly

I have an LWC component in which I dynamically add and delete rows. In my parent component, I use a reusable lookup custom LWC component. However, when I delete a specific row in the parent component, ...
salesforce Developer's user avatar
0 votes
0 answers
29 views

Selenium clicking of Lightning Elements causing abnormal behavior

I'm using Selenium to click the "View All" link in the App Builder drop down: const element = await driver.wait(until.elementLocated(By.xpath(`//lightning-button[.="View All"]`)), ...
MadMax's user avatar
  • 1,000
0 votes
1 answer
227 views

Not able to see Public Groups when sharing files

I'm trying to share files with my users. I can see individual users, but can't access the groups. My Public Groups don't populate in the Groups dropdown list, and if I just type in the group name, no ...
Ajinkyasd's user avatar
  • 335
-1 votes
1 answer
120 views

user not able to edit the dashboard

I am system admin. One of my user not able to edit the dashboard. She is getting error message saying " You don't have permission to edit this dashboard. Ask your Salesforce admin or the ...
Priya's user avatar
  • 1
0 votes
0 answers
42 views

How do I only search in Leads using searchAndScreenPop()?

The search API by default searches in Contacts, Leads, Accounts, etc. I want to limit it to either one because the user may not have privileges to Contacts or Accounts in this instance. The search API ...
Ian Dsouza's user avatar
0 votes
1 answer
24 views

i want ui:inputradio label to display to the right of the radio currently it is to the left followed by radio?

I want the radio button first and the label to the right of the radio button here is my code <tr> <td width="150px" class="uiLabel-right form-element__label uiLabel"&...
Lone Warriour's user avatar
0 votes
0 answers
181 views

When creating a lightning-record-edit-form with two columns, the fields are not occupying the full width of the page

I have created a lightning-record-edit-form with two columns, but in the UI, the fields are not occupying the full width of the page. I have tried various approaches, including using SLDS, layout ...
Neeraj Rautela's user avatar
0 votes
1 answer
118 views

Picklist value is not displaying using @wire in LWC for a specific user

{"status":403,"body":{"message":"You don't have access to this record. Ask your administrator for help or to request access.","statusCode":403,"...
rohit maheshwari's user avatar
1 vote
1 answer
192 views

"Email" not visible in Activity Timeline View

In my System Administrator profile, I am able to see the "Email" button in the Activity Timeline view as shown below This highlighted "Email" button is not visible for another ...
Exps's user avatar
  • 263
0 votes
0 answers
41 views

New Task button is not visible in Lightning Task related list

New Task button is not visible in lightning, but I can see it in classic. Main Task - Custom Object Sub Task related list - Task Object I followed below steps. But didn't resolve the issue. Ticked ...
R_Cham's user avatar
  • 49
0 votes
0 answers
88 views

Lightning rich text field is producing different html depending on the age of the record

I am trying to debug an issue where I have a lightning rich text field on a page. lightning:inputRichText aura:id="Desc" With the input in the UI as "A new para" For a new/newer ...
Gizzi Mondada's user avatar

1
2 3 4 5
133