28.2 GET_WORKSPACE _FILES Function

This function exports the given workspace's static files.

Syntax

FUNCTION GET_WORKSPACE_FILES (
    p_workspace_id     IN NUMBER,
    p_with_date        IN BOOLEAN  DEFAULT FALSE )
    RETURN apex_t_export_files;

Parameters

Parameters Description
p_workspace_id The workspace ID.
p_with_date If TRUE, include export date and time in the result.

Returns

A table of apex_t_export_file. The result is a single file, splitting into multiple files will be implemented in a future release.

Example

Export the workspace files of the workspace with id 12345678.

DECLARE
    l_file apex_t_export_files;
BEGIN
    l_file := apex_export.get_workspace_files(p_workspace_id => 12345678);
END;