Notifications
Clear all
Topic starter
05/11/2022 7:56 pm
Users report that a button on a custom Lightning Web Component is not working. However, there are no other details provided .
What should the developer use to ensure error messages are properly displayed?
- A . Add the <apex:messages/> tag to the component.
- B . Use the Database method with allOrNone set to false.
- C . Add a Try/Catch block surrounding the DML statement.
- D . Add JavaScript and HTML to display an error message.
Suggested Answer: D