14.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 wwv_flow_t_export_files;

Parameters

Table 14-2 GET_WORKSPACE_FILES Function 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(p_workspace_id => 12345678);
end;