Use this window to set up a new prompt or edit the details
of an existing prompt.
The fields within this window vary based on the type of
prompt being created or edited.
Complete this window as follows:
- Name
- Type a unique name for the prompt. This name must comply with
the ObjectServer naming conventions. If you are editing a prompt,
you cannot change the name.
- Prompt
- Type the prompt text that should appear when the tool requests
information from the user.
- Type
- Select String to
create a prompt window that accepts one or more characters.
- Select Integer to
create a prompt window that accepts an integer value.
- Select Float to
create a prompt window that accepts a floating point number, which
can contain a decimal point.
- Select Time to
create a prompt window that accepts a time. For a time prompt, the
default is to display the current time.
- Select Fixed Choice to
create a pop-up menu that is populated with options that you specify.
- Select Lookup to
create a pop-up menu or drop-down list that is populated by the values
in a specified file.
- Select Password to
create a prompt window that accepts one or more characters as a password.
For a password prompt, the password characters appear as asterisks
when the user completes the prompt.
- Select Dynamic
Choice to create a pop-up menu or drop-down list that is
populated by the results of a database query.
- Default
- Type a default value for the
prompt to display.
Note: This field is displayed only if you are creating
or editing a string prompt, integer prompt, or float prompt.
- Options
- Use this field to specify
menu options to include in the pop-up menu. To create a new option,
click Add option and type a name for the option
in the box that is shown within the Options list.
Click outside the box to complete the entry. You can also edit an
existing option by clicking the entry in the Options list
and then clicking Edit option. To delete an
option, click the entry and then click Delete option.
Note: This field is displayed only if you are creating
or editing a fixed choice prompt.
- File
- Type the path and name of the
file whose contents must be used to populate the pop-up menu or drop-down
list associated with the prompt. Alternatively, click Browse to
open a file selection window, navigate to the appropriate location,
and select the file.
Note: This field is displayed only if you are creating
or editing a lookup prompt.
- Database
- Select a database from
this drop-down list.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
- Table
- Select a table in the selected
database, from the drop-down list.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
- Show
- Select a column name from the
drop-down list. This defines the column that is used to populate the
prompt menu.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
- Assign
- Select a column name from
the drop-down list. This defines the column that is used to return
a value to the SQL command, external command, or journal entry that
contains the prompt.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
- Where
- Type an SQL search condition.
For example: Colname='Severity'.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
- Order By
- Select a column name from
the drop-down list. This defines the column by which items are sorted
in the prompt menu. Use the Ascending and Descending options
to specify the sort direction.
Note: This field is displayed only if you are creating
or editing a dynamic choice prompt.
Saving your
prompt details
After creating or editing a prompt, you can
save or cancel the changes made by clicking the relevant button as
follows:
- OK
- Click this button to save the prompt details and close the window.
New prompts are added to the Prompts pane.
- Cancel
- Click this button to close the window without saving your changes.