Forum Discussion
How to Access Files Uploaded to Report Server Directly?
- Anonymous8 years ago
The file is stored as a binary object in the Report Server database. The Report Server API will allow you to open the file directly within Excel but not save it back.
To open the file, you'll need to find the GUID of your file, and put it into the following API call:
http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value
Then open Excel and paste that URL into the File->Open window.
You will have to manually save and re-upload the file to store any changes.
The file is stored as a binary object in the Report Server database. The Report Server API will allow you to open the file directly within Excel but not save it back.
To open the file, you'll need to find the GUID of your file, and put it into the following API call:
http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value
Then open Excel and paste that URL into the File->Open window.
You will have to manually save and re-upload the file to store any changes.
Thanks for the reply.
It worked on Excel but I was not able to connect to the Excel PowerPivot source from Report Builder (as a SSAS source).
Data Source = "http://<your report server>/reports/api/v2.0/Resources(<your excel file's guid>)/Content/$value"
Used to be able to do that in SharePoint (Data Source = "http://<sharePoint library>/myPowerPivot.xlsx"
Would still consider this an answer to the question though. Thanks.