Creating a Custom Pipeline

With the Pipeline Editor you can create a custom pipeline without basing it on one of the preconfigured pipeline template files (.pct).

To create a custom pipeline

  1. Click Start, point to Commerce Server 2000, and then click Pipeline Editor.

  2. In the Pipeline Editor, on the File menu, click New.

  3. In the Choose a Pipeline Template box, select Empty.pct., and then click OK.

    An empty pipeline file appears.

  4. Right-click Empty Pipeline Template, and then click Properties.

    The Pipeline Properties dialog box appears.

  5. In the Pipeline Properties dialog box, do the following:

    Use this To do this
    Label Type a new name for the pipeline.
    Transaction Compatibility Select a transaction compatibility option from the drop-down list. The options are:
    • Any pipeline. May be loaded into any pipeline.

    • Requires transacted pipeline. Must be loaded into an MtsTxPipeline or PooledTxPipeline pipeline.

    • Requires a non-transacted pipeline. Must be loaded into an MtsPipeline or PooledPipeline pipeline.
    Supply a currency LCID Specify a locale ID (LCID) for currency handling. The default value is zero, which uses the default locale ID of the server.
    Supply the number of decimal places used for currency rounding Type the number for digits of precision to be held by the currency (for example, two digits are held for United States pennies). This value is used for default rounding processing, and to determine the scaling factor used in legacy currency keys.

    Ee796850.note(en-US,CS.10).gifNote

    • This option is active only if Currency (high precision) is specified for Currency Mode.
    Description Type a description for the pipeline.
  6. Click Apply, and then click OK.

  7. In the Pipeline Editor, right-click the name of the new pipeline and then click Insert Stage.

    A New Stage placeholder appears in the pipeline.

  8. Right-click New Stage, and then click Properties.

    The Stage Properties dialog box appears.

  9. In the Stage Properties dialog box, do the following:

    Use this To do this
    Label Type a name for the stage.
    Description Type a description for the stage.
    GUID Type a globally unique identifier for the stage.
    Mode Specify the mode for the stage for compatibility with Site Server 2.0.

    Ee796850.note(en-US,CS.10).gifNote

    • The Mode field is provided for compatibility with Site Server 2.0 pipelines, in which a number identifies which stages of a pipeline are to be run by the RunProduct, RunPlan, and RunPurchase methods of the Page object. Use 1 for RunProduct, 2 for RunPlan, and 4 for RunPurchase. A value of zero (0) prevents the stage from running.
    Error level Specify the error level for the stage.

    Ee796850.note(en-US,CS.10).gifNote

    • When any component in the stage generates an error at or above the level specified in the Error level box, the stage stops running and generates an error.
  10. Click Apply, and then click OK.

  11. Right-click the name of the new stage, and then click Insert Component.

    The Choose a component dialog box appears.

  12. In the Choose a component dialog box, do the following:

    Use this To do this
    Stages Select a stage option.
    Components Select the name of the component you want to insert.
  13. Click OK.

  14. To configure the new component, right-click the component, and then click Properties. Modify the properties of the component as necessary, and then click OK.

  15. On the File menu, click Save As, and then type a name for the pipeline configuration file in the File name box.

The file is saved with the .pcf file extension.

See Also

Starting the Pipeline Editor

Creating a New Pipeline

Adding a Component to a Pipeline

Changing the Order of Components in a Pipeline Stage

Using the Pipeline Editor Property Pages


All rights reserved.