-
How can we handle error/exception in force record edit tag in custom Lightning Component?
I Have used force:recordEdit tag for editing a record in custom component. It is working fine if there is no exception or validation error while saving the record. It also provides an event named "onSaveSuccess" after a successful transaction. But in the case of an exception or validation error, it does not provide any error message or any event. I want to display the error message in the UI. Also, I don't want to use timeout function for this.
Let me know if there is an alternate solution.
Log In to reply.
Popular Salesforce Blogs

What Are The Benefits of Implementing Salesforce and eCommerce Integration?
Technology has evolved the way we shop online. Online retailers are optimizing multiple channels to attach with their patrons. Online marketplaces, eCommerce websites, social media,…

Introduction to Salesforce Experience Cloud
We now live in a fast-moving digital era, where businesses compete for top-notch customer experience on various points of service in operation. In this industry,…

Lead Assignment to the User in a Round Robin fashion | Salesforce Tutorial
Balance your team's workload by automatically assigning new leads to each user. A round-robin assignment means that all new leads will be assigned the same…
Popular Salesforce Videos
Automate Workflows and Process Intelligence with Nintex Development Services | Salesforce
Nintex is a leading process improvement, workflow, and automation software platform. In their own words, you can use the Nintex platform to manage, automate, and…
How to Setup Salesforce Customer Community?
Step by step Salesforce tutorial for quickly setting up a Customer Community with Customer Service (Napili) Template.
How To Build a Kanban View Using LWC without APEX | Real-Time Project in LWC | Salesforce
In this project, you will learn 60% of the LWC. You gonna learn the following topics 1. How to create a lightning Page 2. How…
Popular Salesforce Infographics

5 Security Habits That Help Your Salesforce Admin Career
As Salesforce Admins, you drive results and deliver business value every day. You automate processes and make them more efficient. You can also learn more…

How Salesforce Brings Success To Full Cycle Sales Representatives?
A full cycle sales representative is the one who handles the entire deals right start from the prospecting to engage with clients and to closing…

What to expect with a Salesforce project?
It is important to note that one person can fulfill more than one role (typically in smaller projects) but these roles do need to be…