You need to sign in to do that
Don't have an account?
Error: Unknown property 'VisualforceArrayList.name'
Hi all,
I have facing this error for the long time.
Scenario:
Employee_Detail__c is the obj. which is having lookup field which related to User field name is User__c.
To print the user name i am using following code. But I can't save the code its saying "Error: Unknown property 'VisualforceArrayList.name'"
<apex:page standardController="Employee_Detail__c">
{!Employee_Detail__c.User__r.name}
</apex:page>
Guidance much apperciable..
Thanks.
I have facing this error for the long time.
Scenario:
Employee_Detail__c is the obj. which is having lookup field which related to User field name is User__c.
To print the user name i am using following code. But I can't save the code its saying "Error: Unknown property 'VisualforceArrayList.name'"
<apex:page standardController="Employee_Detail__c">
{!Employee_Detail__c.User__r.name}
</apex:page>
Guidance much apperciable..
Thanks.
Can u share ur total code it is an error which will rise when u initalise a list inproperly..
Thanks,
pradeep.
The above code you have provided works fine.
Please send the full code it will be helpful to resolve the problem.
Thanks,
RAmesh
@Pradeep this much is my total code.
@Kiran: {!Employee_Detail__c.User__r.name}
@Ramesh: for me also worked fine in personal org.
and FYI we are having two FULL copy sandbox both having same data in one org its working fine. But in another code is not saving
Thanks.