Creating a section which lists the optional processes
Create a section that populates a list with the optional processes that are available to the user.
- In the header of Dev Studio, click Create > User Interface > Section.
-
On the Create form, enter values in the fields to define
the context of the section.
- In the Label field, enter text that describes the purpose of the section.
- Optional:
To change the default identifier for the section, click
Edit, and then provide a unique value in the
Identifier field.
Begin the identifier with a letter and use only letters, numbers, the ampersand character, and hyphens to form a Java identifier.
- Select the Context.
-
In the Apply to field, press the Down Arrow key
and select the class that this section applies to.
In most cases, select the name of the class that contains the work items that the section supports. Choose the class that is most specific to the application and its work items, rather than a general Work- class.
In special cases a section can apply to a class derived from the Data-, Embed- or Assign- base class. For example, a section may display properties of the class Embed-OrderDetails, where the work item contains a
Page List
property named CustomerOrder that applies to the Embed-OrderDetails property. - In the Add to ruleset field, select the name and version of a ruleset that stores the section.
- Click Create and open.
- On the Design tab, from the Structural list, drag Repeating dynamic layout onto the work area.
- Click the View properties icon.
- On the General tab, in the Source field, select Property.
-
In the List/Group field, press the Down Arrow key, and
then select pyAddableFlowList.
At run time, the list is populated with the optional flows that are available to the user.
- Click the Layout control group.
- Drag an Embedded section control to the Repeating Dynamic Layout.
- In the Section include dialog box that opens, in the Section field, select By name.
- In the adjacent field, press the Down Arrow key, and then select your OptionalFlow section
- Click Submit.