What should the dev...
 
Notifications
Clear all

What should the developer use to ensure error messages are properly displayed?

1 Posts
1 Users
0 Likes
75 Views
(@pacapacmorgan)
Noble Member
Joined: 2 years ago
Posts: 738
Topic starter  

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.

Show Answer Hide Answer

Suggested Answer: D

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: