IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Create user interfaces for business processes > Developing reusable Coach Views

Coach Views

Coach Views are reusable sets of user interface that users use to interact with a business object or service. Coach Views can consist of one or more other Coach Views, data bindings, layout instructions, and behavior.

Because Coach Views are reusable, Coach Views and Coaches can share parts of their user interface with other Coach Views and Coaches.

For example, you create a Coach that has a Coach View that contains a set of address fields. If you create a second Coach that needs address fields, you can reuse the Coach View from the first Coach. In both cases, the Coach is using an instance of the Coach View. You can edit the properties of each instance independently.

For example, changing the label of one Coach View instance does not change the label of the other. Both instances of the Coach View use a reference to point to the Coach View definition. This approach means that if the Coach View definition changes, you can see the change reflected in the instances of the Coach View.

You can create a Coach View in the process application or in a toolkit. In general, create highly reusable Coach Views in toolkits and more specialized Coach Views in process applications. Choosing the process application means that you can reuse it only within the process application. However, it also means that if someone edits the Coach View, the changes apply to the instances of the Coach View in the process application. If the Coach View is in a toolkit and then someone edits it, the changes apply to all instances of the Coach View in all applications that use that toolkit. Because editing a Coach Definition can affect many instances, be careful in your changes.

For example, deleting a content box in the Coach View definition could mean that Coaches or Coach Views that contain instances of that Coach View cannot display the content that they had defined in that content box.

You cannot directly edit the definition of the Coach View from within the parent Coach or Coach View. Instead, you must open the Coach View definition first before you can change it. When you open a Coach View definition to edit it, you can see the following pages:

Coach Views can be stock or custom. IBM BPM provides the stock controls, which are Coach Views, and you can find them in the Control category or in the Section category on the palette. Custom Coach Views are ones created yourself or are provided by other programs or companies. In terms of use, IBM BPM treats stock and custom Coach Views identically.

Developing reusable Coach Views


Related concepts:
Coaches
Difference between Coaches and Heritage Coaches
Templates
Data binding for Coach Views


Related tasks:
Developing reusable Coach Views


Related reference:
Event handlers