Vynamic View Reporting API
Vynamic View Reporting API
4
Reference Manual
Version 1.0, 23.1.2020
Table of Contents
1. The Vynamic™ View Reporting API ....................................... 3
1.1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2. Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1. Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.2. Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.3. Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3. Architecture ................................................................. 5
1.3.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3.2. Workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2. Report Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1. Creating an ODBC Database Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2. Creating a New report Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.1. Creating a New Database Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.2. Creating a New Query. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3. Editing an Existing Report Template ...................................... 19
2.3.1. Editing the SQL Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3.2. Saving a Report Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.4. Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.4.1. Automatic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.4.2. User-Defined Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
[Link]. User-Defined Parameter "outputformat" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2.4.3. Language-Dependent Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3. Integrating Reports into Vynamic™ View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.1. Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.2. Enabling Reports in the Vynamic™ View Server. . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.3. Configuring a Report Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.3.1. General Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.3.2. Parameter Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3.3. Language-Dependent Parameter Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4. Configuring Reports in the Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.4.1. Specifying an Individual Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.4.2. Activating the Individual Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
[Link]. Granting User Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
[Link]. Extending the Device Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.1. Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.2. Creating a Report Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.2.1. Specifying the Database Query. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.2.2. Designing the Report Layout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3. Configuring the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.4. Configuring the Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.4.1. Specifying an Individual Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.4.2. Editing a User Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4.3. Editing a Device Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.5. Configuring Functions Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.6. Restarting the Vynamic™ View Service. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.7. Executing the Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Publisher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Preface
Trademark Rights
Almost all hardware and software names contained in this document are also registered trademarks
of their respective product owners and should be treated as such. Diebold Nixdorf has, in the main,
followed the manufacturers' spelling for product names.
Confidentiality Undertaking
Copyright © Diebold Nixdorf, Inc. (2019) – All rights reserved - The contents of this document may
not be reproduced, exploited or published, whether in whole or in part, without the prior written
permission of Diebold Nixdorf. This also includes translation into other languages. The copyright
applies to all forms of storage and reproduction in which this information is incorporated including,
but not limited to, magnetic memory, computer printouts and visual displays. Offenders will be liable
for damages.
All rights, including rights created by patent grant or registration of a utility model or design, are
reserved. Right of technical modifications reserved.
Technical Support
In case of questions or problems related to all Diebold Nixdorf Software products you should open a
ticket via iSupport: [Link]
If you do not have access to iSupport, please use the live chat to contact a DN Help desk for
immediate assistance ([Link]
Related Documents
This section lists documents containing further information about Vynamic™ View and Vynamic™
View Incident Manager, including:
This chapter describes the pre-requisites for using the Vynamic™ View Reporting Application
Programming Interface (API). The API is designed for creating reports on the monitored network
using the report generator BusinessObjects Crystal Reports XI Release 2 or BusinessObjects Crystal
Reports 2008, further on referenced to as Crystal Reports. This chapter contains the following
sections:
• Introduction
• Prerequisites
• Architecture
1.1. Introduction
The functionality of Vynamic™ View can be extended by adding individual menus and functions to the
Vynamic™ View Console. Besides other functions, reports on the complete monitored network, on
sub-networks, and on devices can be added.
The reports delivered with Vynamic™ View are designed to show you some of the capabilities of
Vynamic™ View for analysis and statistics.
However, you may want to change these reports to fit the requirements of your organization, or you
may want to create your own reports from scratch. This can be achieved using the Crystal
Reports Designer.
After you have created a report template with the Crystal Reports Designer, you have to
integrate the template into Vynamic™ View, which means you need to make the report template
known to both the Vynamic™ View Server and to the Vynamic™ View Console. These steps are
described in the following chapters.
Restrictions
Reports are a powerful tool for analyzing, abstracting, and presenting your data.
However, you should keep in mind that reports can decrease the performance of the
monitoring system when used on a large amount of data.
In order to keep the additional workload of reports as small as possible, you should
never work directly on the database tables, especially not on eventrelated tables.
Instead, you should work with views that collect your required data
Last but not least, please keep in mind that Vynamic™ View is not designed as a
data mining tool, but as a monitoring system.
1.2. Prerequisites
1.2.1. Hardware
The hardware requirements are described in the Vynamic™ View Operation Manual in chapter
System Requirements.
1.2.2. Software
The software requirements are described in the Vynamic™ View Operation Manual in chapter System
Requirements.
Licence required
Please note that you need to obtain a license for Crystal Reports.
Otherwise, you will not be able to create or modify any report template.
1.2.3. Installation
The installation is described in the Vynamic™ View Operation Manual in chapter System
Installation.
1.3. Architecture
1.3.1. Overview
The following image shows the global architecture of the Vynamic™ View reporting system:
As mentioned before, you create a report template with the Crystal Reports Designer. The data
that is used for creating a report is stored in the Vynamic™ View database. However, you can collect
data from any source, as long as Crystal Reports supports that source.
After the report template has been created you add information about the new report to the
Functions Managers registry on the Vynamic™ View Server. If reporting has not been
configured before, you also activate the Crystal Reports function provider for the Functions
Manager.
Next, you specify a new individual function for the report with the Vynamic™ View Console. The
individual function has to be added to all device profiles and to all user profiles for which the report
should be available.
Finally, the reports can by displayed using the Vynamic™ View Console.
1.3.2. Workflow
After the process of creating the report and configuring Vynamic™ View has been finished, the
workflow is as follows:
2. Report Templates
This chapter describes how you can create and edit report templates with the Crystal Reports
Designer.
It contains the following sections:
If you want to use an ODBC connection for accessing the Vynamic™ View database, configure the
connection in Windows:
2. Click on User DSN or System DSN, depending on the type of ODBC connection you want to
create (see help text in the ODBC configuration dialog).
3. Click on [Add…] to open the driver selection dialog:
4. Select the appropriate database driver from the list, for example "SQL Server" if you want to
connect to a Microsoft SQL Server database.
5. Click on [Finish] to open the first connection properties dialog:
6. Enter the logical Name for your ODBC connection into the Name field, for example "vynamic_view".
7. Select the database server’s computer Name from the Server list, or enter it into the field, for
example "dbserver".
8. Click on [Next] to open the second connection properties dialog:
9. Depending on your security policies, select the authentication method for the database server, for
example "…SQL Server authentication…".
12. If more than one database exists in the database system (which is very likely), activate the
Change the default database to option and enter the Name of the database into the text field, for
example "vynamic_view".
13. Click on [Next] to open the fourth connection properties dialog:
14. Normally you simply have to click on [Finish] in this dialog. However, if your database system
requires special options, ask your database administrator which options you should activate.
15. After you have closed the last connection properties dialog, a summary dialog is displayed:
3. Expand the Create New Connection branch in the Available Data Sources box. A list
of available database drivers is displayed.
4. Expand the database driver branch that you need to connect to your Vynamic™ View database.
In most cases the ODBC (RDO) driver is the correct one:
5. A dialog box displayed where you can enter the required connection information. For the ODBC
(RDO) driver, a data source selection dialog is displayed:
6. Select the correct Vynamic™ View database connection from the Data Source Name (DSN) list,
for example "vynamic_view".
Remember that you have to configure the DSN you want to use before you start the creation
wizard (see section Creating an ODBC Database Connection).
7. Click on [Next] to open the connection information dialog:
8. Depending on your security policies, either activate the Trusted Connection option or not.
9. Depending on your selection above you may have to enter a database user name into the User
ID field (for example "vynamic_view") and the user’s password into the Password field (for
example "1pizza2go").
10. For any connection type, select the database you want to connect to. Normally this is the
database that you already have specified in the ODBC connection configuration, for example
"vynamic_view".
11. Click on [Finish] to close the dialog. The new database connection is now configured and
displayed under the ODBC (RDO) driver branch.
12. If you expand the database driver branch, the newly created connection, and the database
specified for the connection, you should see a dialog similar to this one:
You can now continue with creating a new database query. This is described in the next section.
13. In the database connection branch, double-click on Add Command to create a new database
query. The Add Command dialog is displayed:
14. Enter a valid SQL query command into the left text field, for example the command in the image
above. If you want to insert variable parameters into the SQL command, follow these steps:
a. Click on [Create…] to open a Command Parameter dialog:
b. Enter the parameter ID into the Parameter Name field, for example "startdate".
c. Enter an optional text that should be displayed in the Crystal Reports Designer’s preview
15. After you have finished entering the SQL command, click on [OK] to save it.
The new query is now executed immediately to verify its syntax. Therefore it is required that you
enter example values for the parameters:
16. The image above shows a query containing the two parameters "startdate" and "enddate". Either
select the default value from each list box, or enter a valid value for each parameter. Please note
that the Crystal Reports Designer automatically sorts the parameters by their names. In
the example, this leads to the effect that you have to enter the end date prior to the start date.
17. Click on [OK] to execute the query. If your SQL command is correct, the dialog is closed and you
see the Report Creation wizard again. If an error occurred during the query, an error box is
displayed and you see the Add Command dialog again. In this case, please correct your input and
try again.
18. When everything is working correctly, close all open dialogs by clicking on [Finish] or [OK].
19. Click on the menu entry File Save to save your new report template.
3. Right-click on the desired command in the Selected Tables list box. A context menu is
displayed.
4. Click on Edit Command. If you have not connected to your database system yet, you need to
enter your database login in the dialog.
5. The Modify Command dialog is displayed, which you can use similar to the Add Command
dialog (see section Creating a New Query) to edit your SQL command and its parameters.
<ProgramData>\Wincor Nixdorf\Data\Reports\Templates
for example in :
C:\ProgramData\DieboldNixdorf\{productname}\DATA\Reports\Templates
2.4. Parameters
A report normally contains both static texts and variable fields. Variable fields are filled either with
data from the SQL query or with parameter values provided by Vynamic™ View. The following
sections describe the three different types of parameters provided by Vynamic™ View.
Generally, the easiest way for viewing or editing parameters in the Crystal Reports Designer is
the Field Explorer:
Please refer to the [Crystal Reports User Manual] for instructions about the Field
Explorer.
• devicename
If a report is issued for a single device, the parameter "devicename" contains the name of the
device, for example "MT_AIR_CRS_01".
• hierlevel
If a report is issued for a sub-network, the parameter "hierlevel" contains the hierarchy level
number of the sub-network, for example "0.1.1".
• language
The parameter "language" contains the four-digit country code of the preferred language, for
example "0049" for "German". You can find the complete list of supported languages in the
[Operation Manual] in section National Language Support (NLS).
• network
If a report is issued for a sub-network, the parameter "network" contains the name of the sub-
network, for example "Airport".
• devicelongname
If a report is issued for a group of devices, the parameter "devicelongname" contains the name of
the group; if a report is issued for devices in a hierarchy, the"devicelongname" contains the name
of the hierarchy, for exmaple "Lanneret Bank".
• hiercond
If a report is issued for a sub-network, the parameter "hiercond" contains a part of a WHERE
clause to limit the result within the selected hierarchy, for example "[Link] = '0.1.1' or
[Link] like '0.1.1.%'".
• groupcond
If a report is issued for a group of devices, the parameter "groupcond" contains a part of a WHERE
clause to limit the result within the selected group, for example :
A user at a Vynamic™ View Console has to enter values for the user-defined parameters in an
input dialog prior to generating the report.
Please do not use unicode (MBCS) parameter names, but only names in the ASCII
character set. This makes error analysis and support much easier.
The user-defined parameter "outputformat" contains information about the document format of the
generated report output file, for example "PDF" or "XLS".
As described in the previous section, you need to configure this parameter in the Vynamic™ View
Server and in the Vynamic™ View Console. The type of the parameter has to be "list":
• CSV
Comma-Separated Values. You need a spreadsheet program for displaying this format, for
example Microsoft Excel or OpenOffice Calc.
• DOC
Microsoft Word Document. You need a word processing program for displaying this format,
for example Microsoft Word or OpenOffice Writer.
• PDF
Portable Document Format. You need the Adobe Acrobat Reader 8.0 or newer for
displaying this format.
• RTF
Rich Text Format. You need a word processing program for displaying this format, for example
Microsoft Word or OpenOffice Writer.
• TXT
Text Document. You need a text editing program for displaying this format, for example
Microsoft Notepad. Please note that this format cannot be used for displaying diagrams and
other graphics. Therefore the output may contain less information compared to the other output
formats.
• XLS
Microsoft Excel Sheet. You need a spreadsheet program for displaying this format, for
example Microsoft Excel or OpenOffice Calc.
Of course you can omit list entries that your applications do not support or that you
do not want the users to be able to select.
You only need to specify language-dependent parameters if your report should
support more than one language.
Whenever Vynamic™ View detects a parameter formatted in the syntax above, it tries to find it in the
Vynamic™ View database table "message<nnnn>", where "<nnnn>" represents a four-digit country
code of the preferred language, for example "0049" for "German" (you can find the complete list of
supported languages in the Vynamic™ View Operation Manual in section National Language
Support (NLS)).
Vynamic™ View looks for an entry in the corresponding message table where the field "textno"
equals the "<Message number>" of the parameter name, and where the field "texttype" matches the
value "11", which stands for "report text". The messages have to be configured in the Vynamic™
View database as described in section Specifying an Individual Function.
Please do not use unicode (MBCS) parameter names, but only names in the ASCII
character set. This makes error analysis and support much easier.
Your system language is set to "English", and you have specified the language-dependent
parameter "conn_time@@1296@".
Vynamic™ View detects the parameter and searches the database: "select messagetext from
message0001 where textno = 1296 and texttype= 11". This returns the text "Effective
Connection Time".
Vynamic™ View replaces the parameter "conn_time@@1296@" in the report with the text
"Effective Connection Time".
• Overview
• Enabling Reports in the Vynamic™ View Server
• Configuring a Report Function
• Configuring Reports in the Console
3.1. Overview
The general procedure for enabling reporting in Vynamic™ View is as follows:
1. Enable the reporting component for the Vynamic™ ViewSever in the Vynamic™ View registry.
This is described in section Enabling Reports in the Vynamic™ View Server.
2. Configure every report as individual function in the Vynamic™ View registry. This is described in
section Configuring a Report Function.
3. Configure every individual report function in the Vynamic™ View Console. This is described in
section Specifying an Individual Function.
4. Assign individual report functions to the user profiles in the Vynamic™ View Console. This is
described in section Granting User Permissions.
5. Assign individual report functions to the device profiles in the Vynamic™ View Console. This
is described in section Extending the Device Profile.
After you have finished integrating and configuring the reports, be sure to restart
the Vynamic™ View Service in order for the changes to take effect.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider]
"UseCmdCrystalReport"="Y"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport]
"ReportTargetPath"="C:\ProgramData\Diebold Nixdorf\Vynamic View\Data\Reports\Output"
"ReportTemplatePath"="C:\ProgramData\Diebold Nixdorf\Vynamic
View\Data\Reports\Templates"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
]
"ReportName"="[Link]"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
\Parameters\1]
"value"="startdate"
"type"="2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
\Parameters\2]
"value"="enddate"
"type"="7"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
\Parameters\3]
"type"="4"
"value"="outputformat"
Every report entry consists of a unique function number (specified by yourself) and a number of
optional parameters. The function number is located in the registry key :
[HKLM\Software\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\F
unctions]:
Parameter Name
Range Default Meaning Vers. D C
<Function number>
1000-9999 - Number of the individual report function. 3.2/00 1 Y
The numbers from 1 to 999 are reserved
for internal use.
Dependencies:
• The function number of the report has to be unique in Vynamic™ View and has to correspond to
the function number specified in the Vynamic™ View Console.
[HKLM\Software\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\F
unctions\<Function_number>]:
Parameter Name
Range Default Meaning Vers. D C
Report Name
Text - Name of the report template. 3.2/00 1 Y
Dependencies:
[HKLM\Software\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\F
unctions\<Function_number>\Parameters\<Parameter_number>]:
Parameter Name
Range Default Meaning Vers. D C
Type
1-7 - The parameter type. 3.2/00 - Y
Valid types are:
0: Text
1: Multi-byte text
2: Start date (time set to 00:00:00)
3: Date and time
4: List
5: Number
6: Static text
7: End date (time set to 23:59:59)
Value
Text - The parameter name. 3.2/00 1 Y
Dependencies:
• The parameter name has to correspond to the parameter name you have chosen in the report
template created with the Crystal Reports Designer.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\100
0]
"ReportName"="[Link]"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\100
0\Parameters\1]
"value"="startdate"
"type"="2"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\100
0\Parameters\2]
"value"="enddate"
"type"="7"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\100
0\Parameters\3]
"type"="4"
"value"="outputformat"
1. Start an SQL tool that supports your database system, for example the Microsoft SQL Query
Analyzer or the Oracle SQL Developer.
2. Establish a connection to your Vynamic™ View database.
3. Enter the following SQL command for every language: insert into message<nnnn> (textno,
texttype, messagetext) values (<Number>, 11, '<Text>'); "<nnnn>" represents a four-digit country
code of the language, for example "0049" for "German" (you can find the complete list of
supported languages in the [Operation Manual] in section National Language Support
(NLS)).
"<Number>" represents the text number that has to match the number you have specified for your
language-dependent parameter.
"<Text>" represents the text that is displayed in the generated report.
Range of numbers
The text numbers 1 - 99,999 are reserved for internal use. Please use the text
numbers from 100,000 - 999,999 for your purposes.
You also should never edit the internal texts, since they are adapted to the
Vynamic™ View sample reports and will be overwritten during the next Vynamic™
View update.
insert into message0001 (textno, texttype, messagetext) values (120001, 11, 'Number of
Devices');
insert into message0049 (textno, texttype, messagetext) values (120001, 11, 'Anzahl der
Geräte');
Users at the Vynamic™ View Console can only see the individual menus and functions if you
grant them the corresponding permissions. This procedure is described in detail in the `[User
Operation Manual], section "Edit Profiles").
1. In the Console, Open the Users Management Window Open Perspective Users….
2. Click on [Roles] and select the profile you want to change.
3. Enter the profile properties.
Please ensure that you select the newly created individual function to be included in the profile.
4. Click on [Save profile].
If you have created a report that should appear in the detailed device view in the Vynamic™ View
Console, you have to extend every device profile that is affected. This procedure is described in
detail in the [User Operation Manual], section "Managing Device Profiles").
4. Example
This chapter describes a complete example for a simple report.
• Overview
• Creating a Report Template
• Configuring the Database
• Configuring the Console
• Configuring Functions Manager
• Restarting the Vynamic™ View Service
• Executing the Report
4.1. Overview
Suppose you want to create a report on the numbers of defined basedata for all devices in your
network, to see which device might need some more basedata.
The report should support the English and the German language, since your organization is located in
Valletta, Malta (English) and Frankfurt, Germany.
Follow the instructions in the next sections and you should get a report that fulfills your needs and
can be issued by all permitted users.
6. Enter the password for the database user, for example "1pizza2go".
7. Click on [finish] to close the dialog and return to the wizard:
select id, count(id) as counter from basedata where id <> '1' group by
id;
10. Click on [OK], since the query does not require any input parameters. The report wizard should
now look like this:
11. Click on [Finish] and continue with the steps described in the next section.
4. Click on "id: String [16]", hold down the mouse button and drag/drop the parameter to the left side
of the report’s Details area.
5. Drag and drop the "counter: Number" parameter to the right side of the Details area. The design
6. Note that the names of the parameters have been inserted additionally as text fields into the
Page Header area. Right-click on them and delete them, since you should insert language-
dependent parameters here.
7. Click on the separator line between the Page Header area and the Details area, hold down the
mouse button and expand the Page Header area a little bit.
8. Move the "Print Data" field to the top of the Page Header area.
9. Right-click on Parameter Fields in the Field Explorer and select New… from the context
menu.
10. Enter "head_device@@100000@" into the Name field. This adds the language-dependent
parameter "head_device" with the text number "100000" to the report (see section Language-
Dependent Parameters).
11. Click on [OK] to save the parameter.
12. Right-click on Parameter Fields in the Field Explorer and select New… from the context
menu.
13. Enter "head_basedata@@100001@" into the Name field. This adds the language-dependent
parameter "head_basedata" with the text number "100001" to the report (see section Language-
Dependent Parameters).
14. Click on [OK] to save the parameter. The Field Explorer should now look like this:
15. Drag and drop the "head_device@@100000@" parameter to the Page Header area, above the
"id" parameter in the Details area.
16. Drag and drop the "head_basedata@@100001@" parameter to the Page Header area, above the
"counter" parameter in the Details area.
17. Select both parameters and change the text to bold characters.
18. Create a horizontal line on the bottom of the Page Header area. The design page should now
look like this:
19. You may want to switch to the preview page to see the output of the report:
20. If you want to adjust the layout of the report, either format the fields directly on the preview page,
or switch back to the design page and format them there.
21. You may want to add a graphical representation of the basedata statistics to your report.
Use the features of the Crystal Reports Designer to add a chart to the Report Header or
the Report Footer area.
After the whole beautifying process has been completed, the report may look like this:
22. Click on the menu entry File Save to open the Save As dialog.
23. Select the target folder
<ProgramData>\Diebold_Nixdorf\Data\Reports\Templates
for example in
C:\ProgramData\Diebold_Nixdorf\{productname}\DATA\Reports\Templates
You also have to activate the individual function in the user profile and in the device profile, as
described in section Activating the Individual Function.
14. Select the entry "Output Format" from the Name list box.
15. Select the entry "Please select an output format." from the Tooltip list box.
16. Select the entry "Value list" from the Type list box. The layout of the Parameter Details area
changes to let you specify the list entries:
27. Click on [Save] to store the definition in the Vynamic™ View database and the funcion ID will
be generated automatically; you can see the function ID for cash statistics is 2005:
1. Select the newly created individual function "Cash Statistics" from the Individual server
functions list box.
2. Click on [Save profile] to store the definition in the Vynamic™ View database.
3. Repeat steps 1 to 5 for all user profiles you want to change.
Therefore, you do not have to edit the device profile to enable the individual function for devices.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystal-
Report\Functions]
4. Right-click on the "Functions" key and select New Key from the context menu.
5. Enter "2005" as the new key name, it’s the function ID that is generated in console.
6. Right-click on the "2005" key and select New String Value from the context menu.
7. Enter "ReportName" as the new value name.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider]
"UseCmdCrystalReport"="Y"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport]
"ReportTargetPath"="C:\ProgramData\Diebold Nixdorf\Vynamic View\Data\Reports\Output"
"ReportTemplatePath"="C:\ProgramData\Diebold Nixdorf\Vynamic
View\Data\Reports\Templates"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
5]
"ReportName"="[Link]"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wincor
Nixdorf\Proview\CurrentVersion\Common\PVFUNC\Provider\CmdCrystalReport\Functions\200
5\Parameters\1]
"type"="4"
"value"="outputformat"
Starting and stopping the service is done in a command shell so that you can see
the result of these commands.
1. Select "Cash statistics"report. An input dialog is displayed, showing the parameter that you have
defined for the individual function in the Console.
5. Select "PDF" from the Output Format list box to generate a PDF file.
6. Click on [Finish]. The report is now generated as described in section Workflow.
7. After the report has been generated and transferred to the Console, the output dialog is
displayed, showing the report:
Congratulations, you have successfully defined and generated your own report!
Publisher
Published by
Diebold Nixdorf Global Solutions B.V.
Papendorpseweg 100
3528 BJ Utrecht
The Netherlands
[Link]
All rights reserved, particularly in relation to the grant of a patent or the registration of a utility model.
Subject to availability and technical modifications.