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;
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