Jaa


Scriptor Tab

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Use the Component Properties dialog box, Scriptor tab, to store the script that the Scriptor component runs as part of the pipeline configuration file (.pcf). You must select, from the Scripting Engine drop-down list, a Microsoft ActiveX scripting language, such as PerlScript from ActiveState or Microsoft Visual Basic Scripting Edition (VBScript).

Note

The Microsoft Transaction Server (MTS) context is not available to a Scriptor component or to any components called by a Scriptor component (that is, context.SetComplete and context.SetAbort are not available to scripts hosted by the Scriptor component).

Use this

To do this

Scripting Engine

From the drop-down list, select the language in which the script is written. The list contains the scripting engines installed on your system.

Source

Select whether the script is stored internally or externally:

  • Select Internal and then click Edit. In the Scriptor -- Source Code Edit screen, type or paste the script for your component, and then click OK.

  • Select External to store the script in an external file. In the Scriptor dialog box, click No, if you do not want to export the internal source code. Type the path and file name in the Filename box.

Config

To pass parameters to the script, type the parameters for the component in the form name=value.

Or, leave blank.

See Also

Other Resources

How to Use the Scriptor Component

How to Configure the Scriptor Component

Building Pipeline Components