Previous Next JavaScript must be enabled to correctly display this content

## 5 Deprecated Features

Deprecated features are features which Oracle plans to desupport or remove in a future release of Oracle APEX. If a feature is related to application metadata or an API, existing applications can still use the feature, but Oracle strongly recommends that developers start to modify their applications as described in this section. Use APEX Advisor to scan existing applications for deprecated attributes.

### 5.1 Cohere AI Models Deprecated

AI models `cohere.command-r-08-2024`, `cohere.command-r-plus-08-2024`, `cohere.command-latest` and `cohere.command-plus-latest` are now deprecated for AI Services based on the OCI Generative AI Service. Oracle recommends switching to `cohere.command-a-03-2025`, which also allows you to leverage tools, attachments, and more.

### 5.2 Legacy Calendar Templates Deprecated

Legacy Calendar Templates are now deprecated. The Legacy Calendar template is no longer present in Universal Theme 26.1, and APEXlang exports raise an error if Legacy Calendar regions are present. When upgrading your application, APEX automatically removes unreferenced Legacy Calendar Templates.

### 5.3 Deprecated Property

The JavaScript Static ID property, introduced for JET Chart Series components to maintain backward compatibility, is deprecated and displays in Page Designer only if it already has a value. Going forward, use the unique Static ID property in new applications.

### 5.4 Deprecated PL/SQL APIs

APEX_AI

The following procedures are deprecated:

- GENERATE Function Signature 3
- CHAT Function Signature 3

Instead, use the two new signatures that contain a `p_agent_static_id` parameter instead of the deprecated `p_config_static_id` parameter.

APEX_PLUGIN

The following fields in `APEX_PLUGIN.T_REGION` are deprecated:

- `static_id`
- `filter_region_static_id`

Use `dom_id` and `filter_region_dom_id` for new development.

The `name` member of the `APEX_PLUGIN.t_plugin` record is deprecated. Use the new `static_id` member instead.

APEX_UTIL

In `APEX_UTIL`, the following APIs are deprecated:

- `CACHE_GET_DATE_OF_PAGE_CACHE`
  - Instead, use `APEX_PAGE.GET_CACHE_DATE`
- `CACHE_GET_DATE_OF_REGION_CACHE`
  - Instead, use `APEX_REGION.GET_CACHE_DATE`
- `PUBLIC_CHECK_AUTHORIZATION`
  - Instead, use `APEX_AUTHORIZATION.HAS_ACCESS`
- `PURGE_REGIONS_BY_NAME`
- `PURGE_REGIONS_BY_PAGE`
- `PURGE_REGIONS_BY_APP`

### 5.5 Deprecated JavaScript APIs

`apex.util` functions `cancelInvokeAfterPaint` and `invokeAfterPaint` are now deprecated. Use the native browser functions `requestAnimationFrame` and `cancelAnimationFrame` instead.

`widget.grid` method `getSelectedRange` is deprecated. Use `getSelectedRanges` instead.

### 5.6 Export Repository Deprecated

The Export Repository is deprecated, and will be removed in a future release.

### 5.7 RESTful Services Feature in SQL Workshop

The ability to define REST APIs via the RESTful Services feature in SQL Workshop is deprecated with APEX 26.1, and will be removed in a future release of APEX. The declarative specification of REST APIs remains supported via SQL Developer Web.

### 5.8 Deprecated Substitution Strings

As of this release, the following substitution strings are deprecated:

- `#REGION_STATIC_ID#`
- `#BUTTON_ID#`
- `APP_REGION_STATIC_ID`

While these substitutions still function, Oracle recommends developers update their environments to use the replacements below:

- For `#REGION_STATIC_ID#` and `#BUTTON_ID#`, use `#DOM_ID#`
- For `APP_REGION_STATIC_ID`, use `APP_REGION_DOM_ID`

### 5.9 Deprecated Public Views and Public View Columns

Public Views

The `apex_appl_ai_configs` and `apex_appl_ai_config_rag_srcs` views are deprecated, and will be removed in a future release. Instead, use `apex_appl_ai_agents` and `apex_appl_ai_agent_tools`.

AI Configuration Columns

With the rename of AI Configurations to AI Agents, the `ai_config_id` and `ai_config_name` columns are deprecated, and will be removed in a future release. Instead, use `ai_agent_id` and `ai_agent_name`. This change affects the following views:

- `apex_application_page_items`
- `apex_application_page_regions`
- `apex_application_page_da_acts`

STATIC_ID Column

The `STATIC_ID` column in the following public views is deprecated:

- `apex_application_page_regions`
- `apex_application_page_rpt_cols`
- `apex_application_page_buttons`
- `apex_application_page_ir_col`
- `apex_appl_page_ig_columns`

While APEX retains the `STATIC_ID` column for backward compatibility, Oracle recommends using the new `HTML_DOM_ID` column.