Adding single-value fields to forms

Collect specific information from users when they process a case by adding a single-value field to a form. For example, you can add a field that references a phone number to a form that prompts users to enter their personal and address details.

  1. In the navigation pane of Dev Studio, click Case types, and then click the case type that you want to open.
  2. On the Workflow tab, click Life cycle.
  3. In the Case life cycle section, click an assignment or an approval step.
  4. In the Step properties panel, click Configure view.
  5. In the dialog window, click Add field.
  6. In the Field text box, enter a unique name for the field.
  7. In the Type list, define a field type:
    • To create a field that contains scalar properties, select a type from the Simple section.
    • To create a field that contains complex and custom properties, for example attachments, select a type from the Fancy section.
  8. If more configuration options are available, perform the following actions for a field:
    Choices Actions
    Add a text paragraph to the form
    1. In the Type list, select Text (paragraph).
    2. Click the Configure paragraph icon.
    3. In the dialog window, in the Display as list, define whether to display the paragraph as plain or rich text.
    4. Click Submit.
    Add a picklist to the form
    1. In the Type list, select picklist.
    2. Click the configure options icon.
    3. In the dialog window, in the Display as list, define a display mode for the picklist.
    4. In the Picklist options, define choices for the picklist.
      You can create your own choices or source them from a data view.
    5. Click Submit.
    Add an attachment field to the form
    1. In the Type list, select Attachment.
    2. Click the Choose the attachment category icon.
    3. In dialog window, in the Attachment category list, select the category.
    4. Click Submit.
    Add a user reference to the form
    1. In the Type list, select User reference.
    2. Click the Configure user reference icon.
    3. In the dialog window, in the Select record using list, define whether users can search for a user ID by using a search box or a drop-down list.
    4. Click Submit.
  9. In the Options list, define a display mode for the field:
    • To indicate that users can optionally complete the field, select Optional.
    • To indicate that users need to provide the value in the field, select Required.
    • To indicate that users can only view the field, select Read-only.
    • To indicate that users can only view the field and an application determines the value at run time, select Calculated (read-only).
  10. Click Submit.
What to do next: After you add a new field, the field becomes part of a data model for your case type, so that you can reuse the field in other forms. For more information, see Reusing fields on forms.