During the release upgrade, you copied the contents of the Release Archive to your web server. That archive contains the files you need to install or upgrade reports.
The reports utility (Deploy-iServiceReports.ps1) is a PowerShell script that accepts parameters to complete the various configuration tasks necessary to install reports. The basic format of the command is below.
./Deploy-iServiceReports.ps1
Utility Parameters
The iService Reports PowerShell Deploy Utility takes the following parameters. Other than the Data Source properties, all parameters are required, but if a parameter is not given will fall back to the specified default values. Parameters can be passed in using the following format:
ParameterName ‘value’
The command accepts five parameters that are used for various configuration task. Parameters are entered using the format below.
./Deploy-iServiceReports.ps1 -parameterName 'parameterValue'
-ReportServerUri – Default value: http://localhost/ReportServer/
This is the location of the SSRS that you are deploying to. If you are launching the deploy utility from the same server as SSRS is installed on, the default location can be used. Otherwise, a different server location can be specified.
-ReportFolderName – Default value: iServiceCRM
This is the folder that the reports will be deployed to on your SSRS server. This folder will be created if it doesn’t already exist.
-DataSourcesFolderName – Default value: Data Sources
This is the folder that you store shared data sources in. All iService reports will reference the iService shared data source stored in this folder. This folder will be created if the -DeployDataSource parameter was specified and the folder doesn’t already exist.
-DataSourceName – Default value: iServiceCRM
This is name of the iService shared data source that all deployed reports will reference for connection details to the iService tenant database. Since a data source is required for all reports, the utility will halt deployment if it doesn’t find a previously deployed data source with the specified name in the data sources folder AND the -DeployDataSource parameter wasn’t given. A new data source with this name will be created or overwritten if the -DeployDataSource parameter was specified.
-DeployDataSource – (Optional) (No value necessary)
This parameter is a flag used to specify that you would like to either deploy a new iService data source or overwrite the existing iService data source. This is necessary for first-time deploys, or if you would like to change the connection details for an existing data source. If specified, the following parameters may optionally also be passed in. If they aren’t passed in, the utility will prompt for input for the following:
•-DataSourceServerName – (No default value)
The name of the SQL Server where your iService tenant database resides
•-DataSourceDatabaseName – (No default value)
The name of your iService tenant database
•-DataSourceUserName – (No default value)
A login on your SQL Server instance which has proper read access on the tenant database to run reports against.
•-DataSourcePassword – (No default value)
The password for the above login |