You need to sign in to do that
Don't have an account?
shra1_dev
how to display the customfield values in the VF page
Hi,
i am new to the salesforce, please help me to do this
how to Display the values of some fields of custom object in the visualforce page.
i hav written like this: (it is not displaying the field values)
<apex:page standardController="UserProfile__c">
Welcome {!UserProfile__c.empName__c}
your role is {!UserProfile__c.Role__c}
</apex:page>
here UserProfile__c is a custom object and ampName__c and Role__c are fields in that object.
Hello shra1_dev
To shown values you have to put id attribute(get UserProfile__c's record id) in your URL.
for more information refer
-Suresh
All Answers
Hello shra1_dev
To shown values you have to put id attribute(get UserProfile__c's record id) in your URL.
for more information refer
-Suresh
Thank u Suresh.
I got it.