Modifying HTML Step Processor Toolkit Core Script Files

This topic describes how to modify the core JavaScripts supplied with the HTML Step Processor Toolkit for the FileNet Web Services web application. These core scripts, shared by both the default HTML Step Processor and Launch Step Processor, reside in the ...\Program Files\FileNet\IDM\Web\IDMWS\Redist\WF_Html_Toolkit\Core directory on the FileNet Web Services server (if a default installation has been used).

Note This topic summarizes the constructors and methods available for the client-side objects. For more detailed information, see the code in the JavaScript file itself.

Depending upon your application requirements, you may modify either or both of the following HTML Step Processor Toolkit core .JS files (click on the link for details):

Caution You may add new functions or extend the existing functions in these files; however, you should not delete or alter any of the existing functions or your application may not work.

step.js

The step.js JavaScript specifies functions for creating and working with client-side Step Processor objects. These functions declare methods for the following client objects:

PW_StepElement (Step Element) Object

The PW_StepElement object supports the following methods:

PW_StepInfo (Step Information) Object

The PW_StepInfo object does not support any methods.

PW_StepParameter (Step Parameter) Object

The PW_StepParameter object supports the following methods:

PW_Milestone (Milestone) Object

The PW_Milestone object supports the following methods:

PW_WorkGroup (Work Group) Object

The PW_WorkGroup object supports the following methods:

att.js

The att.js JavaScript specifies functions for creating and working with the client-side attachment object (PW_Attachment). These functions declare methods for the PW_Attachment object, including checking for the attachment type: document, folder, and stored search. This script also uses some of the FileNet Web Services client-side Javascript API objects to work with attachments.

Because attachments are stored in FileNet Content Services or Image Services libraries, the implemented functions rely on the client-side JavaScript IDMWSC_Library object (the FileNet Web Services Library.js provides the ability to create an IDMWSC_Library object and use methods supported by the object) to create and work with attachment objects. For additional information on client-side objects provided by FileNet Web Services files, see FileNet Web Services Files Referenced By Process Applications.

PW_Attachment (Attachment) Object

The PW_Attachment object supports the following methods: