-
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
How to Use Map In Lightning Component?
For using the map in the lightning component, we need to define the attribute of the type map to hold key-value pairs. In this blog,…
How to Communicate Between Two Salesforce Lightning Component Using Attributes?
How to communicate between two Salesforce Lightning Components using attributes? Communication between the two Salesforce Lightning Components simply means the transfer of data from the…
Salesforce Field Service Lightning Mobile Extension Toolkit (Beta)
For any field service organization to be successful, it is important to give ample attention to the management. Managing the field forces and service technicians…
Popular Salesforce Videos
Creating Datasets - Tableau CRM | Salesforce Tutorial
Recipes provide an easy way to update, combine and transform your sources into the datasets you'll use to drive your dashboards. You'll see how to…
Drive Adoption with In-App Guidance and our Prebuilt Salesforce Package!
With In-App Guidance generally available in the Winter ‘20 release, there’s no better time to start taking advantage of the easiest way to add informative…
Why Are Some of The World’s Biggest Brands Transitioning Towards Headless? | Salesforce
With the advancement of headless architecture, consumers can now enjoy an omnichannel shopping experience. But that's not all that headless commerce has to offer. Leading…
Popular Salesforce Infographics
9 Ways Salesforce Brings Companies and Customers Together
As the world’s #1 CRM, Salesforce brings companies and customers together. This is possible through Salesforce Customer 360. It’s an integrated, AI-powered customer relationship management…
How Salesforce Admins Manage their Data?
No matter how long you’ve been working within Salesforce, it’s important to regularly evaluate the data management systems you have in place and review the…
How Your Business Can Leverage The Power of Salesforce Community Cloud?
Community Cloud is a cloud-based platform that enables businesses (small, medium, big) to build exceptional and interactive CRM-powered portals, forums, and sites that are faster…