Adding a Fixed Choice List Field to a Child Object


In this demonstration, you will learn how to create a fixed choice list field for a child object, using a status field as an example.

 

Users will select either Open or Closed from a list to indicate the status of an activity while resolving the issue in a trouble ticket.

 

This is the third in a series of related demonstrations on creating a child object in Application Composer. These demonstrations cover:

1. Creating a child object

2. Adding a long text field to a child object

3. Adding a fixed choice list field to a child object

4. Adding a subtab to display the child object records

5. Testing the subtab in the runtime application


Steps:

  1. Begin by navigating to the child object you created and expanding its node.

    Step 1
  2. You are adding a field, so click the Fields link.

    Step 2
  3. Click the Create a custom field button.

    Step 3
  4. The Select Field Type window appears.

    Step 4

  5. Click the Choice List (Fixed) option.

    Step 5
  6. Click the OK button.

    Step 6
  7. The Create Fixed Choice List page appears.

    Step 7

  8. Enter the field name users will see.

     

    In the Display Label field, enter "Status".

    Step 8
  9. In the List of Values region, specify the list of statuses you want to use.

     

    Because the trouble ticket uses the same statuses, we can reuse the lookup type we already created.

    Step 9
  10. Search for the list of values we created for the trouble ticket.

     

    Click the Search and Select Lookup Type button.

    Step 10
  11. Enter your search criteria.

     

    For example, in the Lookup Type field, enter "TT_STATUS".

     

    Step 11
  12. Click the Search button.

    Step 12
  13. This is the lookup type we want.

    Step 13

  14. Click the OK button.

    Step 14
  15. We want each new activity to have a status of Open when you create it, so we will enter a default value.

    Step 15

  16. Click the Fixed Value list and select Open.

    Step 16
  17. Click the Open list item.

    Step 17
  18. Click the Save and Close button.

    Step 18

This completes the demonstration of adding a fixed choice list field to a child object.

Table of Contents  Start Topic