Creating a section with an Add work button
Create a section and include a button that opens the process that the user chooses.
- 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.
Use a meaningful label for your section.For example: OptionalFlow
- 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.
-
In the Label field, enter text that describes
the purpose of the section.
- Click Create and open.
- On the Design tab, from the Action list, drag Button onto the work area.
- Click the View properties icon.
-
On the General tab, in the Text
field, enter the button name.
Use a meaningful label for the button.For example: Add work