Product library custom steps and tokens
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, check out the product, work with the product to perform data edits or cartographic updates, and check the product back in.
![Example of a Workflow Manager workflow that uses the product library custom steps Example of a Workflow Manager workflow that uses the product library custom steps](0103/GUID-03D6BC14-3C24-46EE-8210-B25DE2472DF4-web.png)
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.
See Creating step types for general information on configuring step types.
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. |
|
Check Out | ProductionMappingSteps.CheckOutProduct | Checks out the product associated with the job. |
|
Check In | ProductionMappingSteps.CheckInProduct | Checks in the product associated with the job. |
|
The product library tokens
Two additional tokens are available when working with the product library custom steps.
See the Using tokens topic for general information on working with tokens.
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 |