Cisco Cisco Prime Service Catalog 10.0 技术参考
2-35
Cisco Prime Service Catalog 10.0 Designer Guide
OL-31033-01
Chapter 2 Designing Active Forms
Service Form Framework
•
Specify Rule Type:
–
Distributing Rule: Choose this option if the primary purpose is to return the results of a query
to the for example, in a select list; in a set of fields triggered by a selection or data entry in
another field; or in a grid. You can attach this type of rule to any number of form- and field-level
events.
to the for example, in a select list; in a set of fields triggered by a selection or data entry in
another field; or in a grid. You can attach this type of rule to any number of form- and field-level
events.
–
Validating Rule: Choose this option if the primary purpose is to validate the data entered on
the form against a set of results returned by a query. The validation is performed on the
post-Submit event (server-side) only; you cannot attach the rule to any other events.
the form against a set of results returned by a query. The validation is performed on the
post-Submit event (server-side) only; you cannot attach the rule to any other events.
–
Distributing Rule with implicit validation performed on the post-Submit event: Choose this
option if the primary purpose is to return the results of a query to the form but you have an
additional need to validate the form data on the post-Submit event. You can attach this rule to
any number of form- and field-level events, and a “validating equivalent” of this rule will
automatically be attached to the post-Submit event.
option if the primary purpose is to return the results of a query to the form but you have an
additional need to validate the form data on the post-Submit event. You can attach this rule to
any number of form- and field-level events, and a “validating equivalent” of this rule will
automatically be attached to the post-Submit event.
•
Query Type
: Database Table Lookup or Enter Your Own SQL Entry. Database Table Lookup is
the quick-and-dirty option. If all the data you want is available within one table (or within a database
view that a Database Administrator has created), use this type. The wizard will walk you through a
set of screens to define your query, all by filling in dialog boxes. If, on the other hand, you need a
more complex query, you must write it in Structured Query Language (SQL) with a Query Type of
“Enter Your Own SQL Query”.
view that a Database Administrator has created), use this type. The wizard will walk you through a
set of screens to define your query, all by filling in dialog boxes. If, on the other hand, you need a
more complex query, you must write it in Structured Query Language (SQL) with a Query Type of
“Enter Your Own SQL Query”.
Choose Triggering Events (Distributing Rules)
If you specified the Rule Type as a Distributing Rule or Distributing Rule with implicit validation
performed on the post-Submit event, you need to choose one or more triggering events, as shown
below.
performed on the post-Submit event, you need to choose one or more triggering events, as shown
below.