Creating Static Lists
A Static List is based on predefined display and return values.
- About the Process of Creating a Static List
- Creating a Static List from Scratch
- About Adding Entries and Sublists to a Static List
- Adding Entries or Sublists from Scratch
- Copying Static List Entries Between Lists
- Reparenting Static List Entries
- Managing Orphaned Static List Entries
- Resequencing Static List Entries
Parent topic: Creating Lists
About the Process of Creating a Static List
The process of creating a static list involves the following steps:
-
Step 2: Specify whether to create the list from scratch or by copying an existing list.
You can add list entries by either creating them from scratch or by coping entries from an existing list. If you copy an entire list, you also copy all of its list entries.
-
Step 3: If creating a list from scratch, you are prompted to select a list type. Select Static.
Each list element has a display condition, which enables you to control when it displays. You can define a list element to be either current or non-current for a specific page.
-
Step 4: Add the list to a page by creating a List region.
How you perform these steps is a personal preference. You can perform the first three steps when you run the Create List Wizard. Alternatively, you can perform these steps one at a time.
See Also:
Parent topic: Creating Static Lists
Creating a Static List from Scratch
To create a list from scratch:
- Access the Create/Edit Lists Wizard:
- On the Workspace home page, click the App Builder icon.
- Select an application.
- On the Application home page, click Shared Components.
- Under Navigation, click Lists.
- Click Create.
- For Source, select From Scratch and click Next.
- For Name and Type:
- Name - Enter a numeric or alphanumeric name for the list.
- Type - Select Static.
- Build Option - If applicable, select a build option for this component. Build options are predefined settings that determine whether components within an application are enabled.
- Click Next.
- For Define List Entries, specify the following:
- List Entry Label - Enter a numeric or alphanumeric name for the list.
- Target Page ID or custom URL - Select a target page or enter a custom URL.
- Click Next.
- For Confirm, specify the following:
Parent topic: Creating Static Lists
About Adding Entries and Sublists to a Static List
Once you create a list, you must add entries to it. You can add list entries when creating a list from scratch, copying a list entry from within a list, or copying existing entries from one list to another.
You can also create hierarchical lists that contain sublists. To create a hierarchical list, you must:
-
Select a list template that supports hierarchical lists. To determine which list templates support hierarchical lists, look for templates having the naming convention "with Sublist."
-
Select a Parent List Item when you create each list entry.
See Also:
Parent topic: Creating Static Lists
Adding Entries or Sublists from Scratch
To add an entry or sublist from scratch:
See Also:
-
"COUNT_CLICK Procedure" in Oracle Application Express API Reference
Parent topic: Creating Static Lists
Copying Static List Entries Between Lists
You can copy static list entries from one list to another.
To copy list entries between lists:
- Navigate to the Lists page.
- Select the list to copy.
- On the Tasks list, click Copy List Entries from one List to Another.
- From Copy List Entries, select the list to copy to and click Next.
- Click Copy List Entries.
Parent topic: Creating Static Lists
Reparenting Static List Entries
Use the Reparent List Entries page to manage list entry hierarchy.
To reparent list entries:
- Navigate to the Lists page.
- Select the list.
- From the Tasks list, click Reparent List Entries within this List.
- Use Start With to restrict your view to a subset of hierarchy. Make a selection and click Go.
- From Reparent To, select a new parent.
- Select the entries to move.
- Click Reparent Checked Entries.
Parent topic: Creating Static Lists
Managing Orphaned Static List Entries
An orphaned list entry is a list entry which has a parent, but the parent is no longer a member of the current list. When a list entry becomes orphaned, remove the parent entry.
To manage orphaned list entries:
- Navigate to the Lists page.
- Select the list.
- From the Tasks list, click Manage Orphaned List Entries.
- Select the entries to remove.
- Click Clear Parent Entries.
Parent topic: Creating Static Lists
Resequencing Static List Entries
You can resequence list entries in increments of 10 on the Clean Up page.
To clean up list entries:
- Navigate to the Lists page.
- Select the list.
- From the Tasks list, click Clean Up List Entries.
- Click Clean Up.
Parent topic: Creating Static Lists