Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

urn:com.cohga.server.report.birt#1.0

Tags

report

Properties

Name

Type

Required

Description

id

string

yes

Unique identifier

label

string

yes

User presented label for the report

design

string

yes

The name of the report design file

description

string

no

A description to show to the user

entity

string

no

The name of the entity that this report should be associated with

formatsstringnoA comma separated list of the formats that should be available for the reports, e.g. "pdf,html,docx"

enablesFor

string

no

An expression that indicates the number of selected entities required for the report

groupstringnoUser presented label for groups. Reports with same group label will appear together within the same sub menu

Sub-tags

Name

Type

Cardinality

acl

urn:com.cohga.server.acl#1.0:acl

0..1

Content

None

Notes

  • An ACL can either be defined in-line or referenced indirectly, but only one should be used (the in-line version will take priority)
  • enablesFor can be one of:

    !

    size = 0

    ?

    size = 0 or 1

    +

    size >= 1

    *

    size >= 0

    n

    size = n

    n+

    size >= n

    n-

    size >= n

    -m

    size <= m

    n-m

    n <= size <= m


reports

Properties

Name

Type

Required

Description

id

string

yes

Unique identifier pre-pended to report design name to generate report id

dir

string

yes

Directory name containing report to be added, either relative to workspace or absolute

entity

string

no

The name of the entity that these reports should be associated with

enablesFor

string

no

An expression that indicates the number of selected entities required for the reports

Sub-tags

Name

Type

Cardinality

acl

urn:com.cohga.server.acl#1.0:acl

0..1

Content

None

Notes

  • An ACL can either be defined in-line or referenced indirectly, but only one should be used (the in-line version will take priority)
  • The label and description for the reports will be extracted from the report design itself
  • Both entity and group attributes can be specified together. When both attributes present, groups sub menus are created inside entity sub menu within the reports menu.

...