For example, to get data for a Current State field, you can use a
select expression applied to the current business object. To get the
value for the Find Number attribute, which is an attribute on a relationship,
you can use a select expression applied to the relationship whose ID
is passed to the form page. This graphic shows examples of these two
fields on a form in View mode.
The fields would look like this when the web form administrative object
is displayed on a form page in Edit mode.
To configure a field so the data is obtained from a select expression,
use these parameters and settings:
- Expression parameter--Enter the select expression to apply to a business
object or relationship to get the field values.
- Applies to--Choose what the expression should be applied to: Business
Object or Relationship.
- Field Type setting--When the expression is a business object basic
or an attribute and the field is editable, you must include the Field
Type setting. This lets the system correctly update the basic or attribute
property.
The graphics below show how the Current State and Find Number fields shown
previously are configured in the Business Modeler. In addition to the
parameters that get the data using a select expression, the fields have
settings that define the application associated with the field and that
specify the administrative type so the value can be translated.
These dialog boxes show how to configure a field to get data from an expression applied to the current business object.
These dialog boxes show how to configure a field to get data from an expression applied to the current relationship.