Skip to Main Content

Find JavaScript

WorkspaceApplication IdPage IdObject TypeObject NameJavascript
TEDSTRUIK25384-apex_application_temp_listjavascript_code_onload (menu bar)var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$); if (e.hasClass("js-addActions")) { apex.actions.addFromMarkup( e ); } e.menu({ behaveLikeTabs: e.hasClass("js-tabLike"), menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null, iconType: 'fa', menubar: true, menubarOverflow: true, callout: e.hasClass("js-menu-callout") });
TEDSTRUIK25384-apex_application_temp_listjavascript_code_onload (menu popup)var e = apex.jQuery("##PARENT_STATIC_ID#_menu", apex.gPageContext$); if (e.hasClass("js-addActions")) { apex.actions.addFromMarkup( e ); } e.menu({ iconType: 'fa', callout: e.hasClass("js-menu-callout")});
TEDSTRUIK25384-apex_application_temp_listjavascript_code_onload (side navigation menu)apex.jQuery('body').addClass('t-PageBody--leftNav');
TEDSTRUIK25384-apex_application_temp_listjavascript_code_onload (top navigation menu)var e = apex.jQuery("#t_MenuNav", apex.gPageContext$); if (e.hasClass("js-addActions")) { apex.actions.addFromMarkup( e ); } e.menu({ behaveLikeTabs: e.hasClass("js-tabLike"), menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null, menubar: true, menubarOverflow: true, callout: e.hasClass("js-menu-callout") });
TEDSTRUIK25384-apex_application_temp_listjavascript_code_onload (wizard progress)apex.theme.initWizardProgressBar();
  • 1 - 5 of 189

Info

Searching for javaScript in Apex applications is not difficult; there are multiple ways to do that - for example:
  • Use the Search function of the Apex Builder. The best option but not complete and not easy to use/export.
  • Search through an application export. Not very easy to read.
  • Use the report under Utilities - Embedded Code in the Apex Builder. Nice but also incomplete.
So, to find all JavaScript in the entire application, I created a view.
I'm quite sure it is not complete either, but extending this view would be quite easy.

The Apex views contain all the information we need here; we just have to find it.
So I combined the views/columns I knew about, with all the views/columns that have JS or JAVASCRIPT in their column names and/or comments.
This results in quite a large list - see the query of the view below - of both actual JavaScript code and references to files that contain JavaScript.

This is the query I used to create the SQL statements for the Apex views, for use in my own view:

This approach would also work for finding CSS I suppose - same idea, just using different views.

Code

Page

Identification
Page ID
Name
Page Alias

Region

Identification
Sequence
Title
Type
Source
Source Type
Table Name

View

View
Name
DDL