Sep 7, 2015

Today, i'm going to talk about a trick using "Custom Labels".

How to use dynamic values into APEX code. We can use custom label values as dynamic variables to provide custom information without open APEX code and compile it again. And APEX code to read these values processing that value as condition, message, or so. Lets explain using several examples :

3 good examples about that :

1) How to manage error messages from custom labels by Abhi Tripathi

2) How to manage custom labels into Visual Force page by SFDCPoint

3) One of the most interesting examples. How to manage trigger execution from custom label by Salesforce University  (You need to be connected to Salesforce)

I hope you can improve your projects using any of these examples.

Enjoy & have fun !!!

No comments:

Post a Comment