function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kumaravel MathivananKumaravel Mathivanan 

In related list shows null value if contact object first name is blank

I have one custom object named as XYZ which is lookup relationship to Contact object.
When i am seeing contact record page XYZ related list block it is shows null value present if contact first name is blank.

i.e : 
XYZ 
Action                      Name               CreatedDate                   LastModifiedDate                Status
Edit | Delete            null Kumar         9/19/2017                       9/19/2017                           Active
Edit | Delete            Ajith Kumar        9/19/2017                       9/19/2017                           Active



Can anyone known this ?
 
Prakash NawalePrakash Nawale
Hi Kumaravel, 

Can you use <apex:outPutField value="{!object.FieldName}"/> this will resovle your issue. or You can add if statement in expression {!object.firstname=null,'',object.firstname}.
 
Kumaravel MathivananKumaravel Mathivanan
@Prakash - I got this issue from Standard functionality related list.
 
Prakash NawalePrakash Nawale
@Kumaravel,

Can you send me screenshoot of code and page.