Reports OpenProdoc


1- Introduction

The "Reports" function is developed for showing or exporting metadata from documents and folders in the desired format. The reports cover both functions because depending on the report file is possible to generate an html document formatted for good visibility or documents in CSV or XML format for exporting to other systems.

With the "Reports" function it's possible to obtain pages as:

Report Example

The operation is as follows:

Screenshot ListReports

2- Syntax

The syntax of the OPD reports is as follows:

Examples:

Assuming two document types (simplified for clarity) with the metadata (in brackets "username" metadata):

PD_DOCS

Dossier (subtipe of PD_DOCS):

And a result list:

PD_DOCS:

PD_DOCS:

Informe:

This report template:

# Example of report tamplate. This comment will not be shown
================================================================================

Folder Content:
+@OPD_GLOBPARENT

# Records loop start
@OPD_DOCSLOOP_S
Doc:
+@OPD_RECCOUNT
--------------------------------------------------------------------------------
Identifier=
+@OPD_REF_ATTR_PDID
@OPD_UNAME_ATTR_TITLE
+=
+@OPD_REF_ATTR_TITLE
@OPD_UNAME_ATTR_DocDate
+=
+@OPD_REF_ATTR_DocDate
--------------------------------------------------------------------------------

# Records loop End
@OPD_DOCSLOOP_E

Total Docs=
+@OPD_RECCOUNT
+ Page:
+@OPD_PAGCOUNT

================================================================================

Will create this report:

================================================================================

Folder Content:/Report Test

Doc:1
--------------------------------------------------------------------------------
Identifier=1001
Document_Title=Document 1
Document_Date=2015-02-15
--------------------------------------------------------------------------------

Doc:2
--------------------------------------------------------------------------------
Identifier=1002
Document_Title=Document 2
Document_Date=
--------------------------------------------------------------------------------

Doc:3
--------------------------------------------------------------------------------
Identifier=1003
Document_Title=Document 3
Document_Date=2001-04-25
--------------------------------------------------------------------------------


Total Docs=3 Page:1

================================================================================

View: Folders Search y Documents Search


Help Index OpenProdoc