Plat-Arch-201 practice question 7 of 10

An architect has been asked to provide error messages when a future date is detected in a custom Birthdate _c field on the Contact object. The client wants the ability to translate the error messages. What are two approaches the architect should use to achieve this solution? Choose 2 answers

Full set: 257 questions
Answer options
A: Implement a third -party validation process with translate functionality.
B: Create a trigger on Contact and add an error to the record with a custom label. Correct answer
C: Create a workflow field update to set the standard ErrorMessage field.
D: Create a validation rule and translate the error message with translation workbench. Correct answer
Correct Answer:
B. Create a trigger on Contact and add an error to the record with a custom label.; D. Create a validation rule and translate the error message with translation workbench.
Explanation

1) Validation rules can display error text that is automatically translated through Translation Workbench. 2) An Apex trigger can call addError() with a Custom Label; Translation Workbench supplies label translations so users see the message in their language.

Why Incorrect

A. Third-party tools add complexity and aren’t required; platform solutions exist.
C. Workflow field updates can’t surface UI error messages; ErrorMessage isn’t a writable field.

References

1. Salesforce Help, “Translate Validation Rule Error Messages with Translation Workbench” (Customization, Summer ’24).

2. Apex Developer Guide v58, “SObject.addError(message)” → recommends using Custom Labels for translations.

3. Salesforce Help, “Custom Labels Overview” → “Translations provided through Translation Workbench.”

Scroll to Top