You need to sign in to do that
Don't have an account?
jeroen
Problem with looking up info, std. links child-master (CreatedById, LastUpdateBy, etc)
Hello,
I am having difficulties getting this to work. I just want the name of the person that created a record in my custom object Project_info__c. I have tried using a standard and a custom controller, since I am not doing much spectacular stuff I would rather stick to the standardcontroller for now.
<apex:outputtext value="{!Project_info__c.CreatedById.Lastname}"/>
Error: The class 'java.lang.String' does not have the property 'LastName'.
Other methode:
<apex:dataList value="{!Project_info__c.CreatedById}" var="r">
{!r.FirstName}
</apex:dataList>
<apex:dataList value="{!Project_info__c.CreatedById}" var="r">
{!r.FirstName}
</apex:dataList>
Same error...:smileysad:
Any ideas, Thanks
Jeroen:smileyvery-happy:
CreatedById is the Id and not the object.
Use CreatedBy.LastName
Regards,
Manickkam.