Progress® Telerik® Reporting R3 2017

restReportService Element

The restReportService element specifies the configuration settings for the REST report service.

Attributes and Elements

<restReportService> element

Attributes

  • hostAppId – optional string attribute. Specifies the unique constant name of the application hosting the reports service. When not set the report service utilizes the AppDomainSetup.ApplicationName Property for the current application domain. This however is not sufficient for each application setup. Set a value for this property in order to provide an unique name among all apps implementing the report service that will be deployed in the same environment.

  • clientSessionTimeout – optional integer attribute. Specifies the value in minutes indicating how long a client session will be preserved in the service storage after the last interaction from this client. The value must be greater than zero. The default value is 15 minutes.

  • reportSharingTimeout – optional integer attribute. Specifies the value in minutes indicating how long a rendered report document from a client will be viable for reuse for another clients' request. The value must be greater than or equal to zero. A zero value will prevent rendered report document reuse. The default value is zero.

Child elements

  • reportResolver – specifies the report resolver implementation that will be used for report resolving from the service.

  • storage – specifies the storage implementation that will be used for internal storage from the report service.

Parent element

Telerik.Reporting – specifies the root element of the Telerik Reporting configuration settings. Only a single restReportService child element can be used inside the Telerik.Reporting root element.

<reportResolver> element

Attributes

  • provider

    • file

      • directory - string parameter. Specifies the physical directory where reports are located. Used as path prefix when relative path is passed for resolving.

    • type

Child elements

parameters – specifies a collection of parameters for the current provider. Only one parameters child element can be used in the provider parent element.

Parent element

restReportService

<storage> element

Attributes

  • provider

    • redis

      • configuration - string parameter. String prefix that should be applied on each key stored in the Redis database. This allows shared usage of one Redis database.

      • databaseNumber - optional integer parameter. Determines the number of the database that should be used.

    • msSqlServer

      • connectionString - string parameter. The connection string to the backend storage.

    • file

      • directory - optional string parameter. The directory which will contain the files representing the stored values.

    • database

      • backendName - string parameter. Specifies which database engine should be used.

      • connectionString - string parameter. A connection string that should be used to connect to the cache database.

Child elements

parameters – specifies a collection of parameters for the current provider. Only one parameters child element can be used in the provider parent element.

Parent element

restReportService

Example

<configuration>
  <Telerik.Reporting>
    <restReportService hostAppId="Application1" reportSharingTimeout="10" clientSessionTimeout="10">
      <reportResolver provider="type" />
      <storage provider="file">
        <parameters>
          <parameter name="directory" value="C:\Temp" />
        </parameters>
      </storage>
    </restReportService>
  </Telerik.Reporting>
</configuration>

See Also