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 questions1) 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.
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.
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.”
Keep practicing
Take the free Plat-Arch-201 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other Plat-Arch-201 practice questions
- Question 1Universal Containers (UC) wants to capture information on how data entities are stored wi…
- Question 2Cloud Kicks needs to purge detailed transactional records from Salesforce. The data shoul…
- Question 3Universal Containers (UC) has multi -level account hierarchies that represent departments…
- Question 4Universal Containers has two systems. Salesforce and an on -premise ERP system. An archit…
- Question 5DreamHouse Realty has a Salesforce org that is used to manage Contacts. What are two thin…
- Question 6What is an advantage of using Custom metadata type over Custom setting?
