Inheriting Types

Sometimes when we're creating a type, it's very similar to an existing type – except perhaps it has some additional entries. To save the developer from having to re-enter all of those fields, WorkflowFirst allows a type to inherit from another type. When a type inherits another type, the parent type, it automatically takes on all of the parent's fields. Any additional fields that are defined in the type will appear before the parent's fields.

WorkflowFirst also allows multiple inheritance, allowing the developer to select multiple parents for a particular type. All of the parents' fields are added to the type.

To specify that a form type inherits from another type, use the Inherits drilldown on the field definition. In that list, click Create New and select the type that this form type inherits from.

The inherited fields won't be shown until the application is published.

Note : An advanced feature, special support for inheritance is provided in the SDK generation, allowing these types to be used polymorphically. This is discussed in more detail in the section on developing business logic. 


Next Topic:
v4.2.0.956 (beta)
Up Since 2/29/2024 12:02:23 AM