-
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
Top Salesforce Trends To Watch Out In 2024
The cloud is a powerful tool that can help businesses grow exponentially. Top Salesforce CRM Trends in 2024 Let’s dig deeper into the current trends…
How To Implement JQuery AutoComplete
JQuery Autocomplete enhances the UI functionality of visualforce page, when a user types in a field it quickly find and select from a pre-populated list…
How to Create Custom Layout for Community Pages Using Salesforce Lightning Component?
Hey! May be you are using standard layout for community pages in salesforce but in this blog, we will learn how to create custom layout…
Popular Salesforce Videos
Custom Types in Lightning-datatable | Interchange | Salesforce Tutorial
First episode of our new Interchange series, in which we will deep dive in how to define custom types for a lightning-datatable component. Concretely, we’ll…
Build Better with Salesforce Architects
A Salesforce Architect is a trusted advisor and leader who partners with business stakeholders and executives to design a vision and architecture for a solution…
Salesforce Marketing Cloud Connect
We explore the key benefits of Marketing Cloud Connect as the start of a four-part series surveying the power, flexibility, and personalization that can be…
Popular Salesforce Infographics
Customer Service: The Forgotten Marketing Channel
The key to good customer service is building good relationships with your customers. Thanking the customer and promoting a positive, helpful and friendly environment will…
Benefits of Using WhatsApp For Better Customer Engagement
WhatsApp makes businesses more interactive and reliable. Customers can directly connect with a company, clear their doubts, and leverage a connected experience. 5 million business…
Top 5 Affordable Salesforce Integration Apps for SMBs
Salesforce is a CRM platform that allows small businesses to manage all of their sales, marketing and customer service communications in one place. Launched back…