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.
525
questions
0
votes
0
answers
6
views
How Can I append a recordId with href url in anchor tag
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, ...
0
votes
0
answers
6
views
VisualForce Page data not displayed after uploading to "Notes and Attachments"
As the below given, there is a quick action in Account page, which enters Contact details and on saving, it redirects to the Contact page where a pdf is attached in the 'Notes and Attachments' of ...
0
votes
0
answers
12
views
Generic JS Function for Async Parallel and Sequential
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 = ...
0
votes
0
answers
15
views
why is my code not changing to the next page which is the suggestion page after hitting the button it says unknown error during login
why is my code not changing to the next page which is the suggestion page after hitting the button it says unknown error during login.
import { LightningElement, track } from 'lwc';
import logIn from '...
0
votes
0
answers
24
views
Search box input is not getting focused on shift tab
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 ...
0
votes
1
answer
16
views
Implication of declaring a class with without sharing keyword and providing its access to guest user
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 ...
0
votes
0
answers
15
views
object declared in lwc getter is proxy object
I am trying to create an object in a getter for a lwc. For some reason when I declare the object, it is proxy object and does not retain any of the properties that I assign to it.
I am really ...
0
votes
0
answers
26
views
How can i show custom error message on my record form in lwc in salesforce if the lastname of the person account is blank?
I want to show a custom error message which says please enter the lastname of the person account if kept empty on the lwc component created using record form
I am expecting a way to show a custom ...
0
votes
0
answers
15
views
Selenium webpage data missing
When running a selenium test I am running into an issue wherein sometimes I can see the data element present in UI but when seeing the element on inspect in dev mode I do not see the related data ...
0
votes
0
answers
21
views
Salesforce LWC: Total Quantity Not Updating Consistently in Shopping Cart Component
Add an Item: Add an address to a specific item in the shopping cart.
Enter Quantity: Enter a quantity for that item using the provided input field.
Observe Total Quantity: Notice that the total ...
0
votes
0
answers
17
views
Flags are not displayed correctly when using Salesforce LWC on Community page(Experience Cloud)
I have got a problem with the flags whereas they are not exactly cropped correctly and other country flags are partially shown as picture below shows:
This is how I implemented the Phone input ...
0
votes
1
answer
47
views
Using Slickgrid Universal 4.7.0, checkbox column not displayed with Salesforce LWC, header displayed not for rows
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 ...
0
votes
0
answers
43
views
Email is sending sucessfully but we're not receiving it when we are sending it from salesforce
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 ...
0
votes
0
answers
16
views
How to call controller methods/utils during Aura to LWC conversion
We have a campaign Image aura component that uses this Java controller
I am trying to move this to a new LWC component and wanted to know how can I use the controller in my LWC component?
Are the ...
0
votes
0
answers
25
views
LWR Navigation from one LWC compnent to another
I have 2 LWC component applicationPage and gettingStarted and I want to use the page in LWR.
ApplicationPage is having a button which should navigate from applicationPage to GettingStarted in the same ...