Report Activity

Description:

Executes a report in a client application.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.ExternalActivityBase
        Geocortex.Workflow.Activities.Report

Function:

This activity triggers a report to run on the client. The report must exist in the site. Once the report has been run, a download report link displays in the client (optional). The URL of the report is an output of the activity.

The URL returned by the report activity is a short-lived URL (5 minutes from time of most recent access). It should not be emailed or stored for later use.

In a Workflow:

The Report activity can be used as the final activity at the end of a complex workflow that guides the user through a set of activities to collect or transform data or a geometry and then finally creates a report on the collected data.

Properties:

Name Description

In Arguments

Custom Extent

The custom extent to use for the map rendered in the report if the Report Extent Type property is set to CustomExtent.

Geometry

The geometry filter to apply to the report data. The spatial relationship as specified by spatialRelationship is applied to this geometry while performing the query. The valid geometry types are Envelope, Point, Multipoint, Polyline, or Polygon.

Layer Id

The Id of the Geocortex layer the report is in.

Layer Name

The name of the Geocortex layer this feature set is related to. If a Layer Id is also supplied the Id will be preferred.

MapService Id

The Id of the Geocortex Map Service this feature set is related to.

Notification Email Address

An address to send the report status notification emails to. This option works only if the specified report is configured to enable email notifications.

Out Spatial Reference

The spatial reference for the returned geometries in the query to filter the data. If not specified, the geometry is returned in the spatial reference of the containing map.

Output Format

The format of the report output.

Report Extent Type

The extent type to use for the map rendered in the report.

Report Id

The Id of the Geocortex report to run.

Resolution

Image resolution that will be used to print the map image in the report.

Show Open Report

Obsolete: Use the Result Url with a Display Hyperlink activity instead.

Indicates if the open report dialog should be shown after the report run has completed.

Spatial Relationship

The spatial relationship to be applied to the input geometry filter when performing the query. The default is esriSpatialRelIntersects.

Text

Shorthand for a literal search text on the display field, equivalent to: where<displayField>like'%%'. The text is case sensitive. This parameter is ignored if the where parameter is specified. You can determine what the display field is for a layer using the ArcGIS Services Directory.

Text Fields

A dictionary of name value pairs that represent text field inputs to the report. The provided text field names must match the text field names specified by the report.

Where

A where clause for the query to get the data. Any legal SQL Where clause operating on the fields in the layer is allowed, for example: where=POP2000>350000.

Misc

Display Name

Report

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

External Id

An activity handler within a client can reference this particular activity using this external identifier.

Out Arguments

Result Url

The URL to the report that was generated.

Version Information:

Supported from: Geocortex Essentials 3.4, Geocortex Viewer for Silverlight 1.1, Geocortex Viewer for HTML5 1.0.