Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

I implemented chart.js lightning web component in Salesforce home page. It sometimes loads properly, sometimes loads blank and sometimes loads partially (chart with no data) and then it can appear ...
user31943000's user avatar
0 votes
0 answers
28 views

I have developed a Lightning Web Component (LWC) and exposed it as a Quick Action on the Case object. However, the action does not appear in the Feed section of the Case record page. Is it a ...
khushi's user avatar
  • 3
0 votes
0 answers
13 views

I have the below lwc which I am planning to use inside lwr. But the behavior is different/strange. For example: when I am giving some wrong date like Nov 39, 2025. it automatically chooses the next ...
Sudipta Deb's user avatar
0 votes
1 answer
44 views

I have created an LWC in Salesforce and am trying to creat Jest tests for it. I have implemented a div in html file and calling the js function using the onclick event as shown below. <div class=&...
Ravi SFDC's user avatar
1 vote
0 answers
78 views

I'm building a site with a user-configurable dashboard using LWC. It is a LWR community site hosted on Experience Builder. Rendering the dashboard using LWC dynamic rendering seems like the perfect ...
Larry Reinhard's user avatar
0 votes
0 answers
59 views

I have an issue with the lightning-accordion-section styling where it overlaps with the action buttons: screenshot here Here is my code: <lightning-accordion allow-multiple-sections-open> &...
Lili Stoyanova's user avatar
1 vote
0 answers
115 views

I'm using AG Grid in a Salesforce LWC project and have implemented a custom header checkbox for select-all functionality. The checkbox is rendered in the header using a custom class (not AG Grid’s ...
Itay Noama's user avatar
0 votes
0 answers
57 views

I’ve built a Lightning Web Component that uses jsPDF to assemble a multi-page PDF on the fly. In my generateAndPreviewPDF() method, I: Load jsPDF and custom fonts Draw a custom header and body onto ...
rushika pawar's user avatar
-1 votes
1 answer
428 views

how to wrap lwc lightning datatable header text, i'm already using wrapText: true, for table sorting its workig for table data but not for table header <lightning-datatable data={pagedRecords} ...
Shiva Sahani's user avatar
0 votes
1 answer
72 views

I am trying to understand the difference in child to parent communication when doing with custom event via this.addEventListener by defining method name in child component definition in parent ...
user2456012's user avatar
1 vote
2 answers
877 views

Got latest VSCode,latest Sf cli,latest npm ,latest Java 21 Intention is to get all objects (without using Org browser as it will be very time consuming) in manifest.xml to local VS Code project so ...
Carolyn Cordeiro's user avatar
0 votes
0 answers
34 views

