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 Salesforce Certified Platform Developer II (Plat-Dev-301) Topic 5 Question 93 Discussion

Actual exam question for Salesforce's Salesforce Certified Platform Developer II (Plat-Dev-301) exam
Question #: 93
Topic #: 5
[All Salesforce Certified Platform Developer II (Plat-Dev-301) 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:

Irma
4 days ago
This looks like a tricky one. I'll need to think carefully about the best approach to handle the user's locale settings.
upvoted 0 times
...
Elsa
6 days ago
I think this is asking about the smallest meaningful unit of activity from the developer's perspective, so I'll go with option A.
upvoted 0 times
...
Dion
7 days ago
Option C sounds familiar, I remember seeing something similar in practice questions about certificate management, but I'm a bit hesitant.
upvoted 0 times
...
Carmela
10 days ago
This question seems a bit confusing. I'm not sure I fully understand the context or what the "Fusionlnsigt HD" and "HBase service" are referring to.
upvoted 0 times
...
Valentin
15 days ago
Okay, I see what they're getting at now. The key is that the goal is "Increased Vendor Diversity Options", so the right answer has to be the one that supports that. I'm feeling more confident I can get this one right.
upvoted 0 times
...
Amber
5 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
4 months 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
4 months 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
5 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
5 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
5 months ago
Regex? Really? That's just asking for trouble. D is definitely the most effective and maintainable solution here.
upvoted 0 times
Laurena
4 months ago
A wrapper class would also work, but D seems like the most efficient choice.
upvoted 0 times
...
Charlie
4 months ago
Regex can be tricky and error-prone, D is definitely the way to go.
upvoted 0 times
...
Olen
4 months ago
I agree, using the FORMAT() function in the SOQL query is the best approach.
upvoted 0 times
...
...
Annalee
5 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
6 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
4 months ago
I think using a wrapper class might be a bit more complicated than necessary in this case.
upvoted 0 times
...
Tu
4 months ago
It's important to make sure the values are displayed correctly based on the user's locale.
upvoted 0 times
...
Leigha
5 months ago
Using the FORMAT() function in the SOQL query is the most efficient way to handle locale settings.
upvoted 0 times
...
Domitila
5 months ago
I agree, D is definitely the best option for this scenario.
upvoted 0 times
...
...
Eve
6 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
6 months ago
I agree with Stephen. Using the FORMAT() function would ensure the values respect the user's locale settings.
upvoted 0 times
...
Stephen
6 months ago
I think the most effective approach would be to use the FORMAT() function in the SOQL query.
upvoted 0 times
...

Save Cancel