You need to sign in to do that
Don't have an account?
Glenn Daly
Display label name differently to api name using VF on page layout
I want to display the a field label differently on a Product record. I have written the VF below. However, when I go to a Product record, it still displays as "Product Name" and not "Project Name". What am I doing wrong?
<apex:page standardController="Product2">
<apex:form>
<apex:pageBlockSection columns="2">
<apex:inputField Value="{!Product2.Name}" label="Project Name" />
</apex:pageBlockSection>
</apex:form>
</apex:page>
<apex:page standardController="Product2">
<apex:form>
<apex:pageBlockSection columns="2">
<apex:inputField Value="{!Product2.Name}" label="Project Name" />
</apex:pageBlockSection>
</apex:form>
</apex:page>
All Answers
Probably you can get rid of visualforce page by following below steps.
As a system admin, go to Setup -> Customize -> Tab Names & Labels -> Rename Tabs and Labels, click Edit next to product, click Next and then you should get an option to rename the Product Name field.
Hope that solves your problem.