Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - 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
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
Corazon
12 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
20 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
26 days 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
1 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
1 months ago
Regex? Really? That's just asking for trouble. D is definitely the most effective and maintainable solution here.
upvoted 0 times
Laurena
2 days ago
A wrapper class would also work, but D seems like the most efficient choice.
upvoted 0 times
...
Charlie
5 days ago
Regex can be tricky and error-prone, D is definitely the way to go.
upvoted 0 times
...
Olen
7 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
Tu
22 days ago
It's important to make sure the values are displayed correctly based on the user's locale.
upvoted 0 times
...
Leigha
26 days 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