I have a wire function where i am getting data from apex get userAddressBookData() { var selectedUserListBeforeApexCall = this.selectedAddressList; console.log('selectedUserListBeforeApexCall--...
Kavya's user avatar
  • 3
0 votes
0 answers
164 views

I have created a component(modalParent) having lightning modal(myModal) using SLDS. When the modal is opened, ideally it should get auto focus but that is not happening. The focus is on the background ...
Aastha's user avatar
  • 43
0 votes
1 answer
904 views

In Salesforce documentation, it is mentioned that Aura-enabled Apex methods should throw an AuraHandledException to propagate user-friendly error messages to the client. However, I have a custom ...
HG_'s user avatar
  • 1
0 votes
1 answer
262 views

I am trying to automatically select(checkbox) the nested rows when selecting the parent row in a lightning-tree-grid. It's my understanding that the selected-rows attribute on the lightning-tree-grid ...
lache's user avatar
  • 850
0 votes
0 answers
59 views

I have a LWC which diaplays a table of a custom object called 'Specifications' which a are grouped by Opportunity line items (parent record of the specifications. The Opportunity row was read only, ...
Timothy Hayward's user avatar
0 votes
1 answer
336 views

I have a button in each row of the data table, So I want to change the color once it is click. Below is my code snipeet. { label: 'Include GST', type: 'button', fieldName: 'invoiceNumber', ...
Anita Mehta's user avatar
1 vote
1 answer
53 views

Im using LightningWebCharts here is the documentation link https://salesforcelabs.github.io/LightningWebChartJS/ I want add 'k' in tooltip value. Tooltip documentation https://salesforcelabs.github.io/...
Afrose ahamed's user avatar
1 vote
0 answers
98 views

I need to capture the value from a specific field on the standard record edit page in real-time, before the Save button is clicked, validate it, and then display the corresponding alert in the custom ...
P.M. Sathiyamoorthy's user avatar
0 votes
1 answer
406 views

I have certain contents under body, but as the contents increases a scrollbar starts to appear as expected. But is there a way to hide it and still the modal is scrollable? If there's any or anything ...
Pixel's user avatar
  • 79
0 votes
1 answer
765 views

So we have a lightning button which calls a LWC component. This LWC component opens up in a popup window with Save and Cancel button. Now on the click of Cancel button the below LWC js code is called: ...
Anmol Khanna's user avatar
0 votes
1 answer
172 views

I'm working on a TestCafe script to automate tests for a Salesforce Lightning Web Component (LWC). I need to interact with a button that is nested inside several layers of components and has specific ...
Bo Marley's user avatar
2 votes
0 answers
56 views

I'm working on a web application that generates PDFs using Puppeteer on the back-end, based on content rendered by a front-end Lightning Web Component (LWC). I'm encountering a timing issue where ...
user18913859's user avatar
0 votes
1 answer
161 views

I have a Custom LWC component exposed on a Record Detail page in Salesforce. This component includes a Design attribute that dynamically queries picklist values. When I drag and drop this component ...
Gowtham S's user avatar
0 votes
0 answers
85 views

This is Salesforce lwc component code. For some reason when I click “New Correspondence” button, nothing happens and no debug log on F12 dev console. This button does not get registered for some ...
Lali's user avatar
  • 155
0 votes
0 answers
91 views

I have a lwc table where I have created buttons. I am using a url inside the href attribute and it is redirecting me to a other page as expected but I need to append the recordId with url inside href, ...
Babai Mukherjee's user avatar
0 votes
1 answer
25 views

I'm looking to make 2 generic, reusable functions to process parallel and sequential callouts. Currently, we use inline await to handle sequential... export async function init() { const results1 = ...
ThatTreyGuy's user avatar
0 votes
0 answers
44 views

In dialog box, there is one input search box and one close button. On tab click both elements are focusable and readable by NVDA but shift+tab not allowing me to focus inside an search box but instead ...
prachi vandre's user avatar
0 votes
1 answer
43 views

I have created a class with without sharing keyword and I have provided access of this class to guest user profile. This class is being called from a LWC component which is hosted on public support ...
nischal vasisth's user avatar
0 votes
1 answer
107 views

I am create a LWC component using Slickgrid Universal 4.7.0 for custom datatable. However I can not set the checkbox column correctly. How can I config the option for this? I already set the ...
goodGhost's user avatar
0 votes
0 answers
461 views

I have a button in LWC component. When I click the button, the LWC form will open. When we filled and submit the form, an email has to be sent, but even though the email is sent successfully in debug ...
Deena Vicky's user avatar
0 votes
1 answer
227 views

public class ItemTypeWrapper { @AuraEnabled public Id ItemTypeId ; @AuraEnabled public String ItemType; public ItemTypeWrapper(Id ItemTypeId, String ItemType) { this....
Kavya's user avatar
  • 3
0 votes
1 answer
78 views

I am having an apex class with multiple methods but I want to hit its 1 method on click a button on opportunity. I had tried different ways but failed to get where to place my button and how to ...
Junaid Ahmad's user avatar
0 votes
1 answer
279 views

Write a LWC component to display Account records in lightning-datatable and show checkbox field (IsActive) as an image (true: green check, false: red cross). Please don’t use @wire adapters. Please ...
Jacky's user avatar
  • 1
1 vote
2 answers
1k views

I have a button that, when clicked, triggers another component. Before doing so it logs information about the event. I am new to LWC. I couldn't find the solution in LWC reference guide. <template ...
Harshvardhan agrawal's user avatar
0 votes
1 answer
46 views

I have an Apex call which causes an error (ENTITY_IS_DELETED, but it doesn't matter which error it is). I might be able to fix that error, but now it somehow also returns successfully anyway, so the ...
Z0q's user avatar
  • 1,975
0 votes
1 answer
2k views

I simply want to run a method when a variable changes. I think @track monitors the changes, but how do I run this method when it does? How do I write this? @track displayedData <---when this ...
lache's user avatar
  • 850
0 votes
1 answer
118 views

I have an older Aura method here that I want to translate to modern Javascript. For some reason I keep getting different output. I console log before recursion (data), then I console log before the ...
lache's user avatar
  • 850
0 votes
1 answer
457 views

I keep getting an error from the response of my promise, if I give it a parameter. I can't tell if I am suppose to pass in "columndefinitions" parameter to the apex method or not. I have ...
lache's user avatar
  • 850
0 votes
1 answer
248 views

I'm working on a Salesforce Lightning Web Component (LWC) designed to be embedded in a Screen Flow. This component allows users to modify an Account record's fields and then updates the record using ...
Hasan's user avatar
  • 1
0 votes
0 answers
921 views

I have a screen flow that guides a user to create a billing record in Salesforce. The last button creates the record and also sends a platform event. My LWC is designed to show the totals e.g. Amount, ...
CarlHandley's user avatar
0 votes
0 answers
113 views

The full calendar is not working with V6 in LWC Component. It throws error TypeError: Cannot read properties of undefined (reading 'changeView') when trying to call the ChangeView method from JS The ...
Barsha Sony's user avatar
-1 votes
1 answer
182 views

Creation of a form that allows you to find an opportunity by name and display the necessary information about the opportunity in a table. So I'm using Lightning Web Component to create a form to ...
S_LUCIA's user avatar
0 votes
0 answers
97 views

When the API is invoked, you can observe the this.accessToken and the request body in the browser's network tab. const response = fetch(endpoint, { method: 'POST', headers: { '...
user22481700's user avatar
1 vote
0 answers
368 views

I want to customize the tag of the LWC. I have made the background transparent. My background image is dark. So, I want my text to appear as white so that it is visible. Also, while selecting the ...
Timus_sfdx's user avatar
0 votes
1 answer
335 views

LWC setter is not getting called. <template> {message}<br><br>1. getter value: {displayMessage}<br><br>2. setter value: {updatedMessage} </template> import { ...
Salesforce developer's user avatar
0 votes
0 answers
298 views

I tried running this code in the LWC playground and it runs fine for me When I try to run the same code inside a method in LWC component in salesforce (JavaScript), it's throwing an error. import { ...
Gokul Dudani's user avatar
0 votes
1 answer
485 views

<lightning-record-edit-form object-api-name="Financial_Entity_AC_Detail__c" onsuccess={handleSuccess}> <lightning-messages> </lightning-messages> <lightning-...
Shiva Nothernarc's user avatar
0 votes
1 answer
2k views

I have changedFields object with the structure like following: changed fields: {"Name":"Test Practice Test","ReasonForUpdate":"Test","BillingAddress":{...
maleficent314's user avatar
0 votes
0 answers
1k views

I am trying to show User info on hover over Name field in datatable, which is resulting in expansion of entire row rather than just hover popup. Below is the code for datatable where I am using custom ...
getty's user avatar
  • 1

1
2 3 4 5
10