Use this option to design your own fields using the class IDs that are predefined in Process Builder:
The following sections describes these class IDs in more detail.
CheckBox
Use this class ID to create fields in the form of checkboxes. In addition to the properties listed in "Setting Field Properties" on page 136, CheckBox fields have the following properties:
Default Value.
The default value of the CheckBox field. Valid values are checked and unchecked.
Label.
The label that appears to the right of the checkbox. If you would like to create the label by typing it on the form in the form editor, leave this property blank. However, any label you type into this property is automatically included any time you put the field on a form. If you choose to type the label on the form, you need to type it on each form that uses this field.
On click.
A script that runs every time the user clicks on a checkbox. The script is client-side Javascript that is associated with the onClick event handler of the field.
Computed
This class ID is for fields whose values are computed by the application, not entered by the users. In addition, users cannot view these fields. If you want the field to be viewable, use a text field instead.
In addition to the properties listed in "Setting Field Properties" on page 136, Computed fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false.
Default Value.
Defines the default value of the field.
Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. It must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
Date
This class ID lets the user enter and validate a date.
In addition to the properties listed in "Setting Field Properties" on page 136, Date fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false
Date Format.
Represents the formatting of the date. Valid values are DD/MM/YYYY or MM/DD/YYYY.
Default Value.
Defines the default value of the field.
DateTime
This class ID lets the user enter and validate a date and time.
In addition to the properties listed in "Setting Field Properties" on page 136, DateTime fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false
DateTime Format.
Represents the formatting of the date and time. Valid values are MM/DD/YYYY HH:MI:SS or YYYY/DD/MM HH:MI:SS. MM is the month, DD is the day of the month, YYYY is the year. HH is the hour, MI is the minutes, and SS is the seconds of the time. Note that the user must put a space between the date and the time.
Default Value.
Defines the default value of the field.
Digital Signature
The Digital Signature field is used for signing data. If the user has a certificate, the data is encrypted. For example, you would want a Digital Signature field if a Vice President has to approve a price. In this example, the price field is a user input field that is included in the List of Signed fields for the VP Signature field. When the VP updates the signature field, all the fields listed in the List of Signed fields are signed.
A Digital Signature field can be signed only by one person for a process instance. Once someone signs the field, the next time the field appears, it shows the name of the person who signed it.
In addition to the properties listed in "Setting Field Properties" on page 136, Digital Signature fields have the following properties:
List of Signed Fields.
The list of data fields that require an electronic signature. Separate fields with a semicolon (;) between them. All fields included in this list must be on the same form as the Digital Signature field.
File Attachment
Use the File Attachment class ID when the data field is actually a file you want users to attach. This data field provides menus in Process Express that allow end users to upload, download, and view files in a process. Users can use this field if they are accessing Process Express with Netscape Communicator 4.x, or Microsoft Internet Explorer 4.x or 5.x.
A File Attachment field appears in the HTML form as a signed applet. This applet attaches a file to the form. When the end user decides to attach a file to the form, the user clicks the icon for the applet and the applet uploads the file to a special location on the Enterprise Server. All files for a process instance are grouped in the same folder so you can locate and manage them easily.
You specify this location in the URL property of the Content Store. See "Setting Up the Content Store" on page 156 for more information. You specify what kind of file is uploaded in the data field's File Name property. For each kind of file you want users to be able to attach, you must create a separate data field.
Usage Tips for File Attachments
If you want to use file attachments with Secure Sockets Layer (SSL), your server must be SSL-enabled. To use SSL, end users must use Netscape Communicator to access Process Express. For information on how to enable SSL on your server, see the Enterprise Server Administrator's Guide.
If you have Netscape Application Server installed on the same system as Process Express, you will not be able to use Netscape Communicator with file attachments. To avoid this situation, you can install NAS and Process Express on different systems, or you can use Microsoft Internet Explorer to access Process Express.
You must have the Web Publisher or Remote File Manipulation turned on in your Enterprise Server in order to use file attachments.
Warning. You cannot use the Web Publisher's access control functions for Enterprise
Servers version 3.5 or earlier. As a result, any user who knows a file's URL can
access, read, and modify the content of a file that is stored on Enterprise Server
3.5 or earlier.
File Attachment Properties
In addition to the properties listed in "Setting Field Properties" on page 136, File Attachment fields have the following properties:
Alignment.
Defines the alignment of the file representation in the HTML form. Valid values are: CENTER, TEXTTOP, ABSCENTER, ABSBOTTOM. These position the file representation in the HTML form as centered, aligned with the top of the tallest text on the line, aligned with the center of the text, and aligned with the bottom of the text. The text may be moved to accommodate the alignment. Only one line of text is aligned with the data field. Subsequent lines of text appear below the data field. If no alignment value is specified, the alignment is handled by the browser.
Background Color.
The background color for the data field display area. Specify an HTML color code in the format #RRGGBB. For example, for pure blue, specify #0000FF. For more information about specifying colors with this format, see the "Color Units" chapter in the HTML Tag Reference at:
http://developer.netscape.com/docs/manuals/htmlguid/index.htm.
Border Width.
The thickness of the border to draw around the data field display area in pixels.
Debug Mode.
If this is set to true, the data field displays debug information in the browser's Java console.
Display Height.
The height in pixels of the data field display area. If you change this height, the size of the icon in the data field does not change. The display area gets more or less background space around the icon.
Display Width.
The width in pixels of the data field display area. If you change this width, the size of the icon in the data field does not change. The display area gets more or less background space around the icon. The optimal width is 100 pixels, but this depends on the size of the font and the value of the File name property.
File Name.
The file name which is displayed under the data field as a label in the HTML page. The extension of the File Name determines what kind of file can be uploaded via this file attachment data field. For example, if the File Name is attachment.html, then the data field can handle HTML files. If it is attachment.gif, then the data field can handle GIF files.
Font Name.
The font used for all text in the data field display area and also for the menu associated with the data field in Process Express.
Font Size.
The font size used for all text in the data field display area and also for the menu associated with the data field in Process Express.
Foreground Color.
The foreground color for the data field display area. The foreground color is used for text and other foreground elements. Specify an HTML color code in the format #RRGGBB. For example, for pure blue, specify #0000FF. For more information about specifying colors with this format, see the "Color Units" chapter in the HTML Tag Reference at:
http://developer.netscape.com/docs/manuals/htmlguid/index.htm.
Help URL.
A URL that points to a help page. If this property is defined, then when the data field is displayed in Process Express it has an additional menu item, User Help, that displays the page located at the Help URL. This URL must be an absolute URL. The intention here is that you can provide helpful information to your end users about the file to attach, such as what it is for or what kind of file it should be.
Icon Height.
The default height for the icon used in the data field display area. You cannot change this value.
Icon Width.
The default width for the icon used in the data field display area. You cannot change this value.
MAX URL Length.
The maximum length of the URL for files that are saved with this data field. It defaults to 100 characters. This URL is computed from the content store URL. Hence, this width should be at least (content_store_url) + 32 + length(File name) characters long.
Java Applet
You can use a Java Applet to represent a specific field. Each applet has a matching hidden field automatically added in the HTML form. To pass the values back to PAE, the applet developer must update the form each time the field gets updated. This happens automatically when a user fills out a form, but if you update a Java Applet field without having the user fill out the form, you need to update the form. To do this update, use the provided Java Class, WFForm, that has a static UpdateField method. You need to package an applet in a .jar file. Give the applet and the .jar file the same name. Specify this name as the value of the Applet Class ID property.
The properties Field Class ID and Applet Class ID are not the same. The Field
Class ID specifies the format of the field (in this case
com.netscape.workflow.field.Applet). The Applet Class ID specifies
which applet is used (for example the applet UserPicker which is a directory
widget).
In addition to the properties listed in "Setting Field Properties" on page 136, Java Applet fields have the following properties:
Applet Class ID.
A required field that defines the applet that is going to be used to represent the field in the form. Applets need to be packaged in a .jar file. The Applet Class ID matches the name of the .jar file.
Additional Parameters.
This required field defines the additional parameters of this applet. Format additional parameters in the "<PARAM NAME=... VALUE=...>" format. They cannot include any semicolons (;).
Alignment.
Defines the alignment of the applet in the HTML form. Valid values are: CENTER, TEXTTOP, ABSCENTER, ABSBOTTOM. These position the file representation in the HTML form as centered, aligned with the top of the tallest test on the line, aligned with the center of the text, and aligned with the bottom of the text. If none is specified, the alignment is handled by the browser.
Default Value.
Defines the default value of the field.
Data Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
Height.
This required field defines the display height of the applet in the HTML form.
Width.
This required field defines the display width of the applet in the HTML form.
Java Bean
You can use a Java Bean to represent a specific field. The bean needs to be compliant with the specifications presented in the "Java Objects in Crossware" white paper, available on the Netscape DevEdge site at the following URL:
http://developer.netscape.com/docs/wpapers/index.html
In addition to the properties listed in "Setting Field Properties" on page 136, Java Bean fields have the following properties:
Additional Parameters.
This required field defines the additional parameters of this bean. Format additional parameters in the "<PARAM NAME=... VALUE=...>" format. They cannot include any semicolons (;).
Alignment.
Defines the alignment of the bean in the HTML form.
Class ID.
This required field defines the Java Class that is going to be used to represent the field in the form. This is the full class name of the bean (including package information).
Data Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
Default Value.
Defines the default value of the field.
Height.
This required field defines the display height of the bean in the HTML form.
Width.
This required field defines the display width of the bean in the HTML form.
Password
The Password class ID is used for password fields. When the user enters data into this field, or when it is viewable, the field value is shown as asterisks (*****).
In addition to the properties listed in "Setting Field Properties" on page 136, Password fields have the following properties:
Default Value.
Defines the default value of the field.
Display Size.
This required field defines the size of the text field in the HTML form.
Maximum Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
Radio Buttons
The class ID Radio Buttons produces radio buttons, which appear on the end user forms as the button and the text next to them. This class ID is useful when the list of values is well known. You may also consider using the class ID Select List for this kind of information. Select List produces a drop-down list. See "Select List" on page 146 for more information.
In addition to the properties listed in "Setting Field Properties" on page 136, Radio Button fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false.
Default Value.
Defines the default value of the field.
Maximum Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. It must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
Options.
A required field that represents the radio button options. To create them, type in all available values separated by semicolons (;). For example, to have a Yes and No radio buttons, in the Options text field, type:
Yes;No
Do not put spaces before or after the semicolon.
Select List
The Select List class ID produces a drop-down list. It useful when the list of values are well known. Another good class type for this kind of information is Radio Buttons, which produces radio buttons. See "Radio Buttons" on page 145 for more information.
In addition to the properties listed in "Setting Field Properties" on page 136, Select List fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false.
Default Value.
Defines the default value of the field.
Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. It must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
Options.
A required field that represents the values of the options in the drop-down list. To create the options, type in all values separated by a semicolon (;). For example, to have a Yes and No be the options in a drop-down list, in the Options text field type:
Yes;No
Do not put spaces before or after the semicolon.
TextArea
Use this class ID to create large areas where the user can enter text.
In addition to the properties listed in "Setting Field Properties" on page 136, text area fields have the following properties:
Default Value.
Defines the default value of the field.
Number of columns.
This required field defines the number of columns of this text area. The number of rows multiplied by the number of columns must be between 0 and 2000 (for LONGTEXT) or 0 and 255 (for TEXT).
Number of rows.
This required field defines the number of rows of this text area. The number of rows multiplied by the number of columns must be between 0 and 2000. The number of rows multiplied by the number of columns must be between 0 and 255 for the TEXT, and between 0 and 2000 for LONGTEXT.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
TextField
Use this class ID to create text fields. Use the Date and DateTime class IDs for dates and times, not TextField. For longer text areas, use the TextArea class ID
In addition to the properties listed in "Setting Field Properties" on page 136, TextFields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false
Default Value.
Defines the default value of the field.
Display Size.
This required property defines the size of the TextField in the HTML form.
Maximum Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
URL
A URL field is an input field in edit mode and a link in view mode. It is used for data that corresponds to a URL and is understood by a browser, for example the protocols http, ftp, ldap, etc.
In addition to the properties listed in "Setting Field Properties" on page 136, URL fields have the following properties:
Default Value.
Defines the default value of the field.
Display Size.
This required field defines the size of the text field in the HTML form.
Maximum Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 2000. Use a value between 0 and 255 for the TEXT data type, and between 0 and 2000 for the LONGTEXT data type. If you want the field to be searchable, use the TEXT type.
On Blur.
The script that is run every time the field loses the focus within the HTML form. The script is client-side Javascript that is associated with the onBlur event handler of the field.
On Focus.
The script that is run every time the field gets the focus within the HTML form. The script is client-side Javascript that is associated with the onFocus event handler of the field.
On Value Change.
The script that is run every time the value of the field is changed. The script is client-side Javascript that is associated with the onChange event handler of the field.
Target.
This required field defines the window in which the URL is open in view mode. For example, NewWindow opens the URL in a new window. The Target property takes the same values as the TARGET attribute in HTML.
UserPicker Widget
UserPicker fields appear as an input field and an Address Book button on a form. The input field is where users enter the user information the field calls for. By using the Attribute property, you can specify what the user needs to put in the field (for example, distinguished name, user ID, email address and so on).
If the user already knows the information they want to put in the field, they type it in. If they don't know exactly what to type, they can search the corporate user directory by pressing the Address Book button. This button brings up a screen for searching the corporate user directory. Once the user finds the information they want, it appears in the input field. That information is stored in the database with the type of TEXT.
Note. Because the values are automatically stored with a Data Type of TEXT, there is
no Data Type property to specify for this class ID.
In addition to the properties listed in "Setting Field Properties" on page 136, UserPicker fields have the following properties:
Allow Search.
Specifies if the field can be used as a search criteria. Valid values are true or false
Attribute.
the LDAP attribute you want to search on. Valid values include the distinguished name (dn), user ID (uid), common name (cn), email address (mail), department number, and manager.
Default Value.
Defines the default value of the field.
Maximum Length.
A required property that defines the length of the field and the length of the database column that will be used to store values of that field. Note that if this length is longer than the Display Size, some characters may not be displayed on the form. The Maximum Length must be an integer between 0 and 255.