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
Megan Moody 10Megan Moody 10 

Case on home page of Community - how to launch in different tab?

I want to display the cases related list on the Home Page for my Community users. I can easily do this via a Visualforce page. The problem is that when the user clicks a case number to open the case, it opens the whole Salesforce instance in the home page frame (see screen shots for better understanding). I need it to either open only the case in that frame OR to launch a new tab with the case. Any ideas how I can acheived this? 

My Visualforce code:
 
<apex:page showHeader="false">
<apex:listViews type="Case"/> 
</apex:page>

Here's what it currently does when I click on the case number. 

User-added image

User-added image
 
Andy BoettcherAndy Boettcher
Layering Visualforce like that on the Home tab creates an iFrame that you can't really bust out of.  Have you tried adding the "Cases" tab to the Community and just setting that as the landing tab?
Megan Moody 10Megan Moody 10
@Andy - that's a good suggestion, but it doesn't work for our business needs. I've just decided to display the cases related list with a note in the Visualforce page telling the users to right-click on the case number to open in a new tab.