+ Start a Discussion
krishnagkrishnag 

reports in sites

hi,

I have a requirement where i meed to build visualforce pages for a salesforce site where the users login and can see the reports and download and print also.

 

1.Is it possible to build a report on VF page since i dont see any examples in documentations.

 

2. THe users with salesforce license can login in into my site and view reports?

 

3.Can we expose reports to sites?

 

4. How can we display a report on VF page?

 

please help me on this issue.I am scratching my head i have never gone thru this kind if requirement,

 

cheers---

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

you can use google visualization along with visualforce:

http://wiki.developerforce.com/index.php/Google_Visualizations

All Answers

Pradeep_NavatarPradeep_Navatar

It is possible to create reports in the visualforce.  You need to create the custom logic to do this. You can not leverage standard reports functionality, you will have to write the code to achieve this. In my opinion, you should create the reports in pdf format, so that the users can download and print it.

 

for more details have a look on "Rendering a Page as a PDF" in visualforce developer's guide.

 

Hope this helps.

krishnagkrishnag

are you sure pradeep.I dont think visualforce is not capable of drawing graphs. I dont see any tags or apex code that can draw pictures.

BulentBulent

you can use google visualization along with visualforce:

http://wiki.developerforce.com/index.php/Google_Visualizations

This was selected as the best answer
krishnagkrishnag

thanks bulllent i saw the link and i was going through that google visualizations.