1

I've been re-doing the homepage for my organization, and one of my requirements is that the standard components of the homepage are displayed on the visualforce page used. My problem is that there's no way to directly show a standard homepage component on another page. Has anyone found a solution to this that does not involve rebuilding the component yourself, or an external app?

3
  • 1
    salesforce.stackexchange.com/questions/29589/…
    – sfdc
    Commented Oct 29, 2014 at 17:29
  • From my experience, i dont think you can do that.. I dont have any offical documentation to support it. I really would like to be wrong though :)
    – Prady
    Commented Oct 29, 2014 at 17:34
  • I looked into using the <analytics> tag, but the problem with that is I lose formatting of the dashboard entirely. As far as I know, there's no way to get the locations of the charts on the dashboard, which makes this tag much more useful for a single chart then a dashboard. Commented Oct 29, 2014 at 18:04

1 Answer 1

1

I agree to @Prady and @DashboardReport that it's most likely not possibly to do this with an official method.

However a workaround could be to use PageRef.getContent() on your original homepage url and parse the html for the components you want and inject them back into your Visualforce page. This is a very hacky and ugly approach an could lead to odd side effects - but possibly your last resort to do it at all.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .