You need to sign in to do that
Don't have an account?
Winder Ojeda
How to add CaseComments, Attachments, Team Members and Histories as a list related to the RelatedList tag in a visualforce page for Case
As the question posed I would like to know how to add all these related lists on the case visualforce page. I have added others and they work perfect, but specifically with these (CaseComments, Attachments, Team Members and Histories ) gives the following error
'CaseComment' is not a valid child relationship name for entity Case
'Attachments' is not a valid child relationship name for entity Case
'TeamMembers' is not a valid child relationship name for entity Case
'Histories' is not a valid child relationship name for entity Case
'CaseComment' is not a valid child relationship name for entity Case
'Attachments' is not a valid child relationship name for entity Case
'TeamMembers' is not a valid child relationship name for entity Case
'Histories' is not a valid child relationship name for entity Case
for attachments and history here are the API names
https://salesforce.stackexchange.com/questions/32626/casecomment-and-casehistory-relatedlist-in-visualforce-page
http://www.iterativelogic.com/create-your-own-history-related-list-in-visualforce/
http://kandhakatla.blogspot.in/2012/01/case-history-related-list.html
https://salesforce.stackexchange.com/questions/32626/casecomment-and-casehistory-relatedlist-in-visualforce-page/32631#32631
https://success.salesforce.com/ideaView?id=08730000000Br5U
With the list of <apex:relatedList list="CombinedAttachments" /> worked, but with <apex:relatedList list="Histories" /> no. Give the following error
Yes, this is active