Creating a section with an Add work button

Create a section and include a button that opens the process that the user chooses.

  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.
      Use a meaningful label for your section.
      For example OptionalFlow
    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, click the Basic control group.
  5. Drag a Button control to the user form.
  6. Click the View properties icon.
  7. On the General tab, in the Text field, enter the button name.
    Use a meaningful label for the button.
    Example: Add work