function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Edward GeeEdward Gee 

Question about $Profile.Name merge field returning non-translated/system value

Originally posted in AJAX Toolkit & S-controls.

=============================================================

Does anyone know if the merge field $Profile.Name will eventually behave the same way as retrieving the Name field from the Profile object via SOQL?  Currently, the merge field value returns the "system" value (assuming it's the id linking it to the translated text of the name in another table) like PT1.  However, if I run a SOQL retrieving the Name from the Profile object, it returns the translated text in the user's language (e.g., System Administrator).

- Ed