Creating a Fixed Choice List Field for an Object in Application Composer



Steps:

  1. Hello, my name is John, and today we are discussing extending  applications using Application Composer.

    Step 1
  2. In this demo, I will show you how to create a fixed choice list field for an object in Application Composer.

    Step 2
  3. This is the second in a series of related demos that show how to create a custom object, add fields to it, and create the user interface.

     

     In this series, we create a  simple trouble ticket application that the sales organization can use to log customer issues.

    Step 3
  4. To create a field, you start by clicking on the Fields link under the object.

     

    In this example, we're adding a field to a custom object , but we could also add one to a standard object.

    Step 4
  5. Notice that there are two tabs on the Fields page. The Custom tab where we create custom fields.

    Step 5
  6. And the Standard tab where you can modify the label or appearance of any standard field on an object.

    Step 6
  7. We'll stay on the Custom tab because we are creating a new field. 

    Step 7
  8. The field we are creating let's users select the status of a trouble ticket from a list, so let's select the Choice List (Fixed) option.

    Step 8
  9. Click the OK button.

    Step 9
  10. Enter the name users will see in the UI into the Display Label field.

     

    Enter the desired information into the Display Label field. Enter

     a valid value
     e.g.
     "Status"
    .

    Step 10
  11. Now let's create the list of values, called the lookup type.

     

    Click the Create button.

    Step 11
  12. In the Meaning field, enter a name that will help you identify the lookup type. You may want to reuse the same lookup type for other fields.

     

    Enter the desired information into the Meaning field. Enter

     a valid value
     e.g.
     "Trouble Ticket Status"
    .

    Step 12
  13. In the Lookup Type field, we enter a unique name that's internal to the application. It's not displayed to users and no spaces are permitted.

     

    Enter the desired information into the Lookup Type field. Enter

     a valid value
     e.g.
     "TT_STATUS"
    .

    Step 13
  14. Now let's add the two status values, Open and Closed.

     

    Click the Create Lookup Code button.

    Step 14
  15. In the Meaning field, we enter the wording the users will see.

     

    Enter the desired information into the Meaning field. Enter

     a valid value
     e.g.
     "Open"
    .

    Step 15
  16. Press [Tab].

    Step 16
  17. In the Lookup Code field, we enter the internal name which is not displayed to the user.

     

    Enter the desired information into the Lookup Code field. Enter

     a valid value
     e.g.
     "Open"
    .

    Step 17
  18. Press [Tab].

    Step 18
  19. We want Open to be the first value displayed in the list, so we'll enter "10" as the Display Sequence.

     

    Enter the desired information into the Display Sequence field. Enter

     a valid value
     e.g.
     "10"
    .

    Step 19
  20. Now let's add  the Closed status

     

    Click the Create Lookup Code button.

    Step 20
  21. Enter the desired information into the Meaning field. Enter

     a valid value
     e.g.
     "Closed"
    .

    Step 21
  22. Enter the desired information into the Lookup Code field. Enter

     a valid value
     e.g.
     "Closed"
    .

    Step 22
  23. Press [Tab].

    Step 23
  24. We want to Closed to be the second value in the list, so we must enter a  number that's higher than 10 for the display sequence.

     

    Enter the desired information into the Display Sequence field. Enter

     a valid value
     e.g.
     "20"
    .

    Step 24
  25. We are done, so let's save.

    Click the Save button.

    Step 25
  26. Now that we have defined the list of statuses, we want to set Open as the default when users create the trouble ticket.

    Click the Default Value list.

    Step 26
  27. Click the Open list item.

    Step 27
  28. Before we save, I want you to notice that the application automatically populated the Name field based on what you entered as the display label.

     

    You could  have two fields with the same display label, but this internal name must be unique.

    Step 28

  29. Click the Save and Close button.

    Step 29
  30. In this demo you learned how to create a fixed choice list field for an object in Application Composer.

    You can find additional learning resources in your Oracle Fusion Help application, as well as in the Oracle Learning Library, and at Oracle University. Thank you.

    Step 30

Table of Contents  Start Topic