Creating Production Extensions

You can create your own custom Production Extensions to help simplify your work in Production by sharing and reusing chucks of code.

First create and test a script to use as the basis for the extension. You can use Workbench to develop and test a Production script (prd), an Integrator script (int), or a DIAL script (dial). Use the tools of your choice to write and test Java scripts (jar) or PHP scripts (php). The script should be as generic as possible using parameters for the settings.

To create a Production Extension for the tested source script:

  1. Select Tools > Extension Editor to open the Extension Editor.

    The Edit Production Extension dialog box appears.

  2. Enter the following information in the General attributes pane:
    • Name
    • Author
    • Icon—Specify a 16x16 png file. To select the file, use the browse button that appears when you click in the Icon box.
    • Script—Specify the path to the Script that this extension is based on. To locate the script, use the browse button that appears when you click in the Script box.
    • Type—Select the script type from the Type pull-down list.
    • Version—Edit the Version number, if appropriate.
    • Description—In the Description box, enter the required description for the extension. The description is used as a tool tip.

    If the source script uses global parameters, they are listed automatically in the table.

  3. Add any additional parameters or edit existing ones. See more details under About Parameters in the following section.

  4. Click Save.

  5. Navigate to where you want to store the file in the Save As dialog box.

  6. Type a name for the extension and click Save.

The extension is saved to your local drive and can be installed on the DiveLine server using Workbench. The saved extension has a filetype of pre. The contents can be viewed with an archive viewer. The key components are the config.xml file and the executable script.

ClosedExample Edit Production Extension dialog box