Oracle Apex Trainer Blog
204 FOLLOWERS
Hi! I'm Naveen Aggarwal. This page is about articles published on Oracle Apex and knowledge sharing based on my personal experience. Do you need training on Oracle Application Express to enhance your career? I'm a Certified Coaching Professional with 17+ years of IT industry experience, and my mission is to find your hidden potential and give you all the necessary tools to develop and..
Oracle Apex Trainer Blog
2y ago
Nobody wants to wait for a page to load and then view the information on page. But in data centric applications it usually happens when a page is trying to fetch the data from backend and rendering again during that time we see a wait symbol on screen.
In my last APEX application, I customized the usual wait icon and used my own image (.PNG file) in one of the pages. Today in this blog I am going to talk about the same. Let me first show you how the page looks like with new icon.
In this page, these five balls moves up and down as a wait icon.
This is the actual GIF file that I used.
Follow ..read more
Oracle Apex Trainer Blog
2y ago
Generally, in Interactive Grids we use local database table for any DML operation. Recently I came across a scenario where the underlying table used in the interactive grid was a remote database table. When I tried to use it through same process I got an error while saving a record after edit. Today in this post I will share my experience regarding the same and how I fixed the issue.
Lets first understand the use case.
I have a remote Snowflake database where I created a table and entered few rows in that. And I have created a DB link to access tables from Oracle Database.
Remote Table Name ..read more
Oracle Apex Trainer Blog
2y ago
In Oracle APEX we have a feature to call Web API which gives data in JSON format. Along with the native features we can use JavaScript also to call a Web API in APEX.
Here, I will demonstrate a small example how to build the code for the same.
Step 1: We create a static type region and two page items, let's say P5_URL (Type: Text Field) and P5_RESPONSE (Type: Textarea) . One for giving the Web API and second is to get the response.
Step 2: Write the below JavaScript code in page property "Function and Global Variable Declaration"
function CALL_TO_WEBSERVICE() { var urlvariable; var ItemJSON ..read more
Oracle Apex Trainer Blog
2y ago
In this post I will discuss about the remaining steps of Oracle APEX installation.
In case you didn't read the part 1, please go through the following link:
https://www.oracleapextrainer.com/post/oracle-apex-installation-with-ords-part-1
Step 3: Apache Tomcat Configuration
Next we are going to deploy Apache Tomcat. Apache Tomcat is one of the most popular web server and servlet container for Java code. It is an open source software and is used for web applications written in Java that don't require full Java Enterprise Editions specifications, but still need a reliable tool.
Here are the step ..read more
Oracle Apex Trainer Blog
2y ago
In this post we will learn about the new Smart Filters region, which is added to APEX 21.2
It is a new search component that provides end-users with numerous fitters to narrow search results at run-time. Developers can use this component to provide users with a simplified search experience using custom filters that eliminate clutter and provides a single control to instantly find the information they are looking for.
Smart Filters features a powerful new search bar that provides built-in auto-complete for your filters.
Search suggestions are at the heart of Smart Filters. These suggestions a ..read more
Oracle Apex Trainer Blog
2y ago
While working on a customized application sometimes we need to create the application documentation or user manual for the end users. We can upload this documentation in the backend table and share a link to download.
This article describes how to create a link to initiate a file download from an APEX application.
Step 1: PL/SQL Code
For this example, I am going to assume you have a table called DOCUMENTS that holds your media in a BLOB column, along with a column for the MIME type. Here is the code I would use to initiate the file download.
CREATE OR REPLACE PROCEDURE get_file (p_doc_id IN ..read more
Oracle Apex Trainer Blog
2y ago
Sometimes we need to change the label of an item dynamically based upon the value of some other item. Recently I came across this scenario and there I used a Dynamic Action running some JavaScript.
Today I am going to share the JS code and steps to implement the same.
I have two items P234_NATIONALITY and P234_OMANG_ID. I am changing the label text for P234_OMANG_ID item depending on the value chosen for item P234_NATIONALITY, which is a select list in my case.
The method uses jquery to search for a "label" tag with the attribute "for" that associates it with the desired item; we then naviagte ..read more
Oracle Apex Trainer Blog
2y ago
We already know that Data Synchronization is a feature which enables developers to automatically sync the contents of a local table with the data from an external REST service. Basically, APEX invokes the REST Service defined in the REST Data Source, downloads all data and synchronizes to a local table. APEX can create the local table based on the columns in the REST Data Source's Data Profile. Since the table is physically available in the database schema, developers can add indexes, change physical properties, or even add more columns. APEX Components (reports, charts, etc) will be able to ..read more
Oracle Apex Trainer Blog
2y ago
The APEX_DATA_PARSER is a frequently used API which provides an easy interface to parse files from different file formats such as comma-separated-values (.csv), json, xml and xlsx. It was first introduced in APEX 19.1 version
It also helps us to analyze a file to understand its format and structure and identify the field names and datatypes of the fields.
In order for APEX_DATA_PARSER to parse a file, it must be in a BLOB format. We can make use of APEX_WEB_SERVICE API for this purpose.
The apex_web_service.make_rest_request_b is a PL/SQL function which invokes a RESTful style Web service and ..read more