What is the most ef...
 
Notifications
Clear all

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

1 Posts
1 Users
0 Likes
58 Views
Chas
 Chas
(@heddinschas)
Noble Member
Joined: 6 months ago
Posts: 377
Topic starter  

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 access 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?

  • A . Use the FOR VIEW clause in the SOQL Query.
  • B . Use REGEX expressions to format the values retrieved via SOQ
  • D . Use the FORMAT() function in the SOQL query.
  • E . Use a wrapper class to format the values retrieved via SOQ

Show Answer Hide Answer

Suggested Answer: C

   
Quote
Share: