Salesforce · Visualforce

Refer Object Field Label Name in Visualforce

Many case we many need to use object field label name in the Visualforce page. We can use “$ObjectType” system class.


Sample Code :

<apex:outputLabel value="{!$ObjectType.Account.fields.Name.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