You can add properties to IDOs only if you have first
checked out the IDO for which you want to create the property. Use the
IDOs form to check out the IDO. Once the IDO has been checked out,
you can click the New Property button on either
the IDOs form or the IDO Properties form to
launch the New Property wizard.
-
Launch the New Property
wizard.
-
On the first page of the wizard, select the type of binding to use
for the new property:
-
Click Next.
-
Set the attributes for the type of property you selected:
- Bind To
- (Required, for Bound
property types only) Select the table column to which you want the new
property to be bound.
- Subcollection IDO
- (Required, for Subcollection property types only) Select the IDO
that is to be used as the subcollection for the new property.
- Property Name
- (Required) Provide the name to be used for the new property.
For bound properties, this field defaults to the table column name,
but you can change it.
- Property Class
- (Optional) Select a property class to be used for the new
property.
- Data Type
- (Optional) Select the data type to be used for the new property,
along with any co-attribute values, such as Length or Decimal
place values.
If a Property
Class has been specified, this value, by default, is
inherited from the property class and is read-only. To specify other
values (and not inherit from the property class), clear the Inherit from Property Class check box.
- Column Data Type
- (Optional) Select the column data type to be used for the new
property.
If a Property Class
has been specified, this value, by default, is inherited from the
property class and is read-only. To specify a different value (and not
inherit from the property class), clear the Inherit from Property Class check box.
- Expression
- (Optional, used only for Derived and Unbound properties) Specify an expression to be used for the
values of the new property.
If a Property
Class has been specified, this value, by default, is
inherited from the property class and is read-only. To define a different
expression (and not inherit from the property class), clear the
Inherit from Property Class
check box.
Note: The expression can include "parameterized" values for which actual
values are substituted at runtime. These parameterized values must be
formatted as a zero-based index of consecutive integers in curly braces
(
{0},
{1}, and so on).
Actual values are then passed in as a comma-delimited list. For more
information and examples, see
SUBSTITUTE, an event
action function in the Application Event System that uses similar logic.
-
Click Finish.
The
New Property wizard creates the
property with the attributes you have specified and adds it to the list of properties for
the IDO.
You can further define the applicable attributes of the new property using the
IDO Properties form. [Reminder: Context-sensitive help is
available for all fields/options on that form.]