We have email-to-case enabled and I have created a console to manage the cases and using custom console components, I am trying to display a list of cases related to a contact.
I am trying to achieve this list in the console. I am unfortunately unable to replicate the same list from another Org to the Org I am working on. It was developed by a different vendor and has a lot of code. Is there a method to display related cases to a contact in the service console component?
I came across a small code which displays the case list based on Contact ID. I created a VF page and had this code in it and created a custom console component and used this VF page there.
Code used:
<apex:page standardController="Case">
<apex:relatedList list="Cases" subject="{!Case.ContactID}"/>
</apex:page>
I am getting this error message in the console for the code I have used and we are currently using Person Accounts. I am Admin and cannot write code. Please help.