Idea Summary
When a page item in an APEX form uses a List of Values (LOV), developers should be able to link that LOV to a Form page that creates and maintains its values. If such a link exists, APEX would show a small action (for example a "+" or "Add new" button) next to the item. When the user clicks it, the linked Form opens in a modal dialog. The user can add the missing value without leaving or losing the record they are currently entering.
When the modal dialog closes, the LOV would refresh on its own and the new value would be selected in the item. The user can then go on with the original form right away.
Today the developer has to build this by hand for every item: a button, a modal page, a Dialog Closed dynamic action, an LOV refresh and the value assignment. That work is repeated across the application and is often done differently each time. If this were a declarative LOV setting, every item using that LOV would get the same behavior automatically.
Use Case
- A user is entering a sales order and the customer they need isn't in the Customer LOV yet. Today they must cancel or save a partial order, go to the Customers page, add the customer and then come back to start over. With this feature they click "+", add the customer in a modal, and the new customer is selected on the order.
- Lookup tables such as cities, categories, product types, payment terms, suppliers and cost centers, which users often need to add to while entering data.
- Large applications where the same shared LOV is used on dozens of pages. If the Form is linked once at the LOV level, every page gets the feature at no extra cost, and the user experience stays the same everywhere.
- Fewer abandoned or incomplete records, and fewer users typing values into free-text fields because the right value "wasn't in the list".
Preferred Solution (Optional)
- In Shared Components > List of Values, add a new section named "Maintenance Form" (or similar) with these attributes:
- Target page: a modal dialog Form page in the same application.
- Return item: the page item on the target Form that holds the new primary key value (for example
P20_ID).
- Authorization scheme (optional): who can see the "add new" action.
- In the page item properties (Select List, Popup LOV, Combobox, Radio Group and so on), add an option such as "Show Add New Action: Yes / No / Inherit from LOV". The developer could also override the button's icon and label.
- At runtime, when the dialog closes after a successful insert, APEX would refresh the item's LOV and set the item to the returned value. This is the behavior developers build by hand today with a Dialog Closed dynamic action.
- Optionally, an "Edit" action could open the same Form for the value currently selected, so it can be maintained in place.