+ Start a Discussion
jmortonjmorton 

How to show latest open cases on Home Page

Hello,

 

I wish to display the latest Open Cases and possibly another "widget" showing oldest open cases in the same way "My Tasks".

Is there anyway to do this, and if so is there a tutorial?

 

Any help would be appreciated.

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
mikefitzmikefitz

You'll need to create home page component with an iframe of a visualforce page that queries the most recent cases.

 

All Answers

IspitaIspita

Hi,

On Home page one can put components which refer toa VF page or is driven by VF pages in which you can show any data desired by you, in your case "Newly created Cases"

Do let me know if it worked and in case of any issues drop me a mail.

 

 

jmortonjmorton

Hi,

 

We are actually trialling out this software so I am pretty new to it. Could you please explain a bit more in detail what you mean please?

 

Thanks

James

mikefitzmikefitz

You'll need to create home page component with an iframe of a visualforce page that queries the most recent cases.

 

This was selected as the best answer
IspitaIspita

If you want I can send you a small sample code , do let me know .... Ok

jmortonjmorton

Hi yes that would be great if you can!

Either post it here or email me james[at]call-systems[dot]com

 

Thank you

jmortonjmorton

Figured it out!

Simply enabled Developer Mode, then created a VF page as suggested, then used this:

 

<apex:page showHeader="false">
<apex:ListViews type="Case" />
</apex:page>

 

Then made an HTML component with an iFrame pointing to the newly created VF page.

 

Thanks for all your help!

jmortonjmorton

New problem now!

I want the links within the list to open up in the parent window, rather than within the iFrame.

Possible?

jmortonjmorton

Solved it again :smileyhappy:

For reference, I added 

 

<basetarget="_parent"/>