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:
Begin by navigating to the child object you created and expanding its node.
Step 1You are adding a field, so click the Fields link.
Step 2Click the Create a custom field button.
Step 3The Select Field Type window appears.
Step 4Click the Choice List (Fixed) option.
Step 5Click the OK button.
Step 6The Create Fixed Choice List page appears.
Step 7Enter the field name users will see.
In the Display Label field, enter "Status".
Step 8In 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 9Search for the list of values we created for the trouble ticket.
Click the Search and Select Lookup Type button.
Step 10Enter your search criteria.
For example, in the Lookup Type field, enter "TT_STATUS".
Step 11
Click the Search button.
Step 12This is the lookup type we want.
Step 13Click the OK button.
Step 14We want each new activity to have a status of Open when you create it, so we will enter a default value.
Step 15Click the Fixed Value list and select Open.
Step 16Click the Open list item.
Step 17Click the Save and Close button.
Step 18This completes the demonstration of adding a fixed choice list field to a child object.