Skip to main content

Installation

Overview

The plug-in can be installed using the plug-in sample application or DDL Scripts installation file. The plug-in installation must be finished by activating the plug-in license.

Please make sure you read this part, as it is necessary for every installation of the plugin

Install necessary files

Explore plug-in capabilities and features

If you want to explore how the plug-in is used in the public sample application, you should choose sample application installation method. The plug-in sample application allows you to explore all the plug-in features in an already built and configured sample application.

This method is the easiest and fastest because it comes down to Importing and installing the sample application file:

  1. Install the plug-in sample application
  2. Activate the plug-in license

Use the plug-in in an existing application

If you want to start using the plug-in in your application, you should choose manual installation method. The plug-in bundle contains DDL scripts creating only mandatory database objects and the plug-in installation file. The supporting plug-ins have to be installed one by one.

The manual installation includes the following steps:

  1. Import & run the DDL script creating database objects
  2. Import & install the plug-in
  3. (optional) Install the supporting plug-ins
  4. Activate the plug-in license

Installation pre-requisites

  • Oracle Database 12c or above
  • Oracle Application Express (APEX) 19.2 or above installed

Sample application installation

Overview

The plug-in sample application is the easiest way to explore the plug-in features. The sample application implements basic and advanced examples showcasing the plug-in in action.

The sample application is a good starting point to understand how easy it is to use the plug-in and how to integrate supporting plug-ins using Oracle APEX dynamic actions and processes.

Learn more about data objects the sample application uses in the section Item plug-in \ Database objects.

install-sample-app-16

Importing the Sample Application

  1. Log into your APEX application builder

  2. Click on the Import button to start the Oracle APEX application installation wizard

    image-20230227215018621

  1. Click on the Drag and Drop region

  2. Select the sample application file uc_pdf_region_pro_sample_app.sql

  3. Click the Next button

    image-20230227215234425

  4. After successfully uploading the application installation file, you will see a file import confirmation.

  5. Click the Next button

    image-20230227215423865

Proceed to the next installation step Set the application installation settings

Set the application installation settings

  1. Configure or use the default values in the form

  2. Click the Install Application button

    image-20230227215622770

  3. Don't close the page - wait until APEX finishes installing the application. When the application installation is complete, you will be redirected to the next step.

    image-20230227215730571

  4. Make sure Install Supporting Objects is enabled (the sample application requires all supporting objects installed)

  5. Click the Next button

    image-20230227215956856

  6. Click the Install button

    image-20230227220242390

  7. Don't close the page - wait until APEX finishes installing the supporting objects.

  8. When the supporting objects are installed, you will be redirected to the next step.

    image-20230227220330417

  9. You will see the installation wizard confirmation when the installation finishes.

    image-20230227220759571

If an error terminates the installation, it can be verified by clicking the Install Summary button - the summary shows the status of all the installed supporting objects.

image-20230227220657489

Install necessary files

When you have installed the plugin in your app (or installed the sample app), when you launch the app now you will get a message saying that you need to install the necessary files.

Screenshot 2023-06-12 at 19.11.07

This is a big plugin, so we decided to split up the installation process in order to make the installation process more reliable.

  1. Go to Shared components in the application where you installed the plugin

    extra-installation

  2. Go to Plug-ins

    extra-installation

  3. Go to UC - PDF Region Pro plugin

    extra-installation

  4. Scroll down on this page until you see the Files tab or just press the Files tab in the navigation bar at the top

    extra-installation

  5. Press Create File

    extra-installation

  6. Drag and Drop lib.zip file in the extra's folder from the plugin download

    extra-installation

  7. Click the Create button (please stay on this page until the files are all created this can take a while)

    extra-installation

  8. Now you can run your application and all should be installed!

Activate license

After successful installation, the plug-in license has to be activated using PL/SQL code. The instructions describe activating the plug-in United Codes PDF Region Pro in the Trial Mode.

Get a license from the portal

The license activation process requires the plug-in license API key and plug-in name. Both information can be found in the United Codes Plug-ins Pro portal.

  1. Log into Plug-ins Pro Portal

    image-20230303125606212

  2. Scroll the dashboard page to the section Free Trials

  3. Click the PDF Region Pro Editor Pro card

    image-20230303130425129

  4. The plug-in name and the API key are presented in opened modal page. These values are required to activate the plug-in in the next steps

    image-20230303130536548

  5. Proceed to the next step Activate license using PL/SQL code.

Activate license using PL/SQL code

Activating the plug-in license requires executing PL/SQL code in Oracle APEX SQL Workshop \ SQL Commands. The plug-in can be activated using two scenarios:

  1. When Oracle APEX schema has access to the internet
  2. When Oracle APEX schema has no access to the internet

Schema has access to the internet

When the Oracle APEX schema in which the plug-in is installed has access to the internet, the activation process requires only executing PL/SQL code in Oracle APEX SQL Workshop.

  1. Go to SQL Workshop \ SQL Commands
  2. Run the auto_license procedure
begin
uc_pluginspro.auto_license(
p_plugin => 'PLUGIN_NAME', -- the plug-in name presented in the Plug-ins Pro dashboard modal
p_api_key => 'YOUR_API_KEY' -- the plug-in API key presented in the Plug-ins Pro dashboard modal
);
end;

In the result of executing the code, you should see the successful message:

Plug-ins Pro license saved for plug-in: UNITEDCODES_PDF_REGION.

See the example screenshot below.

image-20230303132308456

The plug-in has been activated and is ready to use. The successful activation can be checked in the Plug-ins Pro portal. See the screenshot below.

image-20230303154127270


Schema has no access to the internet

When the Oracle APEX schema in which the plug-in is installed has no access to the internet, the activation process requires executing PL/SQL code and generating the plug-in license in the Plug-ins Pro portal.

Execute manual activation #1
  1. Go to SQL Workshop \ SQL Commands
  2. Run the manual_license procedure
begin
uc_pluginspro.manual_license(
p_plugin => 'PLUGIN_NAME', -- the plug-in name presented in the Plug-ins Pro dashboard modal
p_api_key => 'YOUR_API_KEY' -- the plug-in API key presented in the Plug-ins Pro dashboard modal
);
end;

You should see a message with key value. The key is needed to generate a license key in the Plug-ins Pro portal.

image-20230303152144565

Copy the printed key value and proceed to the next step.

Generate license key in Plug-ins Pro Portal
  1. Go to the Plug-ins Pro portal dashboard

  2. Click on the PDF Region Pro Pro card

    image-20230303174802664

  3. Click the button Generate license

    image-20230303152259726

  4. Paste the copied key valuein the new modal window.

  5. Click the button Generate license

    image-20230303152410134

  6. In the result, the plug-in license key is generated

    image-20230303152451555

  1. Copy the generated license key and proceed to the next step.
Execute manual activation #2
  1. Go back to APEX SQL Commands
  2. Execute the procedure manual_license with parameter p_license_key set to copied license key
begin
uc_pluginspro.manual_license(
p_plugin => 'PLUGIN_NAME', -- the plug-in name presented in the Plug-ins Pro Portal
p_api_key => 'YOUR_API_KEY', -- the plug-in API key presented in the Plug-ins Pro Portal
p_license_key => 'GENERATED_LICENSE_KEY' -- license key copied from Plug-ins Pro Portal
);
end;

In the result of executing the code, you should see the successful message:

Plug-ins Pro license saved for plug-in: UNITEDCODES_PDF_REGION

image-20230303152613997

The plug-in has been activated and is ready to use. The successful activation can be checked in the Plug-ins Pro portal. See the screenshot below.

image-20230303154127270