+ Start a Discussion
FastSnailFastSnail 

Custom Labels within Custom Labels?

Hello everyone,

Is there is way / turnaround to build Custom Labels that refers to other Custom Labels, such as in below, which does not work:

Thanks in advance,

Jerome

 

Below is the English Translated Value of the custom Label "GlossaryMain"

 

<h1>Glossary</h1>
<p>Below are the terms used in the platform</p>
<ul>
<li>{!$Label.GlossaryPerson}</li>
<li>{!$Label.GlossaryOrganization}</li>
</ul>

Best Answer chosen by FastSnail
Ashish_SFDCAshish_SFDC

Hi Jerome, 


That is an Ideal design for a programmer. 

But i do not think that is possible with the current Salesforce features. 

If you can think of a String which contatenates from other field labels. 

Say you have field where you store Admin number - call that field using a formula or a apex trigger. 


Regards,
Ashish




 

All Answers

Ashish_SFDCAshish_SFDC
Hi, 

Need more information on this post, are you referring to Fields. 

Regards,
Ashish
FastSnailFastSnail
Hello Ashish,
Thanks for looking into this. Sorry, I was not very clear. And 2 months later, I am not sure that my question has a lot of sense.
What I meant was:
Let's say that you have a custom label called  ContactAdmin  with Translated Value = 'Contact your administrator at XXX-XXX-XXXX'.

I would like to have another label called 'LostPassword' with Translated value = 'In case you lost your password, Contact your administrator at XXX-XXX-XXXX'

But rather that this, I would like the first label to be used in the second label like Translated value of 'Lost Password' = 'In case you lost your password, {!$Label.ContactAdmin}'

So if Admin phone number changes to ZZZ-ZZZ-ZZZZ, I have to change thids only ONCE in contact admin.
There is a turnaround by simply having {!$Label.LostPassword}. {!$Label.ContactAdmin} so I guess tha tcan do.
Thanks again,
Jerome


Ashish_SFDCAshish_SFDC

Hi Jerome, 


That is an Ideal design for a programmer. 

But i do not think that is possible with the current Salesforce features. 

If you can think of a String which contatenates from other field labels. 

Say you have field where you store Admin number - call that field using a formula or a apex trigger. 


Regards,
Ashish




 

This was selected as the best answer