Oracle Apex Use of apex_web_service.make_rest_request

Instead of use UTL_HTTP.BEGIN_REQUEST in PL/SQL oracle apex offered to make web service request through “apex_web_service.make_rest_request” API.  Example Web Service Sample URL: http://quotes.rest/qod.json Syntax:- DECLARE l_response CLOB; BEGIN l_response:= apex_web_service.make_rest_request(p_url => ‘http://quotes.rest/qod.json’, p_http_method => ‘GET’ ); END; Webservice Response:- { “success”: { “total”: 1 }, “contents”: { “quotes”: [ { “quote”: “If you want to test your memory, try to recall what you were worrying about … Continue reading Oracle Apex Use of apex_web_service.make_rest_request

Get domain name from Email in Oracle SQL

How to get domain name from given email id in Oracle SQL (or) PL/SQL Very easy to get domain name from mail id like ‘thamaraiapex@gmail.com’ => gmail SELECT (substr(substr(‘thamaraiapex@gmail.com’, instr(‘thamaraiapex@gmail.com’, ‘@’) + 1), 1, instr(substr(‘thamaraiapex@gmail.com’, instr(‘thamaraiapex@gmail.com’, ‘@’) + 1), ‘.’) – 1)) as domain_name FROM dual; Result:- gmail Continue reading Get domain name from Email in Oracle SQL

Oracle Apex Customize CSS for Navigation Bar List

How to customize navigation bar list like background color font style? Yes, We can customize the navigation bar list items with User Defined Attributes Use 2nd Attribute to mention your CSS Classes. Mention your CSS Styles in your Global CSS or 0th page Style like below. .help_style .t-Button { font-weight: bold !important; background-color: red !important; } That’s it, now you can showcase your navigation bar list … Continue reading Oracle Apex Customize CSS for Navigation Bar List

Refresh Report Region when Click Modal Dialog Close Button

Hope we face this issue when click  “X” button report region could not be able to refresh report region, We can achieve this from Creating Custom Dynamic Action. Step 1: Create Custom Dynamic Action Step 2: Create Custom Event : dialogclose, Selection Type as : Jquery Selector, jQuery Selector : body That’s it we can refresh the report region when close dialog.   Continue reading Refresh Report Region when Click Modal Dialog Close Button

Hide Unwanted Columns In IR Report Download (CSV, HTML, PDF..)

Dear Friends, We are facing the report when unwanted columns also downloaded from “IR Report” CSV, PDF, HTML and etc.. For this we have server side condition for a column to hide when download the report. “NVL(:REQUEST,’EMPTY’) NOT IN(‘CSV’,’XLS’,’PDF’,’XML’,’RTF’,’HTMLD’)” If we have the conditon on that column it will not included in the report. Hope it will be usefull to us. Continue reading Hide Unwanted Columns In IR Report Download (CSV, HTML, PDF..)