Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 44 Topic 5 Discussion

Salesforce Certified Platform Developer II ( Plat-Dev-301 ) PDII Question # 44 Topic 5 Discussion

PDII Exam Topic 5 Question 44 Discussion:
Question #: 44
Topic #: 5

Universal Containers (UC) has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products__c, on the Account object that allows sales reps to specify which of UC's products an Account already has. A developer is tasked with writing an Apex method that retrieves Account records, including the Products__c field. What should the developer do to ensure the value of Products__c is in the current user's language?40


A.

Use toLabel(Products__c) in the fields list of the SOQL que41ry.


B.

Call the translate() method on each record in the SOQL result list.


C.

Set the locale on each record in the SOQL result list.


D.

Use the locale clause in the SOQL query.


Get Premium PDII Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.