You need to sign in to do that
Don't have an account?

Run Report from Visual Force
Hi All,
I have a requirement that i have to run a report from a visual force page.
I am presently hard coding the report id in the URL.
Can anyone suggest me how to avoid the hard coding and query for the report id.
Regards,
Anil
For hiding the sidebar and header, add "?isdtp=mn" to your url.
I think, now your report should come without the whole window;)
Cool_D
All Answers
looking for solution to similar issue . can anyone suggest a good solution please ?
thanks
I have a similar requirement
I can give report source in Iframe src attribute but that brings up the whole browser window in that frame. I only want the report output to get displayed.
any directions are is appreciated.
Poojan.
Hi,
How are you displaying the report in a visualforce page?
Can you please give me some pointers on that? It will be a great help.
Thanks in advance
Garima
For hiding the sidebar and header, add "?isdtp=mn" to your url.
I think, now your report should come without the whole window;)
Cool_D
@Anil,
You cannot query the Reports as of now in Apex as it is not a queryable object:(
As a workaround, you can create a custom object, where you can create fields as per the business logic you want to use to get the report ID dynamically. Store the requisite Report Id as well as one of the fields, so that you can now get it through a query on this custom object.
Will this work for you?
Cool_D
Hi,
Please provide some sample code how you are displaying the reports in visualforce page.
Thanks
Sreenath