exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 72 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 72
Topic #: 1
[All Certified Platform Developer II Questions]

What Visualforce tag can be used to display custom messages in pages using the Salesforce UI styling for errors, warnings, and other types of messages?

  • A. <apex:customMessage>
  • B. <apex:error>
  • C. <apex:message>
  • D. <apex:pageMessage>
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AppleDash
2 months, 3 weeks ago
Here its explained too. https://www.sfdcpoint.com/salesforce/apexpagemessage-and-apexpagemessages-salesforce/
upvoted 1 times
...
drwebber
1 year, 8 months ago
Selected Answer: D
apex:pageMessages displays messages with formatting apex:messages displays without formatting https://salesforce.stackexchange.com/questions/247940/what-is-the-difference-between-apexmessages-and-apexpagemessages-in-visualforc
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago