1

Is there a way to get Standard field translations in Lightning Component? I know that you can get custom label label_name by using (in the .js controller)

$A.getReference("$Label.c.label_name"));

But is there something similar for Standard fields? For field FirstName on Account object I've tried

$A.getReference("$Label.Account.FirstName"));
$A.getReference("$Label.c.Account.FirstName"));
$A.getReference("$Label.c.Account_FirstName"));

But with no luck. Is there different namespace, or is there completely different way about this?

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.