Adminstrator · Apex · Salesforce

How to create custom label?

  1. go to setup under your name

screen-shot-2016-09-11-at-12-00-09-pm

2. Left side menu –> go to Build –> Create –> Click “Custom Label”

screen-shot-2016-09-11-at-12-00-26-pm

3. Click “New Custom Label” button and populate required values and click Save

screen-shot-2016-09-11-at-12-00-36-pm

Screen Shot 2016-09-11 at 12.05.51 PM.png

 

Sample Code :

Apex Controller : System.Label.TestURl

VF Page : {!$Label.TestURl}

One thought on “How to create custom label?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s