+ Start a Discussion
Cristian Javier MarrapodiCristian Javier Marrapodi 

Email tab creation

Hello, our organization has many E2C (email to case), so i'm trying to create a email tab to see all the emails.
I created an apex page with this code:

<apex:page >
   <apex:enhancedList type="EmailMessage" height="600" />
</apex:page>

After that, I created a Visual Force tab. But, the solution didn't work.
Can you help us?
Regards.
AshlekhAshlekh
Hi,

You cann't use EmailMessage with enhancedlist.

You can write a class which query on the on EmailMessage object and on page you can show bind the class as a  controller and show the list of records.

-Thanks
Ashlekh gera