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
Click Start, point to Commerce Server 2000, and then click Pipeline Editor.
In the Pipeline Editor, on the File menu, click New.
In the Choose a Pipeline Template box, select Empty.pct., and then click OK.
An empty pipeline file appears.
Right-click Empty Pipeline Template, and then click Properties.
The Pipeline Properties dialog box appears.
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. Note
- This option is active only if Currency (high precision) is specified for Currency Mode.
Description Type a description for the pipeline. - Any pipeline. May be loaded into any pipeline.
Click Apply, and then click OK.
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.
Right-click New Stage, and then click Properties.
The Stage Properties dialog box appears.
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. Note
- 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. Note
- 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.
Click Apply, and then click OK.
Right-click the name of the new stage, and then click Insert Component.
The Choose a component dialog box appears.
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. Click OK.
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.
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
Adding a Component to a Pipeline
Changing the Order of Components in a Pipeline Stage