You need to sign in to do that
Don't have an account?
ifthikar ahmed
could some one explain the below code
01<apex:page standardController="Contact" Sidebar="False">
02<apex:form >
03 <apex:pageBlock >
04 <apex:pageBlockSection >
05 Contact First Name : {!Contact.FirstName}<br/>
06 Contact Last Name : {!Contact.LastName} <br/>
07
08 Contact Owner Email : {!Contact.Owner.Email}
09
10 </apex:pageBlockSection>
11 </apex:pageBlock>
12</apex:form>
13
14</apex:page>
my concern is reg line number 5 and 6 there is no field in contact with name firstname and second name respectively.. then how to trace those 2 line for better understanding
02<apex:form >
03 <apex:pageBlock >
04 <apex:pageBlockSection >
05 Contact First Name : {!Contact.FirstName}<br/>
06 Contact Last Name : {!Contact.LastName} <br/>
07
08 Contact Owner Email : {!Contact.Owner.Email}
09
10 </apex:pageBlockSection>
11 </apex:pageBlock>
12</apex:form>
13
14</apex:page>
my concern is reg line number 5 and 6 there is no field in contact with name firstname and second name respectively.. then how to trace those 2 line for better understanding
The rules for the fields of a contact name are clearly difficult to see in Lighning.
If you switch in Classic, you will see clearly "Salutation" (can be modified for the picklist), and the fields "FirstName" / "LastName" (cannot be modified) below the field "Name".
LastName is always required and that cannot be modified.
https://success.salesforce.com/ideaView?id=08730000000BrPPAA0
Even if the fields FirstName and LastName are not visible in the Setup of Lightning, you can read and modify them directly.