You need to sign in to do that
Don't have an account?
Raquel Riemer
Error: Unknown property 'VisualforceArrayList.Contact__c'
I am ultimately trying to create a visual force page on a parent object that shows a field from a child object as well as using a lookup field to the contact on the child object to get a contact related list..
Parent object is Travel
Child Object is tour interest
lookup field to contact on child object is Contact
Related list on contact is recognition..
I have attached an image of where I am so far.. I eventually want it all in table format but I just keep getting stuck on the last piece..
I have started to create a custom controller though I have never done that before
Parent object is Travel
Child Object is tour interest
lookup field to contact on child object is Contact
Related list on contact is recognition..
I have attached an image of where I am so far.. I eventually want it all in table format but I just keep getting stuck on the last piece..
I have started to create a custom controller though I have never done that before
Try like below:
Add the below Lines instead of line 13,14.
<apex:pageBlock title="Recognitions">
<apex:repeat value="{!Travel__c.Tour_Interests__r}" var="TIs">
<apex:repeat value="{!TIs.Contact__r}" var="TIcon">
<apex:pageBlockTable value="{!TIcon.Israel_Recognitions__r}" var="CT">
</apex:pageBlockTable>
</apex:repeat>
</apex:repeat>
</apex:pageBlock>
Thanks,
Maharajan.C