Adminstrator · Apex · Salesforce

How to create custom label?

  1. go to setup under your name


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


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


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: Logo

You are commenting using your 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