Difference between revisions of "Publishing PowerPivot Reports"
(branched scheduling for file-based and sql repositories) |
(→Requirements) |
||
Line 6: | Line 6: | ||
* XLCubed Web Edition v7.5 Enterprise Edition with the scheduling feature set up | * XLCubed Web Edition v7.5 Enterprise Edition with the scheduling feature set up | ||
* Microsoft Analysis Services 2012 in Tabular mode | * Microsoft Analysis Services 2012 in Tabular mode | ||
+ | * Running XLCubedWeb with a folder-based repository | ||
==Overview== | ==Overview== |
Revision as of 07:55, 11 November 2016
From XLCubed v7.5 users can take XLCubed workbooks which connect to PowerPivot data, and publish these to XLCubed Web Edition. This enables sharing of the reports or dashboards with non-PowerPivot users through XLCubed Web Edition and also provides increased scalability and security options.
The publication process moves the data model directly onto the specified Tabular Analysis Services instance, and dynamically changes the data connection on the published report. The publication process does not require SharePoint or Excel services.
Contents
[hide]Requirements
- XLCubed Web Edition v7.5 Enterprise Edition with the scheduling feature set up
- Microsoft Analysis Services 2012 in Tabular mode
- Running XLCubedWeb with a folder-based repository
Overview
XLCubed can monitor one or more directories on the Web Edition server, usually in the Web repository. When an appropriate set of files is created or updated in that directory, the PowerPivot connections are published to Analysis Services:
- The connection file is uploaded to a common network share
- The information is copied to an Analysis Services database
- The XLCubed report is modified to point to the newly created database
Configuration
A new configuration file must be created in the XLCubed Web Edition repository:
\Repository\__xlcubed__\__scheduling__\monitor.xml
This configuration file is an XML file containing one or more powerPivot elements, enclosed in a single monitor element:
<monitor> <powerPivot folder="C:\inetpub\wwwroot\XLCubedWeb\Repository\PowerPivot Reports" includeSubfolders="true" server="as2012server" uploadShare="\\as2012server\powerPivotFiles\" serverLocalPath="C:\powerPivotFiles" allowOverwrite="true" /> </monitor>
Each powerPivot element defines a repository folder to watch, and information about what to do with new files:
- folder
- The folder to watch.
- includeSubfolders
- Whether to also watch subfolders of the main folder.
- server
- The Analysis Services 2012 Vertipaq server on which to create the database.
- uploadShare
- A shared directory on the Analysis Services server, which can be used for temporarily holding the connection information. The user running the scheduler service must have write access to this folder.
- serverLocalPath
- The same directory as uploadShare, but from the point of view of the server.
- allowOverwrite
- Defines whether any existing database should be overwritten. Can be set to true or false.
- roleMembers
- A semicolon delimited set of usernames and groups to give access to the new database.
- notificationEmail
- An email address to send the notification to when a new database is uploaded. Optional; uses the first available SMTP server.
If the server is on the same machine as XLCubed Web Edition, then uploadShare and serverLocalPath can both be left blank, and the scheduler will just use the workbook where it is.
Note that the scheduler user must have permissions on the Analysis Services server to restore a database. Any messages, success or failure, will be written to the standard error log (See this article for file-based repositories, and this article for the SQL repository).