You need to sign in to do that
Don't have an account?
certi_vimal
Visualforce Page as a Dashboard Component
Hi,
I have visualforce page showing report data in a page block table. I want to show this page as dashboard component. Is there any way to achieve this easily? I have heard that dashboard component wont get created if you use a Standard Controller, but if you use Controller class or call/refer a page having StandardSetController Class from the concerned vf page, you may have the component available.
Could you please advise on this.
Thanks,
Vimal
Here is a page that I have developed to do this. It's used to display a custom object I created called "Quarterly Report" which is a child object of "Account" and I use it to narrow down my selection to only one Account (I assign the StandardSetController a query that matches Id, so only one record is returned, then I do a get(0) to grab that record)
The cool thing is that after this page, I pass my users to another page that does NOT have this controller, so only the landing page for the dashboard has to implement this.
hi can u post the code for the visualforce page (design) that u have implemented
Hi,
I'm not sure if you're directing that question to myself or certi_vimal...
The code for the VF page corresponding to that extension is here:
hi dwwright,
i was asking yours page.thanks for that. I have a small question on this.Is there a possibility so to diplay a dashboard on VF page .in ur page u have a given a link to the report right my requirement is to display the dasgbord on VF page.
You cannot display a dashboard in a visualforce page. You only have the options of displaying a Visualforce page in one of the slots on a dashboard (Which is what my controller/page above demonstrate)
The link in my code directs the user to a second page that displays a record. This all happens inside the little block of space where the visualforce page appears inside the dashboard.
Thanks dwwright.
I will ask my developer to look into this and utilise the knowledge that you provided here.
Thanks,
Vimal