You need to sign in to do that
Don't have an account?
boihue
Apex codes using of new Custom Label
Hi,
In the new version 9 of Salesforce, we can use the new features of Custom Label in the Apex Codes and Visualforce Pages. I knew how to use this new Custom Label in my Visualforce Pages but could any expert show me a sample how to use this new Custom Label in the Apex Codes.
Best regards,
Boi Hue
String test = Label.<custom label name>;
for example:
String test = Label.ok;
where ok is the name of the custom label I created.
Hi Jaime, thanks for your help!
It works fine!