Skip to content

Editing and converting documents

ADM opens files in the browser rather than making users download, edit and re-upload. What you get depends on the file type, and two of the features depend on external services you have to configure.

File typeOpens as
PDFInline PDF viewer
Images (PNG, JPEG, GIF, …)Image viewer, with editing — see Editing images
HTML, MarkdownRendered inline
.msg, .emlEmail viewer: headers, body and the attachment list
Office documents (Word, Excel, PowerPoint)The AOE editor — see Editing Office documents
Anything elseDownload

Files larger than DOWNLOAD_FILE_THRESHOLD (50 MB by default) offer a download instead of a preview, whatever their type. See Settings reference.

APEX Office Edit (AOE) opens a Word, Excel or PowerPoint document in the browser and saves the result back into ADM as a new version of the same document. The document keeps its id, so its shares, tags, comments and audit history carry straight over.

AOE is a hosted service that your database talks to, and that talks back to your APEX instance.

  1. Set the endpoint and key:

    SettingValue
    AOE_API_URLhttps://api.apexofficeedit.com/, or your own AOE server
    AOE_API_KEYyour AOE key
  2. Check outbound access from the database to that URL — an ACL entry and, in most networks, a proxy. Without it every AOE call fails before it leaves the database.

  3. Use Administration → Test AOE with Oracle Cloud to verify the round trip before telling users about it.

  4. If a save fails, Administration → AOE RESTful service logs shows what the service sent and what came back.

APEX Office Print (AOP) converts a document to PDF. The PDF is stored as a new document in the same folder, not as a version of the original — you keep both.

From the row menu of a document, choose Convert to PDF. From PL/SQL:

begin
adm_context_api.system_user_login('JDOE');
adm_aop_api.convert_to_pdf(
p_document_id => l_document_id
, p_document_name => null -- default: the source name with a .pdf extension
, p_overwrite => false -- false: a name clash gets a timestamp appended
-- true: a name clash becomes a new version of the existing PDF
);
commit;
end;
/

Configure it with two settings:

SettingValue
AOP_API_URLhttps://api.apexofficeprint.com/, or your own on-premise AOP server
AOP_API_KEYyour AOP key. Admin-only, so reading it needs an admin context

Images open in an editor that can crop, rotate and adjust in place. Saving writes a new version of the document, exactly like an Office edit.

Any document can carry comments, optionally tied to the version they were written against. See Working with documents.