Product library custom steps and tokens (Production Mapping)

The product library custom steps and tokens can be used to leverage the file management capabilities of the product library as part of a workflow. These steps and tokens allow you to identify and associate a product library product with a job, synchronize the job files with the product files, check out the product, work with the product in ArcMap to perform data edits or cartographic updates, synchronize the product files with the job, and check the product back in.

The Product Library custom steps

Product library custom steps

The product library custom steps are included in the Production Mapping steps library. The steps, a basic description, and return codes are outlined in the table below.

有关配置自定义步骤的常规信息,请参阅创建步骤类型

Step name

Prog ID

Description

Return codes

Identify Product

ProductionMappingSteps.IdentifyProduct

Associates a product library product with a job.

The Check Out and Check In steps perform operations based on this association.

  • 0—Success
  • 1—Failure

Check Out

ProductionMappingSteps.CheckOutProduct

Checks out the product associated with the job.

  • 0—Success
  • 1—Failure

Launch ArcMap and Edit Product

JTXDesktopSteps.LaunchArcMap

Opens the map that has been checked out by the product library and saves the map in the checkout location.

Check In

ProductionMappingSteps.CheckInProduct

Checks in the product associated with the job.

  • 0—Success
  • 1—Failure

Sync Product Files

ProductionMappingSteps.SyncProductFiles

Copies files from job attachments to the product or vice versa.

  • 0—Success
  • 1—Failure

The product library tokens

Two additional tokens are available when working with the product library custom steps.

有关使用令牌的常规信息,请参阅使用令牌主题。

Parser

Token

Description

Example input

Example output

Product Library

[PL:TOKEN_MXD_NAME]

Name of the map document associated with the job

[PL:TOKEN_MXD_NAME]

My Map

Product Library

[PL:TOKEN_MXD_LOCATION]

The checkout location for the product associated with the job

[PL:TOKEN_MXD_LOCATION]

C:\Data

4/27/2014