FormReport

Workflow Manager Developer Guide

HGD_Variant
15.00
HGD_Product
GeoMedia Smart Client
HGD_Portfolio_Suite
Platform

FormReport is used to print lists or detail views of one or more datasets.

light_bulb_icon You will find the Telerik Report Designer in INSTALLDIR\Program\Telerik.ReportDesigner.exe

FormReport Attributes

Attribute

Mandatory

Description

name

yes

Unique name of the report. Mustn't contain special characters.

<FormReport name="MyReport" ... />

Name must be the same as the name of your ReportTemplate (INSTALLDIR/Program/Workflows/Reports).

label

no

If you want to have another display name than your name you can define it with the attribute label.

 <FormReport ... label="This is my report" ... />

type

no

Defines the type of the report. There are two possibilities:

  • overview OverviewIcon.png

    An overview report, only visible in a list

  • detail DetailIcon.png

    A detailed report, visible in a list and a form

  • detailform (GMSC 2014)

    A detailed report, only visible in a form

  • detaillist (GMSC 2014)

    A detailed report, only visible in a list

light_bulb_icon Reports (detail) created out of a form, you will get the detail view of the actual dataset. Reports (detail) created out of a list, you will get the detail views of all datasets which are in your current list.

 <FormReport ... type="overview" ... />
light_bulb_icon  Default value is overview.

format

no

Defines the format in which you want to have your report. Comma-separated you can define more than one possible export type.

<FormReport ... format="pdf, xlsx,..." />

light_bulb_icon Default value is pdf.

Adding new icon(s) for report

One possible attribute at FormReports is format. For some datatypes, you will also get automatically an icon:

  • PDF
  • DOCX,DOC,WORD
  • CSV
  • XLSX,XLS, EXCEL
  • HTML

If you want to define your own format and your own icon to this format, you have to follow this instructions:

  1. You have to define your format type for FormReport

    <FormReport name="MyReport" format="typo" />

  2. Additionally you have to define a CSS rule for your format:
 .ig-icon-report-{typo}.ig-icon-report,
 {
 CSS RULE
 }

Access to fields with telerik Report Designer

GeoMedia Smart Client uses the telerik Report Engine by default. So in this section you will find out how to have access to which fields. Detailed information to the telerik Report Designer, which in this case is necessary to define a template, you will find here.

Type

Description

FormFields

Access to fields in a form:

= Fields.FORM_{FieldName}

for example:

= Fields.FORM_NAME

Access to fields in a list:

= Fields.ROW_{FieldName}

for example:

= Fields.ROW_ID

FormTable

1.) If you insert a table in the telerik Report Designer, the name of this table must be same as your FormTable name.

TableName

You have access to the columns of the table via:

= Fields.{ColumnName}

for example:

= Fields.CATEGORY

2.) SubReports: The name of the SubReport must be the same as the name of the FormTable. Additionally you have to define a ReportSource, which is the SubReport and you have access to the column as it is mentioned above: = Fields.{ColumnName}

3.) Charts: Coming soon...

Session

You have access to the same Session variables as you can read here.

= Fields.SESSION_{Key}

Requestcontext

You have access to the same Requestcontext variables as you can read here.

= Fields.REQUESTCONTEXT_{Key}

User

You have access to the same User variables as you can read here.

= Fields.USER_{Key}

Filter (GMSC 2014)

In your overview report, now you have access to the filter-values of your overview-list.

= Fields.FILTER_{FilterFieldId}

Nonpersisted fields

The same access to nonpersisted fields than for FormFields.

Tutorial for FormReport

See the FormReports tutorial for more information.