Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Platform Developer II Topic 5 Question 93 Discussion

Actual exam question for Salesforce's Platform Developer II exam
Question #: 93
Topic #: 5
[All Platform Developer II Questions]

In an organization that has multi-currency enabled, a developer Is tasked with building a Lighting component that displays the top ten Opportunities most recently accessed by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale.

What is the most effective approach to ensure values displayed respect the user's locale settings?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Amber
2 months ago
D? More like 'Duh, that's the obvious choice!' Salesforce makes it easy to respect the user's locale. Why complicate things?
upvoted 0 times
Corazon
18 days ago
I agree, keeping it simple with the FORMAT() function is the best approach. It's important to make sure the user's locale settings are respected.
upvoted 0 times
...
Pok
26 days ago
Exactly! Using the FORMAT() function in the SOQL query is the way to go. It simplifies the process and ensures the values are displayed correctly.
upvoted 0 times
...
Rodrigo
1 months ago
D? More like 'Duh, that's the obvious choice!' Salesforce makes it easy to respect the user's locale. Why complicate things?
upvoted 0 times
...
...
Kimi
2 months ago
D all the way! Personally, I'd rather not have to worry about locale formatting. Salesforce should handle that for me.
upvoted 0 times
...
Lashawnda
2 months ago
Regex? Really? That's just asking for trouble. D is definitely the most effective and maintainable solution here.
upvoted 0 times
Laurena
8 days ago
A wrapper class would also work, but D seems like the most efficient choice.
upvoted 0 times
...
Charlie
11 days ago
Regex can be tricky and error-prone, D is definitely the way to go.
upvoted 0 times
...
Olen
13 days ago
I agree, using the FORMAT() function in the SOQL query is the best approach.
upvoted 0 times
...
...
Annalee
2 months ago
I'm torn between B and D, but I think D is the cleanest approach. No need to mess with custom formatting when Salesforce can do it for you.
upvoted 0 times
...
Sabina
2 months ago
D is the way to go! The FORMAT() function in SOQL will automatically format the values according to the user's locale. Easy peasy!
upvoted 0 times
Tesha
2 days ago
I think using a wrapper class might be a bit more complicated than necessary in this case.
upvoted 0 times
...
Tu
28 days ago
It's important to make sure the values are displayed correctly based on the user's locale.
upvoted 0 times
...
Leigha
1 months ago
Using the FORMAT() function in the SOQL query is the most efficient way to handle locale settings.
upvoted 0 times
...
Domitila
1 months ago
I agree, D is definitely the best option for this scenario.
upvoted 0 times
...
...
Eve
2 months ago
I'm not sure about that. I think using a wrapper class to format the values retrieved via SOQL might be a better approach.
upvoted 0 times
...
Daron
2 months ago
I agree with Stephen. Using the FORMAT() function would ensure the values respect the user's locale settings.
upvoted 0 times
...
Stephen
2 months ago
I think the most effective approach would be to use the FORMAT() function in the SOQL query.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77