You need to sign in to do that
Don't have an account?
Nkosilathi Ncube
"not a valid child relationship name for entity Contact"
"not a valid child relationship name for entity",
I have a custom object "Placement" which appears on the Contact Object as a related list, I keep geep getting the above error, I have gone into "Placement" and on the relationship and get the relationship name as "Placement1", I have tried to use the __r and even Placement1s__r, I still get "not a valid child relationship name for entity", Please Help
I have a custom object "Placement" which appears on the Contact Object as a related list, I keep geep getting the above error, I have gone into "Placement" and on the relationship and get the relationship name as "Placement1", I have tried to use the __r and even Placement1s__r, I still get "not a valid child relationship name for entity", Please Help
<apex:relatedList subject ={!Contact} list = "Placement1s__r />
All Answers
please try below
If you are using custom controller
controller
For Testing
https:// //apex/PageName/?id=a0NS000000065Ec
Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
Thanks and Regards
Sandhya
Sorry if you have already checked below points, but still I suggest you to recheck.
Go to Setup > Create > your custom object, Application. Click on the custom field, the lookup that makes the link to contact. There you will find the real Child Relationship name, should be a plural form without the "__c".
I recommend copy/pasting the relationship name, to make sure you've got it exactly right.
Are you certain your relationship is correctly defined?
If you go to a layout for the parent object, is there an option to add the related list for the child object there? (This will verify you have the relationship correct.)
Are you certain you have the correct name for the relationship?
Please let me know if this helps you!
Thanks and Regards
Sandhya
I have even used the schema builder to get Child Relationship name