function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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
José Ureña 1José Ureña 1
https://YOURDOMAIN.lightning.force.com/lightning/o/EmailMessage/list