ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 211 - Certified Platform Developer II discussion

Report
Export

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.
Answers
A.
Add the <apex:messages/> tag to the component.
B.
Use the Database method with allOrNone set to false.
Answers
B.
Use the Database method with allOrNone set to false.
C.
Add a Try/Catch block surrounding the DML statement.
Answers
C.
Add a Try/Catch block surrounding the DML statement.
D.
Add JavaScript and HTML to display an error message.
Answers
D.
Add JavaScript and HTML to display an error message.
Suggested answer: D
asked 23/09/2024
Victor Avila
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first