Oracle APEX 20.1 introduced new functionality for application components export. Function APEX_EXPORT.get_application got a new parameter named P_COMPONENTS.
So, with this parameter it is possible to make a list of components for which a scripts will be returned. No need to export and split full application.
But beware!
P_SPLIT parameter (boolean value) is still functional and it has a great influence on function result!
If value of P_SPLIT parameter is FALSE, function will return one script for all components from P_COMPONENTS parameter.
If value is TRUE it will return multiple scripts.
For every component 2 scripts will be created:
- delete component script
- create component script
- set environment (as first script in collection)
- end environment (as second last script in collection)
- main install script which executes all generated scripts (as last script in collection)