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.

  1. In the header of Dev Studio, click Create > User Interface > Section.
  2. On the Create form, enter values in the fields to define the context of the section.
    1. In the Label field, enter text that describes the purpose of the section.
    2. 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.
    3. Select the Context.
    4. 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.

    5. In the Add to ruleset field, select the name and version of a ruleset that stores the section.
  3. Click Create and open.
  4. On the Design tab, from the Structural list, drag Repeating dynamic layout onto the work area.
  5. Click the View properties icon.
  6. On the General tab, in the Source field, select Property.
  7. 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.
  8. Click the Layout control group.
  9. Drag an Embedded section control to the Repeating Dynamic Layout.
  10. In the Section include dialog box that opens, in the Section field, select By name.
  11. In the adjacent field, press the Down Arrow key, and then select your OptionalFlow section
  12. Click Submit.