Questions tagged [lwc]

For questions about Lightning Web Components (LWC) - the UI framework for the Salesforce platform. When using this tag also include the more generic [salesforce] tag.

503 questions
0
votes
0 answers

How do I add tooltips to fullcalendar LWC component

I made a custom Salesforce lightning web component using the Fullcalendar js library. Now I'm trying to add tooltips that render when I hover over a calendar event. I'm using this demo as an…
0
votes
1 answer

Unable to fetch Id in LWC javascript

I created LWC Button and when click on button if record has ParentId the it will fetch the dtails other wise it will not fetch any details. I am unable to get Id of record in console and LWC `import { LightningElement,api, wire,track } from…
Sfdc_123
  • 1
  • 1
0
votes
0 answers

Dynamically display Topics/SubTopics in Community (experience cloud) Salesforce using LWC accordion

I have a requirement, where I need to display Topics under my experience cloud. I am getting close, currently I return empty values, can you help me what I am missing here? Check the image, this is how I want One could query this topics using…
0
votes
1 answer

retrieve all the objects related to an account in SALESFORCE and then export them to an EXCEL file

I need to retrieve all the objects related to an account in salesforce and then export them with a button to an excel file with multiple sheets. Is there a way to do this in apex or lwc or whatever? I've already tried several techniques but the file…
UserSB
  • 1
0
votes
1 answer

Create dynamic text html for lightning combobox

I am using below code for lightning-combobox in lwc HTML file
unflagged.destination
  • 1,576
  • 3
  • 19
  • 38
0
votes
0 answers

Problem with sizing lightning-input with type date LWC Salesforce Mobile

mobile When I try to change size the field using styles etc. visually everything is fine, but only the first part of the field is active. This problem occurs only on the mobile version and with the type="date", any other options work…
0
votes
0 answers

Boxcarring (Multiple apex calls in single XHR) is not applicable for LWC?

I found a priority queue where it tries to make 2 low prioity apex calls in a single queue execution, However, when I refreshed the page in the network tab I see them as 2 seperate XHR requests instead of one boxcarred request, What is…
heeat
  • 128
  • 2
  • 9
0
votes
0 answers

Get the Case Number when we clicked the Knowledge Article in Case Knowledge Article Related list search box

I have a requirement from client that is In Case, Knowledge Article Search Section is there, In Standard Search of Articles if I open particular knowledge Article I need to get the Case Number from which Case user has searched. How to do that? I…
0
votes
0 answers

Need to create three dependent picklist of role hierarchy using lwc for each level of roles

I am a newbie in LWC so I have to implement the dependent picklist on my custom object and this dependent picklist should be on UserRole along with the upto level 3, like : 3 levels of user role picklist fields to implement: - Level 1: CEO, VP, CTO,…
Akancha
  • 1
  • 1
0
votes
0 answers

The Lightning Component c:LWC_PizzaTracker generated invalid output for field status. Error How to solve this

import { LightningElement, api, track } from 'lwc'; var trackerArray = [ { status: "Starting Point", active: 'inactive'}, { status: "Global Filter Selection", active: 'inactive'}, { status: "Scenario Filter Selection", active:…
satheesh
  • 3
  • 2
0
votes
0 answers

How to make Aura dropdown list look like LWC dropdown list?

The project I'm working on uses both Aura and LWC frameworks. The dropdown list of the two frameworks is quite different. i.e. when hovering on an option, aura highlights the option as grey and LWC highlights it as light blue. Is there a…
0
votes
0 answers

How can I authenticate requests to an external application through my LWC component in Salesforce?

I have created a LWC component in Salesforce and want to publish this as an app to AppExchange, this component passes the salesforce object data to my external application to process the data, for this I have exposed an endpoint to my application…
R_M_R
  • 31
  • 6
0
votes
1 answer

LWC Date Field onchange should show old value if validation fails

LWC component Date Field should not change if validation fails onchange event. I have an LWC component lightning-record-edit-form with startDate and EndDate input fields. Start date is always currentdate(read-only) and enddate an editable field with…
0
votes
0 answers

How can we give access of "Domain" sObject to any salesforce User's profile?

I have implemented a LWC component which has a button. On Click of this button backend callout is done which is responsible for Microsoft One drive Integration. But I am facing an error for some custom profile see the screenshot- Error Snapshot -…
0
votes
2 answers

LWC modal is not closing

I created a LWC which works ok. I created this LWC so that I can use it as a Quick Action. Because LWC can not be used in quick actions for Work Order object, I had to put the LWC in a aura component and then put the aura in the quick action button.…