Print Map Activity

Description:

Executes a print template in a client application.

Inheritance Hierarchy:

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

Function:

This activity triggers a print template operation to run from the client application. The print template must exist in the site. The output of this activity is a URL that can then be used to download the printed output.

The URL returned by the print map activity is a short-lived URL. It should not be emailed or stored for later use.

In a Workflow:

The Print Map activity can be used to generate a printed output of the user's current map.

Properties:

Name Description

In Arguments

Custom Extent

The map extent to use in the print template. If not specified, the current extent of the map in the client application is used.

Grid Id

The ID of the grid or graticules to print on the map. If you do not want to print a grid, leave Grid Id blank.

Notification Email Address

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

Output Format

The print output format. For example: PDF.

Print Template Id

The Id of the print template to execute.

Resolution

The resolution (DPI) that to use when the map is printed, for example, 96. If specified, the resolution must correspond to a supported print template resolution.

Scale

The scale to use to create the map print.

Target Spatial Reference

The spatial reference to use for the map print. If not specified, the default spatial reference of the map is used.

Text Fields

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

Misc

Display Name

PrintMap

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 print result.

Version Information:

Supported from: Geocortex Essentials 3.9, Geocortex Viewer for Silverlight 1.5.1, Geocortex Viewer for HTML5 1.1.