Activity › Forums › Salesforce® Discussions › How to get the Label of a Formula field dynamically? Tagged: API Field, Campaign, Label Value, Salesforce Formula Field, Salesforce Visualforce Page Salesforce® Discussions How to get the Label of a Formula field dynamically? Posted by Piyush on April 30, 2016 at 6:03 PM How to get the Label of a Formula field dynamically? Gourav replied 9 years, 11 months ago 2 Members · 1 Reply API FieldCampaignLabel ValueSalesforce Formula FieldSalesforce Visualforce Page 1 Reply Gourav Member May 27, 2016 at 11:37 AM HI Piyush, If your goal is to show the label via a visualforce page so you don’t have static values per each API field, use the following example within the visualforce page to correctly display the label even if it changes on the administrative side: {!$ObjectType.Campaign.fields.Name.label} {!$ObjectType.Campaign.fields.CustomFieldAPIName__c.label} Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me