I am developing a webpage for users to view some Excel workbooks in SharePoint webpage.
The workbook is a kind of report to users and will be updated by admin every week by overwrite the excel file in SharePoint.
I know we can reload the workbook manually by clicking File->Reload Workbook. However, if we take this appoarch, every user needs to click the button on their own which is not what we want!! So I would like to do this automatically.
Is there any method to solve this? Any advice is welcome!!
This post my help you.The approach is adding a javascript code to XLViewer.aspx in order to immediately refresh the connections of the Excel Services viewer on every visit.
https://sharepoint.stackexchange.com/questions/28190/how-to-reload-worksheet-displayed-in-excel-web-access-webpart
Related
I have a spreadsheet (macro enabled ) mounted on a sharepoint for multiple user access in centralized location.
However the macro doesn't get kicked off when opening the excel online,but the workaround for this is to open in excel mode which made the macro execute.
can anyone help me with a code to find the logged in user of sharepoint as soon as the sheet is opened?
I can add that to the code in the workbook open activity.
I tried using the Environ$("Username"),but this is not showing me the value that I am expecting as this shows the username of my laptop than the user logged in on the sharepoint.
Basically no matter what the login of the machine where the sharepoint is used,i would like to get the sharepoint logged in user name which could be a different(like my scenario)?
The logged in user from sharepoint can be captured by printing the last Author of the spreadsheet.
The last author is updated with the last logged in user id no matter whether it is from sharepoint or any app.
msbox(ActiveWorkbook.BuiltinDocumentProperties("Last Author"))
I hope this solution helps everyone who is facing the similar kind of issues.
Happy learning..
I have a setup on sharepoint with an excel data file linked to another excel file containing charts and pivot tables based on this first file. Both files are saved together in a shared folder. I then have a site page which contains the pivots and charts displayed as web parts. I want to be able to refresh only the data file and then see the pivot file and subsequent sit page update without having to open and click refresh on any of the files.
Is this possible?
Not sure which version you're using.
For SharePoint 2013, check Configure Excel Services data refresh by using external data connections
For SharePoint online, you maycheck this demo, while this should require user logon in.
I've seen people displaying PowerView reports right on the browser (on SharePoint 2013 pages). So it’s more like a within-screen pop-up (like an element that launches within the page). At the moment, when I create powerView excel sheets, they are displayed as files and when I click on the files, they take me to another page on the browser where Excel Services is launched and people can see both the worksheets and the powerView report. I do not want to go to another page and I don’t want to be able to see the worksheet – just a report, launched cleanly (and still interactive).
Two possibilities:
In Excel, there are publishing options that allow you to select which items are visible when viewed via a web part in the browser. So, you can add an Excel services web part to the page, so that users will see just the items you selected.
If you have "PowerPivot for SharePoint" installed, you can publish an excel workbook that contains a data model to a "power pivot gallery" (which is a type of library). Once the workbook is in this special type of library, there will be button available that will create a new PowerView report based on the data in that model. This is a slightly different version of PowerView where the design of the reports and viewing of the reports are all done in the browser, not through Excel.
Though, Power View is being phased out, so perhaps check into Power BI?
I have an Excel 2010 workbook that contains a pivot table that connects to a cube. Authentication is per user. The workbook is hosted on Sharepoint 2013. It is important that no user should ever see cube data that they do not have access to. But users should be allowed to download the workbook to their desktop.
With the setting "Refresh data when opening the file" checked, users never see cached data via Excel Services. But when they download the workbook and open it they may have the chance to see the cached data of the last user who saved the file on Sharepoint. (say, after they open the workbook but before they click on "Enable Content"). How can this viewing of cached data in Excel be prevented?
One answer is to use filters on the document library views. This allows control over what workbooks users can see. You can set a filter to only display workbooks last modified by a system account. And create a SharePoint workflow to force the refresh of the workbook on save using a service account for refresh with limited data access. (The refresh can also be controlled manually or schedule using the Manage PowerPivot Data Refresh options). Only when the refresh is complete will the workbook be visible to users because the last modified by will meet the filter conditions.
This means that the workbooks will effectively be empty templates and the data is secured.
I use Share Point 2013 and PowerPivot Service .
I create a report in Excel and Upload my report in SharePoint Document but when I want visit this report in my SharePoint web site, I get this error :
Wow, that's a big workbook. Unfortunately,
we can't open a workbook larger than 10 MB.
You'll need to open this in Excel.
How I can change max size of Excel Report in sharepoint?
I’m not sure if you ever got the response you needed but here it is.
FYI The posted before told you how to change the upload size restriction (can I upload a 10mb doc/xls or a 1GB doc/xls) and not how to correct the workbook setting within Central Admin so that that display a workbook in a web part (browser) using Excel Services.
Log in to Central Admin as a Farm Administrator
Click “Application Management” in the left nav.
Click “Manage service applications” under Service Applications.
Click “Excel Services Application” next to “Excel Services Application Web Service Application” Note: not the item in grey under this.. You want the blue item.
Click the “Trusted File Locations” link and then select the reports library or document library your web part is calling or where the files are.
Scroll down to “Workbook Properties” and change the ‘Maximum Workbook Size” if it’s set to 10mb’s try and change it to 50 or 100mb’s and save the change.
Go back to the page with the reports web part and refresh it.
This should fix your issue with “This workbook is larger than the maximum workbook size allowed to be opened in the browser" and Excel Services in SharePoint 2010.
Here’s a link to help you out.
Thanks - Kris Wagner
TechNet - http://technet.microsoft.com/en-us/library/ff191192.aspx