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

I have a requirement where I have to call a omnistudio flexcard from LWC and pass a row data on click of an id in a datatable. I'm trying to use navigationmixin.navigate to navigate to particular ...
harsha kondeti's user avatar
0 votes
0 answers
2k views

I have LWC component with 10 Account Records with checkbox and submit button. My Question is Whenever I select multiple Account Records and modifies Account field values and click on submit button ...
abhi ram's user avatar
0 votes
0 answers
46 views

I wrote this code as JS controller of a component to invoke a VF Page but here it is showing that This error This page has an error. You might just need to refresh it. Action failed: c:DataProcessor$...
Harshit Chaubey's user avatar
1 vote
0 answers
2k views

I'm trying to figure out how to use jsPDF html() method in LWC. To use a pure jsPDF is relatively easy, but I didn't find an explanation on how to do it with the jsPDF html() method. I did a search. ...
Alex's user avatar
  • 11
0 votes
1 answer
4k views

I am trying to pass color to the existing style of HTML tag from Javascript. However, it's not working as I am trying. Please help. Actual HTML <template if:true={bmirange1}> <div style=&...
Praveen Behera's user avatar
1 vote
1 answer
745 views

I have a powerBI report that I embedded in Salesforce as an LWC. the report has multiple tabs, the LWC shows the report but only the default tab and no option to switch tabs in there. is there a way ...
Zeid Ameli's user avatar
0 votes
1 answer
555 views

I want to load a website in Lightning itself, instead of opening the link in a new browser tab. I have created a quick action that calls a LWC(myNavigation) on click of it. The LWC is then embedded in ...
user15754268's user avatar
0 votes
2 answers
69 views

I'm getting this type of data from backend let a = [ { QuestionNo: "1", pageNumber: "1", response: "xyz", question: "What is your Name", ...
Developer's user avatar
0 votes
1 answer
743 views

I want to know if an action yalout can be called from a component in Salesforce (aura o lwc). This is the action layout that I want to add with its predefined fields
Arturo Castro's user avatar
0 votes
1 answer
2k views

I have a Lightning Web Component (LWC) which has a .html, .css, and .js file. I wish to measure the bundle size of this one component. To do so, I wish to bundle my component using rollup. And then ...
Vignesh Pethuraj's user avatar
3 votes
0 answers
414 views

I'm working on a LWC (lightning web component), and have been using the Salesforce Local Development Server successfully, until the point where I use a wire call to invoke the Apex function. I am ...
Brendan McDonald's user avatar
0 votes
2 answers
2k views

I am trying to add Row when clicking on New Button in lightning Data table. Created lightning-button in HTML and call the method to js.While trying to click New button getting Undefined. Sample Code: ...
prasannakumar chebrolu's user avatar
1 vote
2 answers
4k views

I'm working with two lwc components. Both have a relationship parent-child. In my parent.js I wire an Apex class which contains an objects array: Parent.js: // imports... export default class ...
Krmn's user avatar
  • 51
0 votes
1 answer
1k views

I'm getting this error based on when I click my LWC "Next" button to save my record edit form and navigate me to the following Flow screen. The data I enter in my LWC still saves fine, but ...
jackb's user avatar
  • 35
1 vote
2 answers
243 views

I'm using fullcalendar library v4.3.1 inside a Salesforce LWC. All was working good in sandbox until I clicked inside an event and I get the following error: aura_prod.js:999 Uncaught TypeError: ...
Krmn's user avatar
  • 51
0 votes
1 answer
237 views

I'm trying to define an Object using JSDoc typedefs. So given the following type definition: /** * @typedef AccommodationData * @type {Object} * @property {string} id * @property {string} name * @...
Steve Schrab's user avatar
1 vote
1 answer
103 views

I'm using a fullcalendar library inside a Salesforce lwc. I need to set the 24 hours format to my timegrid view as now its shown as 3pm, 4pm, etc. I tried adding the eventTimeFormat but it doesn't ...
Krmn's user avatar
  • 51
1 vote
1 answer
3k views

I'm facing the issue while Calling the api In LWC ( lightning web component) even though i have added the base URL in CSP ( Content Security Policy ) And in Session Settings but still not understood ...
Shivraj Khetri's user avatar
2 votes
2 answers
2k views

I am a newbie to salesforce package development and trying to figure out debugging of the LWC components. I am able to see the custom LWC components in components/c folder in my sources tab of chrome ...
John Cooper's user avatar
0 votes
1 answer
786 views

Can I Please get some help to call Lwc from Aura. Below is code reference and its fetching blank page below Aura Component code. Component <aura:component implements="force:appHostable,...
khushi's user avatar
  • 3
0 votes
1 answer
715 views

I was asked to reduce duplication in my tests by using it.each or creating a function. I am not sure how to go about this. I have other functions in the test suite that are not expecting errors. I am ...
Kristina's user avatar
0 votes
1 answer
442 views

I am quite new to Lighting Web Component. However, I have some experience with other component base frameworks. I'm creating a button for each item and when the button is clicked for each item. It ...
Pedro Henrique Ferreira's user avatar
0 votes
0 answers
590 views

I want to create LWC component in which I have one file selector which is uploading '.pdf', '.png','.jpg','.jpeg','.docx','.doc' types of file in salesforce. but on button click I want that file to ...
sj001's user avatar
  • 1
1 vote
0 answers
225 views

I have an LWC component that calls the React application. I uploaded files using Upload - Ant Design. I have a problem, I can upload a maximum of 4 mb. I upload files as FileReader.readAsDataURL() and ...
Axelf3000GT's user avatar
1 vote
0 answers
1k views

