Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[26.1] APEXDEV.TEMPLATE_DIRECTIVE.TEMPLATE_NOT_FOUND

Alex NuijtenJul 14 2026

We're testing out APEX 26.1, coming from APEX 24.2.13.

Universal theme is 26.1, compatibility mode: 26.1

In one of our interactive reports there is a column (plain text) with the following HTML-expression:

{with/}
   LABEL:=Logistic Status
   VALUE:=#LOGISTIC_STATUS#
   STATE:=#BADGE_STATE#
   ICON:=#BADGE_ICON#
   LABEL_DISPLAY:=N
   SHAPE:=t-Badge--circle
{apply THEME$BADGE/}

Running this page results in an error:

  • is_internal_error: true
    apex_error_code: APEXDEV.TEMPLATE_DIRECTIVE.TEMPLATE_NOT_FOUND
    original message: Template Component "THEME_101$BADGE" not found.
    original_additional_info: Contact your application administrator.
    ora_sqlcode: 100
    ora_sqlerrm: ORA-01403: no data found
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 66714150993324965
    component.name: Orders
    error_backtrace: ORA-06512: at "APEX_260100.WWV_FLOW_TEMPLATE_DIRECTIVE", line 4422
    

Changing the HTML-expression to:

{apply THEME_42$BADGE/}

resolves that issue.

Removing the “_42” shows an error, but you can still save and run - returning the error again.

I tried to replicate on oracleapex.com, and the opposite is true.. Adding “_42” results in that error.

This template component was easy to discover.. but there are others that are hidden away and not easy to find.. like trying to find a reference to THEME$AVATAR… we're not using this, but it could be hidden in some other component..

Comments
Post Details
Added on Jul 14 2026
12 comments
247 views