Play Games

Search This Blog

Thursday, November 2, 2017

Access/refer custom Label in Apex Class

Solution: use Label.LabelName.
If label Name is 'Blog_URL' ,then in apex you can refer it as Label.Blog_URL
String str = Label.Blog_URL;

No comments:

Post a Comment