Solved

Export all webparts to excel

Posted on 2013-11-17
3
473 Views
Last Modified: 2013-12-10
Hi,

Please let Me know if there is way of exporting all the webparts into a excel a single click.
Has anyone implement this please share with me the method?
My users required to export all the reports and graph are in the sharepoint to excel at once.

Webparts are calling SSRS reports

Thanks in advance
0
Comment
Question by:keplan
3 Comments
 
LVL 1

Expert Comment

by:FriedTyGuy
ID: 39663826
Not sure I completely understand the question but based on assumption; you have an SSRS report you want the end user to be able to run and export directly to excel with out having to use the report viewer??

Is the report parameterized?  Whether it is or not make a little difference but in a nut shell, get the link to the report and add "&rs:Format=Excel" (or "&rs:Format=XLS" or depending on your SSRS version) to the end of the link.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39665593
I was hoping that one of the SharePoint experts would jump in here, but alas so I'll go for it myself...  I don't think that this is possible.  The web part which you're referring to is probably the "SQL Server Reporting Services Report Viewer" web part?  So basically each web part has got its own report viewer and the Export to Excel functionality is provided by that report viewer.  What you're asking would require SharePoint functionality that provides a "export web parts to Excel" function or something similar.  Out-of-the-box I don't think this exists, perhaps it's possible through some custom code though even that wouldn't be very straightforward I think.

The best workaround I can think of is that you build a new report that contains all reports as currently used by those web parts in Subreport controls.  Then add a link to one of the web parts that reads "Export to Excel" and use report server URL parameters to have the report exported to Excel.  The URL would be something like this:

http://myspsite/subsite/_vti_bin/reportserver?http://myspsite/subsite/YourNewReport.rdl&RS:Format=EXCEL

Ref. Pass a Report Parameter Within a URL
0
 

Author Closing Comment

by:keplan
ID: 39710589
ex...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Object Oriented Programming, C#, referencing, scoping. 13 69
Release Dynamically Allocated Memory in C# 3 38
Forcing check-in on SharePoint 2010 4 28
VS 2017 18 32
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question