I'm following a Lightning Web Component course and have been stuck on the Lightning Message Service lesson. After having created the messageChannels folder under force-app/main/default and creating ...
gab-dev's user avatar
  • 11
0 votes
2 answers
643 views

I have a requirement in which email notification we have to provide a link which will redirect approver immediately to the approval page. I found one relevant solution mentioned in below URL URL :- ...
khushi's user avatar
  • 3
0 votes
1 answer
2k views

I have trouble showing a clicked value on Toast. I would appreciate it if you could help me! The details are written below. Thanks in advance! [what I want to do] Show the value of the selected link ...
Saki's user avatar
  • 13
0 votes
2 answers
1k views

I'm trying to create a custom form to insert a record for Student but I have a problem, VS or there is maybe something else, cant see my custom object named Student import STUDENT_OBJECT from '@...
Frosty Nah's user avatar
0 votes
1 answer
206 views

I want to make a table like this: I got the values from the apex in js and it looks like this: @track data2 = []; @track data = []; testClick() { getExchangeRates({...
Jhony's user avatar
  • 61
0 votes
1 answer
2k views

I need help in how to identify which .Class CSS in communities I have to edit? I am able to inspect the what changes needs to be done but unable to understand that in communities how do I edit it as I ...
John jonny's user avatar
-1 votes
1 answer
1k views

Illegal Asiignment From List To Map Please Help Me On This Error
PasiMuthyala07's user avatar
0 votes
0 answers
2k views

ERRORS •This page has an error. You might just need to refresh it. Error in $A.getCallback() [Error during LWC component connect phase: [Cannot read properties of undefined (reading 'name')]] Failing ...
Brandon Radford's user avatar
0 votes
1 answer
4k views

I am trying to create a customer review form but having issues when the user is about to submit it. Whenever I try to test by clicking the submit button, I keep getting the error below, Where could I ...
Afonja's user avatar
  • 13
0 votes
1 answer
125 views

trying to reschedule the calim but when clicked on button spinner keeps on rotating and unable to reschedule see the screenshots for the error Creatfurniturecontroller.js createFurnitureServiceInfo : ...
parker_1947's user avatar
0 votes
1 answer
2k views

I want to include a custom JS and a custom html tag in salesforce lightning component. For example: I want in include a JavaScript webcomponent in LWC. So I need to include a custom js file and custom ...
thamshid cc's user avatar
1 vote
1 answer
2k views

@wire(_getContacts,{recordId:'$recordId'}) wiredContacts({error,data}){ this.dataToRefresh = data; if (data) { this.contacts = this.dataToRefresh.recordList; ...
surinder rana's user avatar
0 votes
1 answer
2k views

I am learning lwc and I came across this problem. I have the following code. html: <template if:true={showLayout}> <template if:true={showAllTabs}> <div class="tab-...
LoneWolf's user avatar
  • 141
1 vote
1 answer
1k views

Is it possible to send a track/api variable to the next cmp, while using history.back() in LWC. this.var1 = false; var compDefinition = { componentDef: "c:Component-to-...
Gon's user avatar
  • 49
0 votes
1 answer
514 views

CMP <aura:attribute name="remainingBalance" type="Decimal" /> <lightning:tile label="Update Amount "> <div class="slds-grid slds-wrap"> ...
Gilbert Calusin's user avatar
0 votes
1 answer
5k views

In order to maintain data integrity, we are trying to implement the lightning-input addresses in show-address-lookup mode. This mode renders a lookup field integrated with google places API, which ...
Nikhil Somvanshi's user avatar
1 vote
1 answer
2k views

Here is my Lightning-datatable: Tell me how to make Delete buttons (in the Action column) and how to delete the line on this button when you click on the Delete button
Jhony's user avatar
  • 61
0 votes
1 answer
1k views

I have a onblur event on included in the HTML of LWC: onblur={closeDropdown} and here is the closeDropdown in the js file: closeDropdown(event) { setTimeout( handler: () => { this.validate() this....
Dante's user avatar
  • 67
0 votes
1 answer
438 views

` navigator.mediaDevices.enumerateDevices() .then(function(devices) { devices.forEach(function(device) { console.log(device.kind + ": " + device.label + " id = &...
ULADZIMIR's user avatar
1 vote
1 answer
3k views

Havent been able to reconcile this challenge to the docs :/ Hoping someone can point out to me why when this lwc renders (successfully) and it receives an event via its empApi subscription it throws a ...
user1517566's user avatar
0 votes
1 answer
52 views

I have an object in which the office(office this is contact) contains months with values: let data = { offices : [], January : [], February : [], March : [], April : [], May : ...
Jhony's user avatar
  • 61
0 votes
2 answers
3k views

I am trying to get a data table with Account hierarchy using the Lightning tree grid lwc. I have a community page and when I open an account record, there is a parent Id field on each account. I am ...
Binu George's user avatar
0 votes
1 answer
592 views

I'm trying to implement Esri ArcGIS JS in Lightning Web Component. While using ArcGIS JS, the sample code uses require function to load modules. In order to do that I'm trying to use require.js. I ...
ugiican's user avatar
0 votes
1 answer
3k views

I have a LWC component that displays a datatable showing the related Contacts when a particular record from an Account object is selected from a combobox. A button is also displayed, which when ...
deep4code's user avatar
0 votes
1 answer
1k views

I have created LWC Modal popup which is currently displayed on Home Page when home page gets loaded. I have to display Popup when user login to salesforce and once it came on home page. If user reload ...
Pranav Chavan's user avatar
0 votes
1 answer
828 views

I have a lwc component that subscribes to the event WhatsAppMessage, and I have been trying to filter the event platform but I have not been able to get the expected result, since it does not respect ...
Arturo Castro's user avatar

1 2
3
4 5
10