Posts

Showing posts with the label EMAIL TEMPLATE

Build beautiful and interactive API documentation for ORDS

Image
In this blog post, I will show you how to quickly build beautiful and interactive API documentation for your Oracle APEX REST data sources using  swagger hub . Using APEX v23.1. I downloaded the  titanic data set  and loaded them into tables in my APEX instance, created some authorized restful services and published them using swagger hub. You can create a free account on swagger hub.   Check out my titanic swagger hub here ; Press Authorize. Username REST, password Glasgow123! I won't go through creating RESTful services and just show you the four I created that sit on top of the titanic data set; The GET is a very simple SQL query;      select * from TITANIC_DATA_SET_NEW A handy tip is to add comments, as there will appear on swagger hub, making your API self documenting; Once you have created your modules, press the Generate Swagger Doc button; This will generate an open API for you.  Copy the API and paste it into swagger hub This will generat...

How to send an email from your ORACLE APEX app

Image
Sending emails from your APEX application using APEX Email Templates is super simple. The project specification was to add buttons to a form to allow users to press a button to email students whether they have been successful or unsuccessful in their scholarship application. This is how we did it.  The application form is a standard APEX form where we will add a button to the form that when pressed will send an email; In this example I will walk you through the creation of the rejection email.  First, we created a new email template for rejection emails with the name REJECTION ; with the following identification; To send images in the email ensure they are hosted on a publicly available site.  In this case, I hosted the University of Glasgow logo on my Google Drive and put it in the header of the email using the HTML IMG tag; The body is standard HTML using  substitution strings   (Special substitution strings available within a template are denoted by the nu...

Popular posts from this blog

Oracle APEX Interactive Grid colour cells based on a condition using JavaScript and CSS

Add a timeline diagram chart to your APEX app - Part 2 of the HighChart Series

How to send an email from your ORACLE APEX app