Category Archives : LWC Essentials

Can’t Access Experience Cloud Workspace/Login?

On October 3, 2025, Posted by , In LWC Essentials, With Comments Off on Can’t Access Experience Cloud Workspace/Login?

Question: I am trying to access both the Experience Cloud workspace and log in to my community, but I only see a blank screen like in the screenshot. The only way I can view the builder or log in to the community is if I disable the mandatory login setting,…

Submit recordEditForm from another’s success?

On September 17, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on Submit recordEditForm from another’s success?

Question: I have two <lightning:recordForm> components in my Aura component. When the first form submits and succeeds, I want to automatically submit the second form to make it appear as a single transaction to the user. I am using the onsuccess handler of the first form to call: However, the…

Why Isn’t refreshApex Working in My LWC?

On August 25, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on Why Isn’t refreshApex Working in My LWC?

Question I created a Kanban board following a tutorial. Everything works except one issue: when a user drags and drops a card, it should refresh the Apex method to display the card in the correct column. However, the card stays in the same column even though a success notification appears….

Passing Parameters to a Lightning Component Quick Action?

On August 19, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on Passing Parameters to a Lightning Component Quick Action?

Question: I have a Lightning component that is used as a quick action on multiple objects, such as Account and Contact. When the component is invoked, I can retrieve the recordId using: However, I also need to pass a custom parameter when invoking the quick action and retrieve it inside…

LWC Custom Path: How to Conditionally Exclude Stages?

On August 9, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on LWC Custom Path: How to Conditionally Exclude Stages?

Question I have a custom LWC component that builds a Path to display the full picklist value name instead of just a tick when a stage is completed. The original implementation works correctly, but I now have a requirement to exclude certain stages based on a condition. Here is the…

How to navigate in Lightning Out with Visualforce?

On July 25, 2025, Posted by , In LWC Essentials, With Comments Off on How to navigate in Lightning Out with Visualforce?

Question I am using Lightning Components within a Visualforce page to override a standard button, which is currently the only way to do so. The problem is that I need to redirect the user to a new record page after a specific action. However, the typical navigation methods such as…

How to Use Field Sets in Lightning?

On July 21, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on How to Use Field Sets in Lightning?

Question: I have been trying to create a Salesforce Lightning input form based on fields from a field set. Since an Aura-enabled Apex method cannot return an entire field set directly, I attempted to convert it into a JSON string and pass it to the Lightning component. While this approach…

How to Navigate from LWC to Visualforce Page with Parameters?

On July 17, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on How to Navigate from LWC to Visualforce Page with Parameters?

Question How can I navigate from an LWC component to a Visualforce page with parameters, while ensuring compatibility with Salesforce Communities? The LWC framework offers the NavigationMixin.Navigate functionality, which allows for obtaining URLs and performing navigation to generated URLs. This supports various page types, as detailed in the documentation. However,…

LWC Datatable Filtering with Infinite Scrolling?

On July 17, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on LWC Datatable Filtering with Infinite Scrolling?

Question: I’m struggling to filter my Lightning Web Component (LWC) datatable while using infinite scrolling. When applying a filter, the component seems to duplicate rows and also fails to trigger the onloadmore event for infinite scrolling. I have a custom datatable that loads an initial set of five records from…

Why am I getting the Uncaught TypeError in LWC?

On July 15, 2025, Posted by , In LWC Essentials,Salesforce Technical Questions, With Comments Off on Why am I getting the Uncaught TypeError in LWC?

Question: I am working with a Lightning Web Component (LWC) and trying to update a field on a Contact record, but I am encountering the following exception: Uncaught TypeError: ‘set’ on proxy: trap returned falsish for property ‘Name’ Here’s the code I’m working with: HTML Code: JavaScript Code: Apex Code:…