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
adrisseladrissel 

View Email on apex:detail Case Page

I have a visualforce page that I am using the <apex:detail> functionality on for the Case Object.  Everything displays very nicely, including the list of any emails sent to/from the case.  One problem, the Subject lines that are supposed to be linked to the actual email itself don't work.  Here is an example of what one looks like:

Email Related List

When I click on that link it does absolutely nothing.  When I hover over the link the following is displayed in the browser:
javascript:srcUp(%27%2Fss%2F02s190000004il2%3Fisdtp%3Dvw%27);
Whatever this link is it does not point to the case email itself.

Can someone help me with this?  I need our customers to have the ability to see the content of the emails associated with the case.

Thanks!!
 
SonamSonam (Salesforce Developers) 
Not sure why the email is not opening for you, could it be browser specific? - I tried the code below and passed the case ID in the URL and am able to click on the email present in the email related list and open it using the link:

<apex:page standardController="Case">
   <apex:detail subject="{!case.id}" relatedList="true" title="false"/> 
</apex:page>