Training Manual ReportX
Training Manual ReportX
Training Manual
Version 9.20
ReportWorX Training Manual
© 2010 ICONICS, Inc. All rights reserved worldwide. This document may not be
reproduced or copied in any manner without written authorization from ICONICS,
Inc.
The information contained within this document is subject to change without notice.
ICONICS, Inc. does not guarantee the accuracy of the information.
GENESIS32, GENESIS64, Pocket GENESIS, BizViz and their respective modules,
OPC-To-The-Core, and Visualize Your Enterprise are trademarks of ICONICS, Inc.
Windows, Windows 7, Windows Vista, Windows Server 2008, Windows Server
2003, Windows XP, Windows 2000, Windows NT, Windows XP-64, Windows 2003-
64 and Windows CE are registered trademarks of Microsoft Corp. in the United States
and other countries.
Other product and company names mentioned herein may be trademarks or registered
trademarks of their respective owners.
Opening and using the enclosed software for any purpose indicates your acceptance of the terms and conditions of this license agreement. If
you do not agree with them you should return all software, documentation and copy protection keys within seven days of shipment unopened and
your money will be refunded.
ICONICS provides this program and licenses its use in the United States, Puerto Rico, or internationally. You assume the responsibility for the
selection of the program to achieve your intended results, and for the installation, use and results obtained from this program.
LICENSE
You are granted a personal license to use this program under the terms stated in this Agreement. You may: 1) Install and use the program on a
single machine. 2) Make a single archival back-up copy of the program for the sole purpose of supporting your use of the single program on a
single machine. 3) You may not use, copy, modify, or transfer the program, or transfer any copy, in whole or in part, except as expressly
provided in this license, or with a written contractual agreement with ICONICS, Inc.
TERM
The license is effective until terminated. It will terminate if you fail to comply with any term or condition of this Agreement. You agree, upon such
termination, to destroy the program and all copies that were made from it and to promptly return any copy protection key(s) to ICONICS.
LIMITED WARRANTY
ICONICS WARRANTS THE CD-ROM OR PHYSICAL DISKETTES, ON WHICH THE PROGRAM IS FURNISHED, AND PHYSICAL
DOCUMENTATION TO BE FREE OF DEFECTS IN MATERIALS AND WORKMANSHIP UNDER NORMAL USE FOR A PERIOD OF NINETY
(90) DAYS FROM THE DATE OF DELIVERY TO YOU AS EVIDENCED BY YOUR RECEIPT. THIS PROGRAM IS PROVIDED “AS IS”
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE
ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
ICONICS SPECIFICALLY DISCLAIMS ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, IMPLIED
WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR,
WITH RESPECT TO ANY PARTICULAR APPLICATION, USE OR PURPOSE, IN NO EVENT SHALL ICONICS INC. BE LIABLE FOR ANY
OTHER COMMERCIAL DAMAGE, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL OR OTHER DAMAGES.
ICONICS DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE PROGRAM WILL MEET YOUR REQUIREMENTS OR THAT
THE OPERATION OF THE PROGRAM WILL BE UNINTERRUPTED OR ERROR FREE.
LIMITATION OF REMEDIES
ICONICS’ entire liability and your exclusive remedy shall be the replacement of any CD-ROM or diskette not meeting ICONICS’ “Limited
Warranty” which is returned to ICONICS with a copy of your receipt within the warranty period. The remedy for breach of this warranty shall be
limited to replacement and shall not encompass any other damages including but not limited to loss of profit, special, incidental, consequential, or
other similar claims arising out of the use or inability to use such program even if ICONICS has been advised of the possibility of such damages,
or for any claim by any other third party.
GENERAL
This Agreement will be governed by the laws of the Commonwealth of Massachusetts. Should you have any questions concerning this
Agreement, you may contact ICONICS in writing at:
ICONICS, Inc.
100 Foxborough Boulevard
Foxborough, MA 02035
You acknowledge that you have read this agreement, understand it and agree to be bound by its terms and conditions. You further agree that it
is the complete and exclusive statement of the Agreement between you and ICONICS which supersedes any proposal or prior Agreement, oral
or written, and any other communications between you and ICONICS relating to the subject matter of the Agreement.
1 Introduction
1.1 Overview of ReportWorX .................................................................................................................... 1-1
1.2 ReportWorX Configurator .................................................................................................................... 1-2
1.3 ReportWorX Excel Interface ................................................................................................................ 1-2
1.4 Unified Web Interface .......................................................................................................................... 1-4
1.5 ReportWorX Service ............................................................................................................................ 1-5
1.6 Using ReportWorX Configurator in ICONICS Workbench32 Tool..................................................... 1-5
2 Install ReportWorX
2.1 Objectives ............................................................................................................................................. 2-1
2.2 System Requirements ........................................................................................................................... 2-1
2.3 Pre-Installation System Setup ............................................................................................................... 2-2
2.4 ReportWorX Installation Procedure ..................................................................................................... 2-3
2.5 ReportWorX Licensing ....................................................................................................................... 2-12
L2.1 Attaching the Acmeseutical Database .............................................................................................. L2-1
3 ReportWorX Configurator
3.1 Objectives ............................................................................................................................................. 3-1
3.2 Introduction to Report Configuration ................................................................................................... 3-1
3.3 Creating a New Configuration Database .............................................................................................. 3-2
3.4 Starting the ReportWorX Configurator ................................................................................................ 3-2
L3.1 Creating a New Report ..................................................................................................................... L3-1
5 Redirector Actions
5.1 Objectives ............................................................................................................................................. 5-1
5.2 Redirector Tasks and Actions Overview .............................................................................................. 5-1
5.3 Creating a New Redirector Action ........................................................................................................ 5-2
5.4 E-Mail Actions...................................................................................................................................... 5-2
5.5 Fax Actions ........................................................................................................................................... 5-5
5.6 File Copy Actions ................................................................................................................................. 5-6
5.7 Printer Actions ...................................................................................................................................... 5-6
5.8 Web Publishing Actions ....................................................................................................................... 5-7
5.9 Redirector Combined Action Properties ............................................................................................... 5-9
L5.1 Redirector Actions ............................................................................................................................ L5-1
ICONICS i
Contents ReportWorX Training Manual
6 Report Templates
6.1 Objectives ............................................................................................................................................. 6-1
6.2 Designing Report Templates ................................................................................................................ 6-1
6.3 Creating Report Templates ................................................................................................................... 6-2
L6.1 Configuring Templates...................................................................................................................... L6-1
7 Data Sources
7.1 Objectives ............................................................................................................................................. 7-1
7.2 Configuring a Report Template ............................................................................................................ 7-1
7.3 Connecting to OPC Tags ...................................................................................................................... 7-4
7.4 Connecting to ICONICS Tags ............................................................................................................ 7-10
7.5 Connecting to Open Databases ........................................................................................................... 7-14
7.6 Connecting to Web Services in Excel ................................................................................................ 7-25
7.7 Parameters .......................................................................................................................................... 7-29
L7.1 Quick Lab Overview ......................................................................................................................... L7-1
8 Layout Manager
8.1 Objectives ............................................................................................................................................. 8-1
8.2 Layout Manager ................................................................................................................................... 8-1
8.3 Mapping Data Fields ............................................................................................................................ 8-3
L8.1 Layout Manager ................................................................................................................................ L8-1
9 Report Configuration
9.1 Objectives ............................................................................................................................................. 9-1
9.2 Report Settings ..................................................................................................................................... 9-1
L9.1 Running Reports ............................................................................................................................... L9-1
11 Client Management
11.1 Objectives .......................................................................................................................................... 11-1
11.2 Introduction to Client Management................................................................................................... 11-1
L11.1 Client Management ....................................................................................................................... L11-1
ii ICONICS
ReportWorX Training Manual Introduction to ReportWorX
Introduction to
1
ReportWorX
1.1 Overview of ReportWorX
ReportWorX is a powerful and comprehensive reporting tool that uses the latest
Microsoft.NET technology to create, schedule, and redirect reports to be sent to
redundant printers, fax machines, computer screens, PDF files, and local or
remote disk drives. You can even publish reports to a Web server or send them to
your entire organization via e-mail. Reports can be accessed over company
intranets or over the Internet.
ReportWorX offers the most advanced reporting tool available today, taking
maximum advantage of Microsoft’s most powerful technologies. ReportWorX is
designed from the ground up using Microsoft.NET and Microsoft Excel
technologies. ReportWorX turns volumes of data into Manufacturing Intelligence.
Transforming data from any data source into reports is fast, efficient, and easy to
set up. ReportWorX uses Microsoft.NET technology to push data into your report
worksheets and forms, and to control the execution of these Excel forms without
the need for Excel to be visible or executing. ReportWorX performs complete
workbook duplication, manipulation, chart and data updates, formula
recalculation, automatic printout, and report scheduling.
• Configurator
• Excel Interface
• Unified Web Interface
• ReportWorX Service
1.2 ReportW
R WorX Configu
C urator
The ReportWorX
R Configuratoor, shown inn Figure 1.1,, is the prim
mary interfacee that
you use
u to configgure how infformation annd data will beb displayedd in your repports.
The Configurator
C enables youu to:
For more
m informaation, please see the RepoortWorX help documenttation.
1.3 ReportW
R WorX Excel
E In
nterfacce
The ReportWorX
R X Excel interrface allowss you to creeate and connfigure Micrrosoft
Excel templates for
f your repoorts. The tem
mplate desiggn dictates how
h data displays
in you
ur report sprreadsheets. The
T Excel innterface alsoo includes ann embedded pop-
up meenu for connnecting to data
d sourcess for your reports.
r Youu can accesss this
1-2 ICONICS
S, Inc
ReportWorX Training Manual Introduction to ReportWorX
• OPC Data Access (DA) and Historical Data Access (HDA) tags
• ICONICS TrendWorX32 historical tags, text aliases, and language aliases
• Open databases, including Microsoft Access, Microsoft Excel, Microsoft
SQL Server, Oracle, SAP, ODBC, and OLEDB
• Preconfigured Alarm Analytic sources
• User-selectable parameters
• Hyperlinks to go to another Website
• Web services
• Custom Data Source
Reports are executed based on the data connections you specify in your Excel
templates. The ReportWorX Configurator provides several example templates to
help you get started. For more information, please see the ReportWorX help
documentation.
1.4 Unified
U Web In
nterfacce
The Unified
U Webb Interface, shown
s in Figgure 1.3, ennables you too execute reeports
on deemand and browse
b repoorts from anny Microsoftt® Internet Explorer client.
c
Reporrts can be acccessed overr company inntranets or over
o the Interrnet. The Unnified
Web Interface
I alloows you to:
• Execute reeports
• Visualize reports
r
• Manage reeports
The Unified
U Webb Interface displays connfiguration information from the active
a
config
guration dattabase, as well
w as enabbling you tot modify thet configurration
mation. Anyy configurattion changes that you make in thhe Unified Web
inform
Interfa
face are upddated in the active repoort configuraation database. Similarlyy, all
changges that are made
m to the active
a configguration database using the ReportW
WorX
Configurator are reflected
r in the
t Unified Web
W Interfacce.
The Unified
U Web Interface allso features Windows
W NT® integrateed security. Only
registeered users or
o groups with
w access rights may view, execuute, and maanage
reportts.
F
Figure 1.3 - Visu
ualizing Reportts in the Unified
d Web Interfacee
1-4 ICONICS
S, Inc
ReportWorX Training Manual Introduction to ReportWorX
This topic covers how to add ICONICS ReportWorX Configurator Provider to the
Workbench32 configuration/runtime tool. For additional information on how to
add other Providers within Workbench32, consult the GENESIS32
V9.2/Workbench32 training or help documentation.
-OR-
This will bring up the "Select Applications in the Project" box, from where you
can choose your required Workbench32-integrated applications. Click the
checkbox next to "ReportWorX". You can also select the “ReportWorX Server”
from beneath the Runtime Providers section at this time.
Once your selected Providers are successfully loaded into Workbench32, you will
see their representative icons appear in the bottom left of the Tree Explorer.
Should you not immediately see the Tree Explorer, you can make it appear by
clicking View from the top menu, then ensuring the checkmark appears next to
Tree Explorer.
Figure 1.6-5 - Selecting the Tree Explorer from Workbench32's View Menu
2. The first time you open the Configurator, the ReportWorX Configuration
Database Wizard helps you create a new configuration database, as shown
in the following figure. Click the Next button to continue.
3. Select whether to use the local computer or a remote computer for your
SQL Server machine, as shown in the figure below. Click the Next button
to continue.
4. Select the proper authentication mode to log into your SQL Server, as
shown in the figure below. Click the Next button to continue.
5. You have two options for creating your new database, as shown in
following figure. You can either create a new Microsoft SQL Server
database, or you can add the ReportWorX configuration database structure
to an existing Microsoft SQL Server database. There is also an option to
include or exclude the ReportWorX samples in the configuration database.
Here we will assume that you will choose the first option (to create a new
database). Select I want to create a new Microsoft SQL Server
database on local node, and then click the Next button to continue.
Note: For information about how you can add the ReportWorX
configuration database structure to an existing Microsoft SQL Server
database, see Adding the ReportWorX Configuration to an Existing
Database.
6. Choose the settings for the SQL Server database parameters, as shown in
the figure below. In the SQL Server field, select the SQL Server on which
to create a new database. Type a name for the database in the Database
Name field. In the Database Path field, choose a directory path for the
new database. You can browse for a directory by clicking the … button to
the right of this field. Or you can use the default database file path and
size.
Note: Usually you have only one instance of SQL Server running on the
local node (in this case the SQL Server field has only one option:
"(local)". However, it is possible to run multiple SQL Server instances on
the local node, in which case the SQL Server field lists all those SQL
Server instances: "(local)" for the default instance and
"node_name/instance_name" for all others. Again, all those are local SQL
Servers.
Under the Database File Properties section, specify an initial size for the
database, which should be as large as possible. You can also specify a
Database Growth option (in megabytes) or as a percentage of the total
size. MSDE servers are capable of increasing the database size on the fly
to store more data. However, if this operation is performed frequently, the
overall system performance may decrease. Choosing an initially large
Under the Log File Properties section, you can also modify the settings
for the database transaction log file. Specify a Log File Growth option (in
megabytes) or as a percentage of the total size. Again, a sufficient initial
size setting can greatly improve performance. The default options should
be adequate for most applications with a small to medium size load.
Click the Next button to create the new SQL Server database.
7. The Wizard creates the new SQL Server database, as shown in the
following figure. When it is finished, it will tell you whether or not the
operation has completed successfully. Click the Next button to continue.
Figure 1.6-12 - Selecting a Directory and File Name for Universal Data Link (.udl) File
9. Once the Universal Data Link has been created, a summary appears, as
shown in the figure below. Click the Finish button to complete the
database creation.
10. Once you have finished creating a new configuration database using the
ReportWorX Configuration Database Wizard, the ReportWorX
Configurator screen opens, as shown in the figure below. The screen
consists of a split window with a tree control view in the left-hand pane
and a configuration view in the right-hand pane. The name of the .udl file
that you created appears in the title bar of the window. The Configurator
provides a standard format for the configuration database, as well as a
sample (default) ReportWorX configuration project. The Configurator also
includes a toolbar and menus with many command functions.
11. Create a report template in Microsoft Excel to determine how your reports
will look. The ReportWorX Configurator provides several example
templates to help you get started.
13. Create a new report. In the folder in which the report is created, set up user
access permissions for viewing, executing, and managing reports.
14. Create a report redirector action (e-mail, fax, file copy, printer, or Web
publishing) to define the method of report delivery to recipients.
19. Execute any "on demand" reports by running them from the ReportWorX
Configurator or ReportWorX Web Interface.
Note: If you would like to include Web publishing in any of your reports, you
must first configure the Web Interface and Web publishing actions. Please see the
ReportWorX Web Interface documentation for more information.
Lab
b: ReportW
WorX X
1
Exa
ampples Oveervieew
1.1 Lab
L Ovverview
w
Throuughout this manual,
m you will be askeed to complete several exxercises, or
“labs"", in order too build your own
o ReportW WorX reportts. The labs will start veery
simplee, but they will
w build upoon each otheer such that in
i the end yoou will have an
advannced set of reeports. In thhis lab, you will
w see somee examples of o the reportts
you will
w eventuallly build.
1.1.1 Task
k Checkllist
In this quick lab, yoou will compllete the follow
wing task:
1.1.2 Supp
port Filees
You do
d not need any
a support file to compplete this lab.
1.2 Acmese
A eutical Overvi
O ew
S, Inc
ICONICS L1-1
Lab 1: R eportWorX
X Examples Overview
O ReportWorrX Training Manual
Figure L1.1
L - Acmeseutical Global Loocations
The Acmeseutical
A l Headquarteers is in Foxbborough, Maassachusettss in the Uniteed
Statess. There are several
s Acm
meseutical facctories located in the Unnited States as
a
shown n in Figure L1.2.
L
Figure L1.2
L - Acmeseutiical Factories in
n the US
L1-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M La
ab 1: ReporrtWorX Exa mples Overrview
The Acmeseutical
A l factories haave only onee productionn line: creatinng pain relief
pills. The
T recipes for these pillls consist off four differeent chemicals. A
visuallization of thhis is shown in Figure L11.4.
Figure L1.5
L - Bottle Prooduction Visualization
1.3 Project
P Guidellines
When n finished wiith this projeect, you shouuld have repoorts that lookk similar to those
t
in Fig
gure L1.6.
S, Inc
ICONICS L1-3
Lab 1: R eportWorX
X Examples Overview
O ReportWorrX Training Manual
F
Figure L1.6 - Exxamples of Com
mpleted Acmeseeutical Reports
L1-4 ICONICS
S, Inc
ReportWorX Training Manual Installing ReportWorX
Installing ReportWorX 2
2.1 Objectives
After completing this chapter, you should know how to:
NOTE: It is recommended that your total system paging file size be set to at
least four times the size of physical RAM. The above requirements assume that
ONLY ReportWorX is running on the PC (with Microsoft SQL Server). If other
applications will be running, then additional resources must be allocated.
• Microsoft® SQL Server® 2005 or SQL Server 2005 Express, SQL Server
2008 or SQL Server 2008 Express, SQL Server 2008 R2 or SQL Server
2008 R2 Express with latest service packs.
NOTE: If Microsoft SQL Server is not detected on your machine during
ReportWorX installation, you have three options: you can cancel the installation
at this point and install SQL Server locally yourself; you can allow SQL Server
Express to be automatically installed from the BizViz DVD; or you can
designate a remote instance of SQL Server, in which case you will not be forced
to install SQL Server Express locally.
• Update your Windows operating system with the latest service packs.
• Update your Web browser application with the latest service packs.
• Update your Microsoft Office installation with the latest service packs.
• Update Microsoft SQL Server with the latest service packs.
NOTE: This setup procedure up will also install a PDF converter/printer driver
behind the scenes.
The License Agreement dialog box appears, as shown in Figure 2.2. Carefully
read the terms and conditions, select “I accept the terms in the license agreement,”
and then click the Next button to continue.
The Customer Information dialog box appears, as shown in Figure 2.3. Enter a
User Name and Organization, and then click the Next button to continue.
The Select Destination Folder dialog box appears, as shown in Figure 2.4. By
default, the directory for the ReportWorX installation is "..\Program
Files\ICONICS\BizViz\ReportWorX." You can also click the Browse button to
specify a different installation folder. Click the Next button to continue the
installation.
Click the Install button to proceed with installation, as shown in Figure 2.5.
The ReportWorX
R X Customizattion Wizardd appears, ass shown in Figure
F 2.6. Click
C
the Neext button too continue.
The ReportWorX
R X User Connfiguration Wizard
W diallog box appeears, as show
wn in
Figuree 2.7. You should creaate a user account
a for managing thet ReportW WorX
servicce. Ideally, this
t would be
b a local administrativ
a ve account (one that’s in the
local Administra
A ators group) on the PC where
w ReporrtWorX is ruunning. An easier
e
alternative is to run
r the RepportWorX seervice underr the Adminnistrator acccount.
Enter the user namen and password
p innformation for the useer account. This
complletes the Useer Configuraation Wizardd. Click the Next
N button to continue.
S, Inc
ICONICS 2-5
Installin
ng ReportW
WorX ReportWorrX Training Manual
The Configurati
C ion Database Wizard helps you create a neew configurration
databaase, as show
wn in Figuree 2.8. Selectt whether to use the loccal computerr or a
remotte computer for your SQ
QL Server maachine. Clickk the Next button
b to conntinue.
Selectt the proper authenticatiion mode too log into yoour SQL Serrver as show
wn in
Figuree 2.9. If youu are connecting to a remote SQL Server, youu should connnect
using a specific database ussername and passwordd. Click the Next buttoon to
contin
nue.
2-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Installiing ReportW
WorX
Figu
ure 2.9 - Loggin
ng into SQL Serrver
You have
h two opptions for creeating your new database, as shownn in Figure 2.10.
You can
c either crreate a new Microsoft SQL S Server database,
d orr you can addd the
ReporrtWorX connfiguration database strructure to an a existing Microsoft SQL
Serverr database. There is alsso an optionn to include or exclude the ReportW WorX
samplles in the coonfiguration database. Here we will assume thatt you will chhoose
the firrst option (tto create a new
n databasse). Select I want to crreate a neww MS
SQL Server dataabase, and thhen click thee Next buttonn to continuee.
F
Figure 2.10 - Creeating a New Microsoft
M SQL Server
S Databasee
createe a new databbase. Type a name for thhe database in the Datab base Name field.
In the Database Path
P field, choose a direectory path for
fo the new database.
d You can
browsse for a direcctory by cliccking the … button to the right of this
t field. Orr you
can usse the defaullt database file
fi path and size.
NOTE: Usuually you have only one instaance of SQL Seerver running on o the local
node. In thhis case, the SQL Server field has onlly one optionn: "(local)".
However, it is possible to run multiple SQL S Server insstances on the local node,
in which caase, the SQL Server field lists all those SQL Serverr instances:
"(local)" forr the default insstance and "noode_name\instaance_name" foor all others.
Again, all thhose are local SQL
S Servers.
F
Figure 2.11 - Daatabase Settingss
The Wizard
W createes the new SQL
S Server database,
d as shown in Fiigure 2.12. When
W
it is finished, it will tell you
y whetherr or not thhe operationn has comppleted
successsfully. Click the Next button
b to conntinue.
2-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Installiing ReportW
WorX
The ReportWorX
R Configuratoor uses Univversal Data Link
L (.udl) files
f to conneect to
the Microsoft
M SQ
QL Server database. These
T .udl files
f containn OLE dataabase
conneection inform mation thatt allows thee Configuraator to creaate and maanage
conneections to OL LE databasees. Enter a name
n and dirrectory path for the neww .udl
file in
n the Data Link
L File Naame field, ass shown in Figure
F 2.13. You can brrowse
for a directory
d byy clicking the … button to the right of this fieldd. Click the Next
buttonn to continue. If you waant this neww database too be the actiive configurration
databaase, check Make
M Database Active.
S, Inc
ICONICS 2-9
Installin
ng ReportW
WorX ReportWorrX Training Manual
2-10 ICONICS
S, Inc
ReportWo
orX Training Manual
M Installiing ReportW
WorX
2.5 ReportW
R WorX Licensi
L ing
In ord
der to run ReportWorX
R X, you need a valid ReeportWorX license,
l whiich is
based on the numbber of enabled reports annd report tem
mplates.
Lite No 5 25
To viiew your ReeportWorX license in the t ReportW WorX Configgurator, youu can
select Options froom the Toolss menu in thhe ReportWoorX configurator, as show
wn in
Figuree 2.16.
The License
L Moonitor tab of
o the Optioons dialog box, shownn in Figure 2.17,
displaays the follow
wing inform
mation about your
y ReporttWorX license:
• Current License Mode: Displaays the liceense type (ee.g. Demo, Lite,
Standard, Enterprise, etc.).
e
• Number of o Enabled Reports: Shows S the number
n of ennabled reporrts in
the active report confiiguration thaat are currently being useed, as well as
a the
maximum number of active reporrts that your ReportWorX X license allows.
S, Inc
ICONICS 2-11
Installin
ng ReportW
WorX ReportWorrX Training Manual
Only one report connfiguration can c be activve, but therre can be many
m
enabled reeports in the configuratioon.
• Number of Templattes: Shows the numberr of report templates inn the
ReportWoorX configurration databaase, as well as the maxiimum numbber of
templates that your ReeportWorX license
l allow
ws.
2-12 ICONICS
S, Inc
ReportWorX Training Manual Lab 2: Attaching the Database
• Acmeseutical_Data.MDF
• Acmeseutical_Log.LDF
If you have SQL Server 2005 installed on your system, you can use the SQL
Server Management Studio to attach the database. If you have other versions of
the SQL Server, you may use the appropriate management tool of your choosing.
ICONICS, Inc L2-1
Lab 2: A ttaching th
he Databasee ReportWorrX Training Manual
SQL provides
p a frree managem ment tool callled the SQL
L Server Mannagement Sttudio
Expreess. In this laab, we will assume
a that you
y have SQ QL Server 20005 installed and
will be using the SQL
S Server Managemennt Studio thaat comes withh this serverr.
To atttach an existting SQL Serrver database to your loccal SQL Servver using thee
SQL Server
S Manaagement Studio:
1. Op
pen the SQ QL Server Managemennt Studio frrom Start Æ Program
ms Æ
Microsoft
M L Server 20005 Æ SQL Server
SQL S Manaagement Studdio
2. In
n the Connecct to Server dialog that comes up, fill in the apppropriate server
s
information annd click on the Connectt button. Yoour connectioon string maay be
sim
milar to the one show inn Figure L2.11.
3. On
nce you have successsfully connnected to your y databaase server, your
management studio
s shouldd look similaar to Figure L2.2.
L2-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 2: Attachin
ng the Data
abase
4. In
n the tree-control on thee left-hand side,
s right-cllick on Dataabases and select
s
Atttach… to add
a the Acm meseutical database
d to the
t SQL Serrver as show wn in
Fiigure L2.3.
Figu
ure L2.3 - Attacching the Datab
base
5. Thhe Attach Daatabases diallog will appeear. Click onn the Add buutton and broowse
to the path whhere the Acm
meseutical_D Data.MDF is located (it’ss generally inn
\P
Program Files\ICONICS\\GENESIS32\Examples\\BizViz –
Trraining\Acmmeseutical_DData).
6. Fiigure L2.4 shows thee database details. You Y shouldd see bothh the
Accmeseutical__Data.MDF and the Accmeseutical__Log.LDf. ClickC on thee OK
bu
utton to finissh the databaase attachmeent process.
Figu
ure L2.4 - Attacching the MDF File
F
7. When
W the diallog disappeaars, and you are back in the
t SQL Serrver Manageement
Sttudio, expannd Databasess on the treee-control onn the left-hannd side, andd you
sh
hould now seee AcmeseutticalDatabase in the list asa shown in Figure L2.5.
ICONICS
S, Inc L2-3
Lab 2: A ttaching th
he Databasee ReportWorrX Training Manual
9. To
o view the data
d in a tablle, you can select
s the tabble and thenn right-click on it
an
nd select Opeen Table.
This completes Lab 2.Youu have atttached the sample daatabase forr the
Acmeeseutical prooject. The next chaptter will inttroduce youu to the report
r
config
guration
L2-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M ReportWorrX Configurrator
Rep
porttWorX
3
nfigurator
Con
3.1 Objecti
O ves
After completing this chapter,, you shouldd know how to:
3.2 Introdu
I uction to Repoort Con
nfigurattion
The ReportWorX
R X Configuratoor is the interface that allows
a you tot configuree how
inform
mation and data
d are dispplayed in youur reports. These
T settinggs are configgured
in thee tree controol of the Configurator,
C , shown in Figure 3.1, which provides
severaal different configuratioon tools thaat help you set the paraameters for your
reportts. To help guide you through thee creation of o reports, thet Configuurator
appliees default setttings and saamples to eacch new databbase that youu create.
F
Figure 3.1 - Treee Control of th
he ReportWorX
X Configurator
The tree
t control (left-hand pane) of thhe Configurrator organizzes the dataabase
config
guration intoo the followinng general ittems:
S, Inc
ICONICS 3-1
ReportW
WorX Config
gurator ReportWorrX Training Manual
3.3 Creatin
C ng a New
w Conffiguratiion Dattabase
Similaar to many ICONICS coonfigurationss, the ReporttWorX confiigurator utiliizes a
databaase to store and
a retrieve informationn on the repoorts that you have configgured.
The in
nstallation auutomaticallyy creates a deefault configguration dataabase for youu, but
you caan always crreate a new one
o specificaally for a prooject.
NOTE: Thee lab followingg this chapter will
w outline thee steps necessaary to create
a new Conffiguration Dattabase for the ReportWorX Configurator. For more
information on this toppic refer to the ReportW WorX Configuurator help
documentatiion.
Keepiing consistenncy with alll of the BizVViz Suite appplications, the
t configurration
databaase must be of SQL Serrver type. It may be creaated and maiintained withh any
of thee compatiblee SQL installlations as deescribed in Chapter
C 2. The
T ReportWWorX
Configurator usess Universal Data Link (.udl) files to connect to the Micrrosoft
SQL Server dattabase. Theese .udl files contain OLE databbase conneection
informmation that allows the Configuratoor to create and manage connections to
OLE databases.
d
3.4 Starting
S g the ReportW
R WorX Configu
C rator
Once you have finished creating
c a new
n configuuration dataabase usingg the
ReporrtWorX Connfiguration Database Wizard,W the ReportWorX Configuurator
screenn opens, as shown
s in Figgure 3.2. Thee screen conssists of a spllit window with
w a
tree co
ontrol view in the left-hhand pane annd a configuuration view in the right--hand
pane. The name of the .udl file that youu created apppears in thee title bar of o the
windoow. The Configurator
C provides a standard format
f for the
t configurration
databaase, as well as a samplle (default) ReportWorX X configurattion project.. The
Configurator also includes a toolbar
t and menus
m with many
m comm mand functionns.
3-2 ICONICS
S, Inc
ReportWorX Training Manual Lab 3: Creating a New Report
Figure L3.1
L - Configuraation Database Wizard
L3-2 ICONICS
S, Inc
ReportWorX Training Manual Lab 3: Creating a New Report
7. Leave the settings in the next dialog as default, as shown in Figure L3.4, to
create a new database in which to hold the configuration, rather than append
the information to an existing database. We also want to include the samples
in the configuration database. Click Next to continue.
9. The next dialog as shown in Figure L3.6 will show the steps being executed
while creating the new database, as all the predefined examples and structures
are added to the new database. When the steps are finished, you should be
informed that the operation was successful. Click Next to continue.
10. Fiinally, acceppt the defaultt name and loocation for the
t .udl file to
t be used, and
a
make this the Active conffiguration daatabase by chhecking the Make
M Databbase
Acctive option as shown inn Figure L3.77. Click Nexxt to continuue.
12. Yo
our ReportW
WorX Configgurator should now lookk like Figure L3.8.
L3-4 ICONICS
S, Inc
ReportWorX Training Manual Lab 3: Creating a New Report
15. Right-click on the new Acmeseutical Folder, and select New Æ Report. Name
the report as Acmeseutical Report.
16. Be sure to enable this report by checking the Enabled checkbox to the
right of the Report Name field.
17. From the Report Template drop-down menu, be sure to select a template
such as Alarm Analytics.Alarm Distribution by Interval. We will create an
actual template in a later lab.
This completes Lab 3. We created a report configuration. The next chapter will
introduce you to report triggers.
Repportt Sch
hedu
uling
g an
nd
4
Triiggeers
4.1 Objecti
O ves
After completing this chapter,, you shouldd know how to:
4.2 Creatin
C ng a New
w Repoort Triggger
You can
c configurre triggers too execute your report based on a tim
me or event. Once
you have triggers configured, you can asssociate them
m to your repoorts. This caan be
done from the Advanced
A M
Mode of thee report prooperties. Once
O you are
a in
advan
nced mode, you can addd triggers by b using thhe Add buttton found inn the
Reporrt Schedulinng tab as shoown in Figurre 4.1.
S, Inc
ICONICS 4-1
Report Scheduling
S and Trigge rs ReportWorrX Training Manual
The trriggers that ReportWorX X uses residde in a centrralized locattion, namelyy, the
Unifieed Data Mannager (UDM M). In this way,
w multiplee ICONICS applications can
use th
he same triggger. You can
c get to the t UDM by b click on the “Run UDM U
Configurator” buttonn located too the lower--right corneer of the Report
R
Sched
duling tab.
4.2.1 Trig
ggers in the Unifieed Data Manager
M r
The EventTrigge
E ers tree conttrol of the Unified
U Dataa Manager (U UDM), show wn in
Figuree 4.2, contaains the trigggers that ReeportWorX canc use. Whhen you assign a
triggeer to a reportt, it will dettermine wheen (or on whhat conditionn) reports will be
execuuted. Reportss are executted based onn one or moore of the foollowing typpes of
triggeers:
• Event Grooups
• Event Swiitches
• Data/Timee Triggers
• Data Trigggers
• Alarm Trigggers
• File Triggers
• NT Event Triggers
• Database Triggers
T
4-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reporrt Schedulin
ng and Trig
ggers
S, Inc
ICONICS 4-3
Report Scheduling
S and Trigge rs ReportWorrX Training Manual
4-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reporrt Schedulin
ng and Trig
ggers
4.2.1.3 Data
a Triggers
A Datta Trigger executes
e an event when an OPC tagg’s value chaanges. Depennding
on thee setup, youu can fire thhe trigger onn all data chhange, or onlly when thee data
changges to true orr false. In thhe Data Triggger Properrties tab, as shown in Figure
F
4.5, yo
ou can confiigure the following settinngs:
Figu
ure 4.5 - Data Trigger
T Propertties
In thee Data Triggger Options tab, as show wn in Figuree 4.6, you can
c configurre the
condittion to fire thhe data triggger and the data
d tag to monitor.
• Execute Condition:
C T trigger executes
The e an event
e on anyy data tag change,
or when thhe data tag chhanges to TR
RUE (1) or FALSE
F (0).
S, Inc
ICONICS 4-5
Report Scheduling
S and Trigge rs ReportWorrX Training Manual
NOTE: Forr other triggerrs such as Allarm Triggers, File Triggerss, NTEvent
Triggers, ettc, please refeer to the helpp documentatiion in the Unnified Data
Manager.
4-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 4: Report
R Trig
ggers
Lab
b: Report Trigg
T gers 4
4.1 Lab
L Ovverview
w
This lab will explain how to create
c a date//time triggerr and add thee trigger to a
reportt.
In the grand schem me of things, the trigger starts a repoort, and the report
r executtes.
If therre are redirecctor actions associated with
w the repoort, it will theen execute thhe
redireector actions when the reeport finishess. Figure L4.1 shows thee complete order
o
of the process.
F
Figure L4.1 - Prrocess Overview
w
In thiss lab, we willl focus on thhe first step of the process; the triggeers. We will first
configgure a triggeer in the Uniffied Data Maanager (UDM M) and then add it to a report
r
in the ReportWorX X Configuraator.
4.1.1 Task
k Checkllist
In thiss quick lab, you
y will com
mplete the foollowing taskks:
4.1.2 Supp
port Filees
To com
mplete this quuick lab, you will not needd any support files.
S, Inc
ICONICS L4-1
Lab 4: R eport Trigg
gers ReportWorrX Training Manual
4.2 Creatin
C ng a New
w Triggger
The fiirst step is too add a new trigger
t to thee UDM.
2. Oppen the Even nt Triggers folder in thee tree controol. You will see
s the diffeerent
typ
pes of triggeers that are available.
a
w Æ Time Trigger
3. Riight-click onn Date/Time Triggers annd select New T Item, as
sh
hown in Figuure L4.2.
Figu
ure L4.2 - Add Time
T Trigger Ittem
Figu
ure L4.3 - 20 Seccond Time Triggger
L4-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 4: Report
R Trig
ggers
7. In D tab, seleect the Timee Trigger folder and douuble-click onn the
n the UDM Data
Evvery 20 secoonds trigger as shown inn Figure L4.44. Then clickk on OK.
8. Yoou should noow be in the ReportWorX X Configuraator and youur Time triggger
sh
hould be listeed in the Repport Schedulling tab as shhown in Figuure L4.5. Cliick
on
n Apply, to save
s the channges. If yourr ReportWorrX engine iss running, yoou
wiill get a warnning asking if you want to notify thee ReportWorrX engine with
w
the new triggeers. Select “YYes, notify Report
R Enginne Now”.
Figure L4.5
L - Report Sccheduling with Trigger
9. Th
he ReportWoorX engine will
w now exeecute the repport every 200 seconds.
NOTE: Youu may want to manually execcute the report to
t make sure itt runs correctlyy first
before giving it a periodic trigger.
S, Inc
ICONICS L4-3
Lab 4: Report Triggers ReportWorX Training Manual
This completes Lab 4. We created a trigger and associated it to a report. The next
chapter will introduce you to Redirector Actions
Red
direectorr Action
ns 5
5.1 Objecti
O ves
After completing
c t chapter, you should know how to:
this t
5.2 Redirec
R ctor Tassks and
d Action
ns Overrview
The Redirector
R A
Actions treee control in the Configuurator, show
wn in Figuree 5.1,
allowss you to deffine a sequeence of redirrector actionns for reportt delivery (ii.e. e-
mail, fax, file coppy, printer, and
a Web pubblishing). A redirector taask defines a new
destin
nation for thee report oncee it completees.
You can
c configuure Redirecttor Actions under the Report Toools tree conntrol.
ReporrtWorX usess the followinng methods for report exxecution andd delivery:
• E-mail
• Fax
• File Copy
• Printing
• Web Publiishing
S, Inc
ICONICS 5-1
Redirecttor Actions ReportWorrX Training Manual
5.3 Creatin
C ng a New
w Redirector Action
A
Each type of redirector
r a
action has its own folder withhin the Reeport
Toolss/Redirectorr Actions brranch of thee tree controol. Create reedirector taskks by
right-cclicking onn the folderr of the tyype you waant, and chhoosing New w Æ
Redirrector Actioon, as shownn in Figure 5.2.
The dialog
d for a new redirecctor action is shown inn the right-hhand pane of o the
Configurator. Witth the excepption of a nam me and desccription, the redirector action
a
properrties will varry dependingg on the typee of action.
5.4 E-Mail
E Actions
An E--mail action n enables you to send ouut reports to one or moree recipients via
v e-
mail. Before youu can send reports viaa e-mail youu must speccify your e-mail
setting
gs in the SMMTP Settin ngs tab of thhe Options dialog box (under the ToolsT
menu)), shown in Figure 5.3, which sets thet secure connection
c a
access parammeters
for thee Reporting Service.
5-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Red
director Acttions
mail notifi
fication messsages to be sent. It is reecommendedd that you create
c
an e-mail account
a to be
b used speciifically for e-mailing
e repports.
• Login Naame and Passsword: Entter a valid, alphanumeri
a ic user namee and
password (specified inn the Securityy Server connfiguration settings).
s
• Confirm Password:
P R
Re-enter youur password for confirmaation.
• Sender E-Mail:
E Enteer the e-maail address of o the sendder of the e-mail
message. (The
( Reportiing Service is
i the defaullt.)
You can
c configurre the follow
wing settings for an e-maail action, as shown in Figure
F
5.4:
Figu
ure 5.4 - E-Maill Action Properrties
S, Inc
ICONICS 5-3
Redirecttor Actions ReportWorrX Training Manual
• Recipient(s) Type: For the Mail To, CC, annd BCC fiellds, select one of
the follow
wing recipiennt types from
m the drop-doown list:
o Ab bsolute Address: Sends thhe message too an individuaal’s e-mail address.
Whhen this optioon is selected,, you can clicck the arrow buttons
b next to the
Maail To, CC, and a BCC fields to browsee for an e-maail address ussing a
MA API-compliannt e-mail clieent (e.g. Micrrosoft Outloook). Under Profile
P
Naame, select your e-mail seerver from thhe drop-downn list, as show wn in
Figgure 5.5.
o Registered Useer: Sends the message to a single registeered user (meember
of a group).
o Registered Group: Sends the messagee to all regiistered users in a
speecified group..
o Maailing List: Sends
S the messsage to all reegistered userrs and/or grouups in
a managed
m list.
Figu
ure 5.5 - Selectin
ng an E-Mail Address
A From Your
Y E-Mail Serrver
NOTE: Ussers, groups, and managedd lists are coonfigured in the Client
Managemen
nt tree control of the Configuurator.
• Subject: Specifies
S thee subject linee of the e-maail message.
• Body: Typpe in the conntent of the e-mail
e messaage.
• Request Return
R Recceipt: Whenn this checkk box is cheecked, the seender
will be nootified whenn the recipieent of the e-mail
e messaage has readd the
message.
• Compresss (Zip) Attaachment: Zipps up attachhed files befoore sending the t e-
mail. Thiss reduces thee size of thee attachmentt, which mayy be importaant if
your e-maail server impposes limits on attachmeent size.
• Apply: Saaves all channges to the coonfigurationn database.
• Reset: Cleears all recenntly added innformation.
• New Actioon Object: Creates
C a neww e-mail acttion for you to configuree.
5-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Red
director Acttions
5.5 Fax
F Acttions
A Fax x action enaables you to send
s out repports to one or
o more recippients using a fax
machiine. In orderr to use the Fax Agent,, you must haveh Microssoft Fax Serrvices
installled on your computer. The
T availablle settings for
fo a fax actiion are showwn in
Figuree 5.6 and desscribed below:
NOTE: Goiing forward, we w will not desccribe some of the common properties
p to
the redirectoor task. Thesee properties incclude Redirecttor Action Naame, Action
Type, and onn Error Settinggs.
NOTE: In thhe subject textt of a fax, you can use the folllowing shortcuuts: %n for
Report Nam
me, %t for Report Executionn Time, and %d % for Reportt Execution
Date.
S, Inc
ICONICS 5-5
Redirecttor Actions ReportWorrX Training Manual
5.6 File
F Coppy Actiions
A filee copy action
n copies repports to a selected directoory in Excell, PDF, or HTML
formaats. The avaiilable settinggs for a file copy action are shown in
i Figure 5.77 and
descriibed below.
• Destinatioon Folder: Click the … button to browse for and select a file
copy destination directory.
• Copy Repoort As: Fromm the drop-doown list, chooose the formaat (Excel, PD DF, or
HTML) in which the repport will be coopied to the selected directtory
• Compress (Zip) File: Zips up repoort files befoore copying them t to the target
directory. This
T reduces the
t size of thee report files.
5.7 Printer
P Action
ns
A priinter action n enables youy to printt out complleted reportts. The avaiilable
setting
gs for a printter action are shown in Figure
F 5.8 annd describedd below.
5-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Red
director Acttions
Figu
ure 5.8 - Printerr Action Properrties
5.8 Web
W Puublishin
ng Actioons
A Weeb Publishin ng action ennables you too publish com
mpleted repoorts to a speccified
Web server so thhat recipientts can simpply downloaad and view w the report.. The
availaable settingss for a Webb Publishingg action aree shown inn Figure 5.99 and
descriibed below.
NOTE: If you y would like to include Weeb Publishing inn any of your reports,
r you
must first coonfigure a web server where you
y can publishh your files.
S, Inc
ICONICS 5-7
Redirecttor Actions ReportWorrX Training Manual
• Publish Report
R As: From
F the drrop-down lisst, choose thhe format (E
Excel,
PDF, or HTML)
H form
mat in whicch the repoort will be ppublished too the
entered deestination.
• Authenticcation: You must specify fy a User Naame, Passwoord, and Dom main
(computerr) name for Windows NT integratted securityy needed to gain
access to the
t Web servver. The user account shhould have write
w privilegges to
the target location (UURL address specified inn "Publish to t URL") foor the
reports.
• Allow Anonymous Login: L Whenn this check box
b is checkked, users will
w be
able to logg in to the sppecified Weeb server witthout user name or passsword
authenticaation. This iss available foor HTTP onlly.
• User Nam me: Specifiess an alphanuumeric loginn name for access to the Web
server.
• Password d: Specifies an alphanum meric login password for
f access too the
Web serveer.
• Domain: Specifies thhe NT domaain (computter) name for fo Windowss NT
integrated security.
5-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Red
director Acttions
5.9 Combin
C ned Red
directorr Action Properties
Once you have configured
c a least onee report rediirector actioon, you can then
at
createe a combinned redirectoor action as a shown inn Figure 5.10. This is a
combiination of seeveral redirecctor actions, in any order.
In thee Action Setttings, you caan specify a group of reddirector actioons. To creaate an
actionn group, cliick the Add d Action button.
b This opens the Add Redirrector
Action ns Group diialog box, as a shown in Figure 5.11. This dialog lists all other
redireector actions in the activve configurattion databasse. To add a redirector action
a
to the group, selecct the actionn and then cliick on the OK
O button. The
T added acctions
are lissted in the Action
A Settinngs, as show
wn in Figure 5.10. Click on the Movve Up
buttonn or Move Down
D buttonn to change the sequencce of redirecttor actions ini the
groupp.
S, Inc
ICONICS 5-9
Redirector Actions ReportWorX Training Manual
Lab: Creating
5
Redirector Actions
5.1 Lab Overview
In this lab, we will create various redirector actions that we will later use in
combination with our Acmeseutical reports.
4. In the Mail To, CC, and BCC fields, specify any e-mail addresses that you
would like, but for the Subject and Body fields, please note the additional
sh
hortcuts that are availablee to you in thhe bottom riight-hand coorner of the
dialog.
6. In
n the Body field, type:
Reeport name: %n
Exxecution daate: %d
Exxecution tim
me: %t
9. In
n the Redirecctor Action Name
N field, put
p Acmeseu
utical File Copy
C Action
n.
10. Cllick on the “…” button to t browse for a Destinattion Folder, and then
naavigate to yoour C:\temp directory. ClickC the Neew Folder buutton to creaate a
neew folder underneath this directory and a call it FiileCopyDesttination. Then
cliick the OK button
b to sellect that locaation. Refer to Figure L55.2 for
claarification.
L5-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 5: C reating Red
director Acttions
Figure L5.3
L - Acmeseu
utical File Copy Action
w Æ Redirecttor Action.
14. Riight-click onn Combined Actions andd select New
15. In
n the name field, specify Acmeseuticcal Combineed Action.
S, Inc
ICONICS L5-3
Lab 5: Creating
C Red
director Ac tions ReportWorrX Training Manual
17. Frrom the Addd Redirector Action(s) diialog, use thee <Ctrl> keyy to select booth
the Acmeseuttical E-mail Action and the Acmeseeutical File Copy C Action n,
an
nd then clickk OK.
Figure L5.4
L - Acmeseuttical Combined
d Action
This completes
c Laab 5. In the next lab youu will learn how
h to confiigure report
templates and beggin configuriing our existting templatees with Acm
meseutical daata.
L5-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reeport Temp lates
Rep
portt Tem
mplatess 6
6.1 Objecti
O ves
After completing this chapter,, you shouldd know how to:
6.2 Designi
D ng Rep
port Tem
mplatess
The Report
R Temmplates tree control of the Configuurator, show wn in Figuree 6.1,
allowss you to creeate and connfigure Micrrosoft Excell templates for your repports.
The Excel
E spreaddsheet templlate design dictates
d whaat kinds of data
d your reeports
will contain and how
h the dataa will be dispplayed in yoour reports. The
T ReportW WorX
Configurator provvides severaal sample repport templattes. The report configurration
tree-control also provides a Report Tem mplate Wizaard to help you create your
templates.
NOTE: Youu must have a report
r templatee in order to exxecute a report.
S, Inc
ICONICS 6-1
Report Templates
T ReportWorrX Training Manual
6.3 Creatin
C ng Repoort Tem
mplates
Creatiing report templates invoolve the folloowing main steps:
You can
c create new
n templatte folders annd template objects in the ReportWWorX
Configurator by right-clickingg on a parennt folder and choosing thhe New comm
mand
as sho
own in Figurre 6.2.
Figure 6.2
6 - Creating a New Templatee Folder
When n you create a new reporrt template ittem, you willl have the foollowing opttions,
as sho
own in Figurre 6.3-:
NOTE: Users
U of RepportWorX Configurator
C r V9.2 and Microsoft
M O
Office
2007 can take
t advantaage of new functionality
fu . When creaating a new report
r
template the
t configurrator will automatically
a y detect if you are runnning
Microsoft Office 2007 and will provide
p the updated opption of seleecting
between Office
O 2007 and Office 2003
2 formatts for the creeation of thee new
blank tempplate workboook.
6-2 ICONICS
S, Inc
ReportWorX Training Manual Report Templates
Figure 6.3-1 - Office 2007 or Office 2003 Option in New Report Template Creation
in ReportWorX Configurator
Figure 6.3-2 - New ReportWorX Tab in Office 2007 for Users Running ReportWorX V9.2
Also, when using the new ReportWorX ribbon tab in Office 2007, and
having previously selected an Office 2007 (Excel 2007) report template,
users will have the option to save the template back to Office 2003 (Excel
2003 Template) format.
Figure 6.3-3 - Reverting an Existing Office 2007 (Excel 2007) Report Template
Figure 6.3-4 - Upgrading an Office 2003 (Excel 2003) Formatted Report Template
to Office 2007 (Excel 2007) Format
• Template Name: Entter a name for f the reporrt template. WhenW a tem
mplate
is created,, the Excel file will be named afteer the templaate name. Iff you
rename thee template, the
t Excel filee will also be renamed automatically
a y.
• Template Description n: Enter a deescription foor the templaate (optional)).
• Current Published
P V
Version: Thee version of template
t currrently used.
• Apply: Saaves all channges to the coonfigurationn database.
• Reset: Cleears all recenntly added innformation.
• New Repoort Templatte: Creates a new report template to be configureed.
You can
c modify a template by b Click the Ellipsis button. Thee message shhown
in Fig
gure 6. appeears, stating that while the templatte is being edited,e all active
a
reportts that are baased on the teemplate willl be temporaarily disabledd.
6-6 ICONICS
S, Inc
ReportWorX Training Manual Lab 6: Configuring Templates
Lab: Configuring
6
Templates
6.1 Lab Overview
In this lab we will configure our Acmeseutical templates to mine data from the
Acmeseutical database.
• Acmeseutical_Standard.xls
2. Navigate to the Report Templates folder under Report Tools. You should
see the Sample Templates folder already there, as shown in Figure L6.1.
These are the templates that are included by default with a new ReportWorX
configuration database.
F
Figure L6.1 - Reeport Templatess
3. Teemplates muust be stored underneath a folder (theey cannot bee stored at the top
lev
vel). Therefoore, in this laab, we will create
c w template folder called
a new
Accmeseuticall Templates.
5. In
n the Templaate Folder Naame field, ennter Acmeseeutical Temp plates. Enterr a
deescription if you
y wish, annd then clickk Apply, as shown
s in Figgure L6.2.
Figure L6.2
L - Acmeseuttical Templatess Folder
L6-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab
b 6: Configu
uring Temp lates
11. Fiinally, to undderstand the effects of coopying an exxisting Excell file when
creating a new
w template obbject, click the
t buttoon in the Tem
mplate Versiions
fraame. This will
w allow youu to view your newly creeated templaate within Exxcel,
an
nd you shoulld see somethhing similar to Figure L6.4.
12. Cllose Excel too return to thhe Configuraator, and clicck Commit Changes
C to save
the template. You
Y will reoopen this tem mplate to conntinue with thhe next two labs.
S, Inc
ICONICS L6-3
Lab 6: Configuring Templates ReportWorX Training Manual
This completes Lab 6. We have created a new report template using the
Acmeseutical template. The next lab will walk you through configuring data
sources.
Data Sour
S rces 7
7.1 Objecti
O ves
After completing this chapter,, you shouldd know how to:
7.2 Configu
C uring a Report Temp
plate
Reporrt templatess are configgured in Microsoft
M Exxcel. In the report temmplate
properrties of the Configurator
C r, you can cllick the buutton to launnch the Micrrosoft
Excel workbook correspondding to yourr template. The templaate opens inside
Microosoft Excel, and the RepportWorX Coonfigurator temporarily
t closes whilee you
are wo
orking insidee the templaate in Excel.
The ReportWorX
R X template designer innserts a ReeportWorX menu intoo the
Microosoft Excel menu bar, as shown iin Figure 7.1. This meenu contains the
follow
wing commaands:
S, Inc
ICONICS 7-1
Data Sources ReportWorX Training Manual
NOTE: If you are using Microsoft Office 2003, there will be a ReportWorX
menu in the toolbar.
When you open Excel through ReportWorX, the following File menu commands
in Microsoft Excel are not supported:
• File - New: All new ReportWorX templates must be created through the
ReportWorX Configurator.
• File - Open: All new ReportWorX templates must be opened by clicking
the Edit This Template button in the ReportWorX Configurator.
• File - Save As: When a template is created in the ReportWorX
Configurator, the Excel file will be named after the template name. If you
rename the template, the Excel file will also be renamed automatically.
For every report that you want to run, you must format the cells with supported
data type in order to generate your reports correctly. The ReportWorX Excel
interface includes an embedded pop-up menu that allows you to specify data
sources for your reports, as mentioned earlier.
To format the data type, select the cell(s) you wish to format and then right-click
on the selected (highlighted) cells in the Microsoft Excel workbook. In the pop-up
menu options, choose Connect to new Data Source as shown in Figure 7.2.
• OPC Data Access (DA) and Historical Data Access (HDA) tags.
• ICONICS TrendWorX32 historical tags, text aliases, and language aliases.
• Databases, including Microsoft Access, Microsoft Excel, Microsoft SQL
Server, etc.
• Alarm Analytics
• Parameter
• Hyperlinkks
• Custom Data Sources
• Web services
• Integrationn Tasks
Reporrts are execuuted based on the data connectionss you speciffy in your Excel
E
templates.
Once cells are connfigured witth data connnections, smaall red trianggles appear in
i the
top right corner of
o the cell, to
t show thaat it has its data
d connecttions configgured.
You can
c view comments aboout the data source for a particular cell by hovvering
the moouse pointerr over the cell, as shown in Figure 7..3.
The ReportWorX
R X Configurattor will reoopen to the template prroperties, annd all
reportts linked to the
t template will be re-ennabled.
S, Inc
ICONICS 7-3
Data Sources ReportWorX Training Manual
The OPC DA Connection Wizard dialog box, shown in Figure 7.5, helps you
choose the tag connections.
To choose a DA tag with the OPC DA Connection Wizard, click on the ellipsis
(…) button to open the Unified Data Browser. Once in the browser, select the
tag, expression, or alias that you want to use.
NOTE: You can also select expressions or global aliases. Please refer to the
ReportWorX Configurator help documentation for information about the
Expression Editor and global aliasing.
The selected
s tag appears in the Tag Naame field off the OPC DA Connection
Wizarrd dialog boox, as shownn in Figure 7.6.
Click on the Nexxt button to display thee Configure Engineeringg Units andd Tag
Descrriptions checck box as shown in Figuure 7.7, and enable it to allow the usser to
view this
t informattion.
S, Inc
ICONICS 7-5
Data Sou
urces ReportWorrX Training Manual
Clickiing the Nextt button andd checking thhe Configuree Data Sourcces Names check
c
box, as
a shown in Figure
F 7.8; allows
a the user to speciffy names andd descriptionns for
their data
d sources. Click on thhe Finish buttton to compplete the wizaard.
When n you return to the tempplate after configuring the t tag connnections, thee data
tag will be linkedd to the seleected cell(s) in the tempplate, and a little red triaangle
indicaates the data point. Recaall that you can
c view com mments abouut the data soource
by hov vering the mouse
m pointeer over the ceell as shown in Figure 7..9.
NOTE: Thee Layout Mannager will appeear when finishhed, and will be
b discussed
in a later chaapter.
7-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
7.3.2 OPC
C Historiical Dataa Access Tags
T
Right--clicking onn a cell (or group), andd then seleccting Conneect to new Data
Sourcce Æ OPC HDAÆ Historical Datta Access (H HDA) Tag from the poop-up
menu,, as shown in Figure 7.110, will allow
w you to connfigure cellss with OPC HDA
H
data connections
c using the OPC
O HDA Connection
C Wizard as shown in Figure
F
7.11.
The OPC
O HDA Connection
C Wizard dialog box, shoown in Figurre 7.11, helps you
choosse the tag connnections.
S, Inc
ICONICS 7-7
Data Sou
urces ReportWorrX Training Manual
Figu
ure 7.12 - Confiiguring Engineeering Units and
d Tag Descriptioons
Click the Next buutton and cheeck the Configure Data Source Nam mes check boox, as
shown n in Figure 7.13.
7 This alllows the usser to specify
fy names andd descriptionns for
their data
d sources.
7-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
At thee top of thee OPC HDA A Tag grou up propertiies dialog box, set the Data
retrieeval filter tot Raw, Avverage, Minnimum, Maxximum, Stanndard Deviaation,
Minim mum Actual Time, Maxiimum Actuaal time, or Laast Sample. IfI desired, ennable
the Fiill data in reeverse orderr option.
S, Inc
ICONICS 7-9
Data Sources ReportWorX Training Manual
• The Set data retrieval start time section has the option to use a
parameter. Check the use parameter checkbox and click the … button to
launch the parameter browser. User could choose to use the Offset from
End Time setting as well.
• The Set data retrieval end time has a … button to launch the parameter
browser.
• The section on the bottom of the OPC HDA Tag group properties dialog
box has the option to Retrieve Multiple Data Values by checking off the
box next to it and setting the processing interval.
Select Finish to close the dialog box and return to Excel view.
NOTE: If the Fill data in reverse order check box is checked, cells in the
report template will be filled with data from the bottom up. The oldest data will
be in the bottom cell, and more recent data will be added to cells above the
bottom cell.
To configure native trend tags, you can select the Connect to new Data Source
Æ ICONICS Native Historical Tag Æ Native Trend Tag from the context
menu. In the Native Historical Tag Connection Wizard dialog box, click on the
ellipsis (…) button to browse for tags via the Unified Data Browser.
NOTE: You can also select expressions or global aliases. Please refer to the
ReportWorX Configurator help documentation for information about the
Expression Editor and global aliasing.
S, Inc
ICONICS 7-11
Data Sou
urces ReportWorrX Training Manual
Clickiing the Nexxt button willl display a check box as shown inn Figure 7.118, to
allow the user to Configure
C Enngineering Units
U and Taag Descriptioons.
Click the Next buutton to dispplay a checkk box, as shoown in Figuure 7.19, to allow
a
the usser to specifyy names and descriptionss for their daata sources.
7-12 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
In thee Native Trend Tag grroup properrties dialog box, set thee Data retrrieval
filter to Raw, Average,
A Minnimum, Maaximum, Staandard Deviiation, Miniimum
Actuaal Time, Maaximum Actuual time, or Last Samplle. You can also use thee Fill
data in
i reverse order option.
NOTE: If thet Fill data in i reverse ord der check boxx is checked, cells in the
report templlate will be fillled with data from
fr the bottom
m up. The oldeest data will
be in the boottom cell, andd more recentt data will be added to cellss above the
bottom cell.
S, Inc
ICONICS 7-13
Data Sources ReportWorX Training Manual
• The Set data retrieval start time section has the option to use
parameters. Check the use parameter checkbox and click the … button to
launch the parameter browser. The user could choose to use the Offset
from End Time setting as well.
• The Set data retrieval end time has a … button to launch the parameter
browser.
• The section on the bottom of the Native Trend Tag group properties
dialog box has the option to Retrieve Multiple Data Values by checking
off the box next to it and setting the processing interval.
Select Finish to close the dialog box and return to the Excel view.
The Unified Data Browser opens and you can select the desired text alias on the
appropriate tab. To insert a Global Alias, browse for the one you need from the
Global Aliases tab. If you need to use a Language Alias instead, select the
Language Aliases tab, and browse for your language alias. Once you’ve selected
your alias, return to the report template and the text alias is linked to the selected
cell(s) in the template, and a little red triangle indicates the alias, as shown in
Figure 7.22.
7-14 ICONICS, Inc
ReportWo
orX Training Manual
M Data Sou
urces
7.5 Connec
C cting to Databaases
The first
f step in defining a data
d source from whichh ReportWoorX will acccess a
databaase is establiishing a connection to ann OLE DB datad provider. Once you have
conneected to a dattabase, you need
n to speccify which daata will be retrieved from
m the
databaase and diisplayed inn the reporrt template. The RepportWorX Excel E
config
guration inteerface enablees you to linnk data cells in your spreeadsheet tem mplate
to manny types of databases,
d inncluding the following:
• Database Connection
C
• Data Selecction
• Data Mappping
NOTE: Thee basics of thee first two stepps will be explained in this chapter.
c For
information on data mappiing, refer to a later chapter.
7.5.1 Step
p One: Daatabase Connecti
C ion
You can
c create a database connection as the dataa source using the Dataabase
Conneection Confiiguration Wiizard.
S, Inc
ICONICS 7-15
Data Sou
urces ReportWorrX Training Manual
To create a databbase connecttion, right click on a ceell (or groupp), and selecct the
Connnect to New w Data Sourrce Æ Opeen Databasee from the context c mennu, as
shownn in Figure 7.23.
7
Figu
ure 7.23 - Opening Database Connection
C Configuration Wizaard
Right click on thee desired dattabase conneection and seelect Insert New
N Connecction.
This will
w open a browser forr you to seleect the databbase you waant to use, which w
enablees you to sppecify the database
d namme and/or connection
c s
string in ordder to
createe a list of saaved databasse connectionns. This listt allows youu to configurre the
conneection inform mation only once
o and be able to use iti in other tem
mplates.
7-16 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
Click on OK to create
c the connection string. Select the
t connectioon and clickk OK.
We will
w continue to use the Database
D Coonnection Configuratio
C on Wizard in i the
next sub-section.
s So leave it open
o for now
w.
7.5.2 Step
p Two: Data Selecction
After selecting thee newly creaated connecttion string, you
y need to select the daata to
displaay in the repport. Continuuing from thhe proceduree above, youu can click ono the
Next button to bring
b up thee Configuree your dataa connectioon dialog boox as
shown n in Figure 7.25. Click the
t Edit buttton and set onne of the folllowing optionns for
data reetrieval:
• Simple Query:
Q Sim
mple Confi figuration Mode
M for Open Dataabase
Connectioons to query a single tablle
• Advanced d Query: Helps
H you crreate advancced SQL quueries to muultiple
tables.
• Custom Query:
Q Provvides an ediitor window w for writingg your own SQL
language queries.
q
• Stored Prrocedure Caall: Creates queries
q to exxecute storedd proceduress.
NOTE: Noot all four opptions will alw ways be avaiilable dependiing on the
connection type,
t as certaiin types of queries are not supported
s by all
a types of
databases.
F
Figure 7.25 - Daatabase Queriess
S, Inc
ICONICS 7-17
Data Sources ReportWorX Training Manual
Add and/or edit SQL column names/expressions to each column by clicking the
Add Expression button.
In the SQL Expression dialog, edit the SQL Expression Title and SQL Column
Expression fields, as shown in Figure 7.27.
To create a multi-table query, click on the [+] button to display a list of the tables in
the database. In here, you can select from which tables to retrieve data from and
display in the report template.
Select the data tables to include in the database query by clicking on the table and
then click on the Ok button. Notice that the added table(s) show up in the bottom
Tables section.
Once you click Ok to the Multiple Table Selection dialog, the wizard displays all
columns from all the tables you have selected. For each table you chose, you can
select which data columns to include in the database query by checking the box
next to the name of each column, as shown in Figure 7.29.
If you select multiple tables, you can join the tables together by dragging a data
column from one table to the corresponding field in another table.
To view the link details, double click the linking arrow to display the Table Join
Properties dialog box, shown in Figure 7.30.
You see a list of the names of the tables and columns that are joined. You can use
the expression options under SQL Join Type to define the relationship between
the two columns (i.e. Equal, Greater than, Less than, etc.). You can also manually
write a Custom Join Condition by clicking the Edit button.
NOTE: Please refer to the SQL language documentation for details about SQL
joins.
Selected data columns are listed in the bottom pane of the window, as shown in
Figure 7.29, determining which columns or expressions will be included in the
SELECT statement as well as the column titles that will be displayed.
You can use the Move Up/Move Down buttons to change the order in which the
columns will be displayed. To change an existing column/expression, click the
Edit Exp button and make your addition or changes. To insert a column or to
create a new expression, click the Add Column Expression button [ ] and
specify the expression.
Clicking the Records Grouping tab as shown in Figure 7.31 offers additional
options that are not available with the Simple SQL Query Wizard and lists the
selected tables and columns.
Grouping applies to records in a data column that have the same value. Click
checkboxes to change the grouping options for the data tables (or leave them
unchanged). Use the pulldown menus to assign an Aggregate Function (i.e.
Count, Average, Maximum, Minimum, Sum, Standard Deviation, etc.) to each of
the columns you did not include in the grouping list. The records of columns that
are assigned the same aggregate function will be grouped together in the query
result. You have two grouping options:
You can specify both absolute and relative intervals for retrieving data from the
database. An absolute interval is a fixed period of time (i.e. the month of June, or
1 week ago, or an 8-hour shift). A relative interval is a period of time relative to
the report execution time. For example, if a one month relative interval is used,
the periodic summary report will include data in several chunks, each of which
covers an interval of one month calculated from the moment of the report
execution time. You have to specify a number of intervals for the report.
The Stored Procedures dialog, shown in Figure 7.32, allows you to choose a
stored procedure from the Select Stored Procedure dialog. This will tell
ReportWorX the stored procedure in the database to execute and display the
results in the report. Since some stored procedures require input values, you can
select parameters as these input values in this dialog as well. You can add
Parameters by clicking in the list, and then on the ellipsis (…) button to bring up
the Parameter Browser.
F
Figure 7.32 - Stoored Proceduress
The Parameter
P N
Name list diisplays all paarameter objjects you havve created inn this
template. To moodify a paraameter's prooperties, douuble-click on o the param meter
name.. This openss the Param meter Browsser, as show wn in Figure 7.33. Param meters
will be discussed later in this chapter.
S, Inc
ICONICS 7-23
Data Sources ReportWorX Training Manual
To create a filter, click on the Records Filtering tab, and then on the [+] button.
In the Filtering Criteria dialog box, shown in Figure 7.36, a SQL filtering
expression will be created.
Select columns in the Column name to filter on drop-down list, and the
appropriate relation from the Relation Type and Relates To list.
After filtering is configured (if desired), you can sort your records by clicking on
Sorting tab.
In the Sort Records dialog, shown in Figure 7.37, specify the priority by which
the columns and the records in each column are sorted. You can choose to sort on
any of the selected columns, or leave them unsorted. To determine the order in
which the data will be displayed within each column, select that column and
choose one of the following sorting options:
• Ascending: Sorts the data in the column in ascending order (e.g. from
least to greatest)
• Descending: Sorts the data in the column in descending order (e.g. from
greatest to least)
7.6 Connec
C cting to Web Services
S s in Exccel
The ReportWorX
R X Excel interrface enabless you to get data from Web
W services and
displaay the data inn your reportts.
To coonnect to a Web
W servicee in an Excel report tem mplate, you can
c right-cliccking
on thee cell (or grooup), and then selectingg Connect too new Data Source Æ Web
Servicce from the pop-up
p menu, as shown in Figure 7.38.
7-26 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
7.6.1 Step
p One: Web
W Serviice URL info
You can
c set the Web Servicce URL info formation byy clicking on
o the Brow
wse…
button
n in the Webb Service UR RL info secttion to open the Configu
ure Web Seervice
Connnection dialoog box, as shhown in Figuure 7.40.
Type the URL adddress of thee Web servicce under Web Service URL or sellect it
from the
t drop dow wn menu. Then,
T enter thhe User Name, Passwoord, and Dom main
name if necessaryy to log in to the Webb service. Fiinally, click on the Con nnect
button
n to connectt to the Weeb service. Once
O the serrvice is connnected, click the
Finish
h button.
Other advanced parameters thhat may applly to selectedd Web servicces include:
• Request Timeout:
T Tiime (in secoonds) that thhe ReportWWorX Servicee will
wait for a response froom the Web service.
• Refresh Proxy
P DLL: When a connection
c too a Web seervice is maade, a
proxy .dll file is autoomatically created.
c If multiple
m repoort templatees are
connectedd to the samee Web servicce, they willl use the sam
me proxy .dlll file.
Checking the Refressh Proxy chheck box will w update the .dll, annd all
templates will use thatt proxy .dll file.
f
• Use Proxyy Server: Chheck this boox to use a prroxy server. This will reequire
you to alsso enter the Proxy Serrver URL, User U name,, Password, and
Domain iff necessary.
S, Inc
ICONICS 7-27
Data Sou
urces ReportWorrX Training Manual
7.6.2 Step
p Two: Seelect Web
b Servicee
After connecting to
t the Web Service
S o the drop down menu from
of chhoice, click on
the Seelect Web Service sectioon, as shownn in Figure 7.41,
7 to compplete step tw
wo.
7.6.33 Step
p Three: Select Web
W Serviice methood
After selecting thhe web servvice method, click on thhe Next buutton to openn the
Confiigure Web Service
S paraameters diallog, as show
wn in Figure 7.42.
7-28 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
Lastly
y, click the Finish
F buttoon to return to
t the reportt template where
w you caan see
that a little red triangle apppeared on thet cell to indicate thee data sourrce is
conneected to the WebServiceD
W DataSource as shown in Figure 7.444.
7.7 Parame
P eters
Parammeters can be b used to make
m reportss more flexibble and interractive. Therre are
severaal different types of paraameters:
S, Inc
ICONICS 7-29
Data Sources ReportWorX Training Manual
To start the Parameter Browser in the Microsoft Excel template designer, you can
select Parameter Browser from the ReportWorX menu, as shown in Figure
7.45.
The Parameter Browser lists the name, data type, parameter type, and if it’s
being used for each parameter. The up and down arrow buttons allow you to sort
the list of parameters. The Parameter Browser also contains five buttons:
• Validation Rules: Click this button to open the Validation Rules dialog,
which shows you any Rules and their validation Error Messages.
• Add: Click this button to launch the Configure your parameter dialog
box, which helps you create and configure your parameters. Select the
Help me choose button to launch the Parameter Wizard.
• Edit: Click this button to launch the Configure your parameter dialog
box, which allows you to modify the selected parameter. Select the Help
me choose button to launch the Parameter Wizard.
• Duplicate: Click this button to create a duplicate of the selected parameter
• Delete: Cllick this buttton to removve the currently selectedd parameter from
the Parameter Browser.
7.7.2 Para
ameter Wizard
W
Whenn adding a new param meter, click the Add buutton. The Configure your
param
meter dialogg box appearrs with the foollowing opttions:
The Parameter
P W
Wizard can help you deecide on whiich Parameteer type to usse, as
shownn in Figure 7.46. The Parameter Wizard
W has thhree basic paarameter typpes as
descriibed before. We will go into more deetails of eachh now.
S, Inc
ICONICS 7-31
Data Sou
urces ReportWorrX Training Manual
NOTE: Thee parameter name cannot contain any special characterrs or blank
spaces. The parameter musst begin with a letter.
Selectting one of these three options andd clicking thhe Finish button bringss you
back to the Conffigure your parameter
p d
dialog box with
w the new wly selected type
entereed in the Parameter Typee drop downn menu.
7-32 ICONICS
S, Inc
ReportWo
orX Training Manual
M Data Sou
urces
7.7.2.2 Automatic
Selectting Automaatic and cliccking the Neext button brings
b you too the new dialog
d
box sh
hown in Figuure 7.48. Heere you have the followinng options:
• Read the values froom a datab base: For thhe automaticc parameter type
called reaad the valuees from a database,
d thee value(s) will
w automatiically
be read froom a databasse at the timee of report execution.
• Evaluate an expresssion: For the automatic parameeter type called c
evaluate ana expressioon, the valuee will be onee of the folloowing: The result
r
of an exppression, the value of an a OPC tag, the value of an alias, or a
constant value.
v
• Evaluate a date and time: Foor the autom matic param meter type called
c
evaluate a date and time,
t the paarameter willl be a speciaal date or tim
me, or
combinatioon of both.
Selectting one of these three options andd clicking thhe Finish button bringss you
back to the Conffigure your parameter
p d
dialog box with
w the new wly selected type
entereed in the Parameter Typee drop downn menu.
S, Inc
ICONICS 7-33
Data Sou
urces ReportWorrX Training Manual
• Read web b user ideentity param meter type. This param meter value will
correspondd to the ideentity of the Web user that is requuesting the report
r
execution.. This parammeter can be used to filtter informatiion on a perr-user
basis.
• Read report trigger informatioon parameterr type. This parameter value v
will corresspond to the informationn that triggerred the reporrt.
Selectting one of these three options andd clicking thhe Finish button bringss you
back to the Conffigure your parameter
p d
dialog box with
w the new wly selected type
entereed in the Parameter Typee drop downn menu.
NOTE: Forr specific infformation on configuration steps for eacch type of
parameter, see the ReportW
WorX Excel Innterface help doocumentation.
7-34 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 7: Data Sou
urces
Lab
b: Data
D Sou
urcess 7
7.1 Lab
L Ovverview
w
QL Query Wiizard to creaate a database
In thiss lab, you wiill use the Advanced SQ
query.
7.1.1 Task
k Checkllist
In thiss quick lab, you
y will com
mplete the foollowing taskks:
• Create an advanced SQ
QL query.
7.1.2 Supp
port Filees
To com
mplete the Chhapter 6 quickk lab, you willl need the folllowing suppoort file:
• Acmeseutiical_Standarrd.xls
7.2 Advanc
A ced SQL
L Querry Wizaard Exaample
The ReportWorX
R Template Designer
D Advvanced Databbase Configguration Modde
provid
des an Advanced Query Wizard to helph you creaate advancedd queries for your
selected databasess. To run a query
q on an open
o databasse:
S, Inc
ICONICS L7-1
Lab 7: D ata Source s ReportWorrX Training Manual
F
Figure L7. 1 - Open
O Database
L7-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 7: Data Sou
urces
8. Select the newly created database connection as shown in Figure L7. 4 and
click OK.
S, Inc
ICONICS L7-3
Lab 7: D ata Source s ReportWorrX Training Manual
10
0. After the database
d schhema loads (tthis may take several miinutes depennding
on the sizee and locatioon of the seleected database), the Advvanced SQL
Query diallog box openns. The querry wizard waalks you throough a seriess of
dialogs to help you creeate your SQ QL query.
11
1. Click the [+]
[ button too display a list of the tablles in the dattabase, as shhown
in Figure L7.6.
L
12
2. Choose the ‘TotalProoductionDatta’ and ‘Reccipes’ tables by highlightting
each one individually and clickingg Add, as shown in Figuure L7.6. Theen
click OK. This will innclude these tables
t in thee database quuery.
L7-4 ICONICS
S, Inc
ReportWorX Training Manual Lab 7: Data Sources
13. In order to make a meaningful query using these two tables, we must
specify the field that is common to the two tables and create a “join”
between them. In our example, it is the RecipeID field from the
TotalProductionData table and the ID field from the Recipes table.
14. Click on the RecipeID field and drag it over to the ID field of the Recipes
table. It is extremely important that you drag it exactly over the ID field,
not just any field, and then release. This will create a join between the two
tables.
15. Now that we have established the link between these two tables, it is safe
to select any of the fields from either table to be included in our report.
16. From the Recipes table, select just the RecipeName field.
17. From the TotalProductionData table, select the following fields in this
order: TheDate, BatchID, Duration, PillCount, and RejectCount.
NOTE: The fields that you select in Advanced Mode will show up in the order
in which you select them, so you can use this to your advantage when building
reports. In Simple Mode you need to select the fields first and then adjust their
order by clicking the Move Up and Move Down buttons.
18. Before clicking Ok, verify that your dialog looks similar to the example in
Figure L7.7.
19. We will not be using the Records Grouping tab in this exercise. We will
not use this. Simply click on Next to continue.
20. Click on the Records Filtering/Sorting tab, as shown in Figure L7..1 and
then the [+] button to open the Filtering Criteria dialog, as shown in
L7.8.2.
23. For the Relates To field, select Constant Value(s) and our constant will
be ‘1’. Click on OK when you are done.
NOTE: Please refer to SQL documentation for details about SQL expressions.
24. Click the Finish button to continue working through the SQL Query
Wizard. You will see the following query summary window, shown in
Figure L7.. Click Next.
25. Be sure to replace the title DatabaseSource with another name, such as
Acmeseutical_Advanced_Query and then click on the Finish button.
26. This will take you to the Layout Manager, which will be discussed in the
next chapter. Just click OK.
27. You will return to the Excel template spreadsheet, which now contains
data mapping cells, as shown in Figure L7.. Report templates are used by
reports to visualize information from your data sources, such as statistics
for employees or manufacturing productivity.
28
8. Finally, beefore we savve our templaate, let’s fill in the <Inseert Report Title
T
Here> fielld. Replace that text witth Recipe Prroduction Report.
R
29
9. You may close
c out of the ReportWWorX Excel template.
t If prompted too
Commit Changes,
C pleease do so inn order to rettain your cusstomized
template.
L7-8 ICONICS
S, Inc
ReportWorX Training Manual Layout Manager
Layout Manager 8
8.1 Objectives
After completing this chapter, you should know how to:
The Layout Manager can be divided into three sections, as illustrated by Figure
8.1:
8.2.1 Toollbar
Alongg the top of the
t Layout Manager
M is a toolbar, whhich allows you
y to manippulate
the daata in the reeport and includes featuures such as moving, innserting, deleeting,
mergiing, transpossing, etc. cellls as shown in Figure 8.22.
Figu
ure 8.2 - Layoutt Manager Toollbar
8-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M L
Layout Man ager
8.2.33 Data
a Mappin
ng Previeew
In thee main panell of the Layout Manageer is the worrk area, show wn in Figuree 8.4,
for yoou to samplee the data mapping.
m Herre the user can
c manipullate the layoout of
data and
a configure how the daata will be displayed
d in the report. You
Y can alsoo give
each column
c a maanual title orr use the autoo detected coolumn title.
8.3 Mappin
M ng Dataa Fieldss
To maap data fieldds from the data source,, drag it from
m the tree coontrol on thhe left
and drop it in a column
c of thhe work areaa on the righht. You can also changee any
mappeed data cell to
t any differrent data souurce by expaanding the drrop down lisst of a
curren
ntly mapped cell as showwn in Figure 8.5.
Figu
ure 8.5 - Changiing Data Mappiings
The drop
d down coontains all data
d fields froom the conffigured data source as well as
an extra “<unmappped>” fieldd. Selecting this from the
t list would undo thee data
mappiing of the ceell.
8.3.1 Man
nipulatin
ng the Maapped Daata
Once you have seelected whicch data goes onto the exxcel spreadshheet and ordders it
in thee different columns in the work area, your report is mostly m readyy for
execu
ution. Howevver, there arre some optiions in the tooolbar that you
y may waant to
S, Inc
ICONICS 8-3
Layout Manager
M ReportWorrX Training Manual
set to further trannsform your data mappiing. The tooolbar of the Layout Mannager
offers the followinng options too manipulatee the data maapping:
NOTE: Forr more informaation on these forms of dataa manipulationn and others
not includedd, please refer to
t the ReportW
WorX help docuumentation.
8.3.1.1 Mov
ve
Underr the move button,
b you have
h the folloowing optionns:
The moving
m of thee data mapping is limited to the entire layout. Foor example, if the
data mapping
m staarted at cell 1A, clickinng on the doown arrow, would movve the
entire mapping doown one row w, to start at cell
c 2A.
8.3.1.2 Inseert
You get
g the follow
wing insert options
o by clicking
c on thhe triangle button
b next to
t the
insert button:
8-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M L
Layout Man ager
For th
he insert opttions, you caan either addd a row or column
c at the end of thee data
mappiing (append)) or insert a row or column on top or o in front off the selectedd row
or collumn. Once you have performed
p a insert funnction, clickiing on the insert
an i
button
n would perfform the lastt insert operaation.
8.3.1.3 Deleete
The following
f deelete optionss are availabble when cliicking on thhe triangle button
b
next to
o the delete button:
You should
s note that you can delete anny row or columnc usinng these butttons.
Howeever, you caan only deleete data mapppings from m cells wherre there are data
using this button. If you selecct empty cellls or cells with
w literal strings,
s the delete
d
option
n will be graayed out. Thhe delete buutton auto deetects what is
i selected in
i the
work area to perfoorm the correct delete fuunction.
8.3.1.4 Merrge
Expannd the mergee menu withh the trianglee button nextt to the mergge button annd the
follow
wing options become avaailable:
Be caareful when you use thee merge funnctino. Simillar to how excel
e perforrms a
mergee, the result of the funcction only keeps
k data inn the first selected
s celll. For
exampple, if you seelected cell A1 and B1 for mergingg, and you haave “John” in i A1
and “D
Doe” in B1, the result off the merge would
w only leave
l “John”” in the cell.
You can
c click on the Show Header
H button to insert a heaader. The alrready
mappeed columns will automaatically contain a colum
mn header as shown in Figure
F
8.6.
S, Inc
ICONICS 8-5
Layout Manager
M ReportWorrX Training Manual
F
Figure 8.7 - Header Removed
8.3.1.6 Transpose
Transppose the cuurrent data mapping
m froom expandinng verticallyy (data fieldds are
mappeed to a colum mn) as show
wn in Figuree 8.8, to horiizontal expannsion (data fields
f
are maapped to a roow) as show
wn in Figure 8.9.
Figu
ure 8.8 - Colum
mn based mappiing
8-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M L
Layout Man ager
8.3.1.7 Automap
You can
c have RepportWorX auutomaticallyy map the datta fields fromm the data soource
to new
wly added roows or colum
mns dependiing on the diirection of how
h the dataa fills.
Simplly click on the Automaap buttton, to enabble or disabble this funcction.
Whenn the buttonn is highlighhted, it is enabled.
e Note that in order
o to usee this
functiion, the firstt column orr row must contained mapped
m data. The Autoomap
functiion will use the next unnmapped daata field, skipping thosee that are alrready
mappeed.
8.3.1.8 Run
ntime Optioons
Click on Runtimee Options too expand thee menu as shhown in Figuure 8.10.
F
Figure 8.10 - Ru
untime Optionss
Selectt Auto Expaand to have ReportWorrX automaticcally expandd the currentt data
mappiing based onn the amounnt of data thaat is returnedd from the data
d source. If
I the
data mapping
m is vertical (yoour headers goes acrosss a row), thhe data mappping
wouldd expand doown the row ws. If the daata mappingg is horizonttal (your headers
goes down
d a colum
mn), the dataa mapping would
w expand across the columns.
S, Inc
ICONICS 8-7
Layout Manager
M ReportWorrX Training Manual
Any configured
c d
data cells in the way off the auto exxpansion (suuch as the annchor
row) will
w move doown to accom mmodate forr the expansion.
• Fill Selectted Region: Fill only thee current datta mapped laayout with data.
• Fill No More
M Than: Fill the speecified numbber of rows (if data exppands
vertically)) or columnns (if data expands
e horrizontally) with
w data. Iff you
select thiss option youu must alsoo specify thhe number in i the field.. The
default is one. You caan enter any positive intteger equal tot or greaterr than
one.
8-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 8: Layout
L Man ager
Lab
b: La
ayou
ut Mana
M agerr 8
8.1 Lab
L Ovverview
w
In thiss lab we willl use the Layyout Manageer to adjust our
o Acmeseuutical Advannced
Template.
8.1.1 Task
k Checkllist
In thiss quick lab, you
y will com
mplete the foollowing taskks:
8.1.2 Supp
port Filees
You do
d not need any
a support file to compplete this lab
8.2 Openin
O g the Report
R T
Templa
ate
r is not alreaddy open, clicck Start Æ
1. If your ReeportWorX Configurator
C
Programss Æ ICONIC CS BizViz Æ ReportW WorX Æ Rep portWorX
Configuraator.
2. Navigate to
t the Acmesseutical Repport Template in the Acm
meseutical
Templatess folder
S, Inc
ICONICS L8-1
Lab 8: L ayout Mana
ager ReportWorrX Training Manual
6. Click on thhe Move buttton and chooose Move Up U to move thet layout upp by
one row. This
T will repplace the exissting static header
h but reetain its
formattingg.
7. Then clickk OK. You willw notice thhat the headeer of each coolumn is now
w
filled in annd displays the
t header naame surrounnded by two curly brackeets.
For exampple, {{RecipeName}}, as shown in Figure
F L8.2.
8. Click on thhe Runtime Options buttton, and makke sure that Auto
A Expand is
selected. If so, you cann close the Layout
L Manaager.
Thhis completees Lab 8. Wee used the Laayout Managger to map thhe desired daata
fro
om the databbase in the way
w we wantt on the spreaadsheet. Thee next chapteer
wiill discuss crreating and running
r repoorts in greateer detail
L8-2 ICONICS
S, Inc
ReportWorX Training Manual Report Configuration
Report Configuration 9
9.1 Objectives
After completing this chapter, you should know how to:
NOTE: A report must have a report template assigned to it before the report can
be enabled.
• Report Template:
T S
Select a repport templatte from the drop-downn list,
which listts all templaates under thhe Report Tools T tree control.
c Youu can
also click the buttons to the rigght of this field f to eithher create a new
template (see
( the "Reeport Template Wizardd" section beelow) or eddit an
existing teemplate.
• Redirectoor Action: Select a redirector task from the drop-downn list,
which lists all redirecctor tasks unnder the Rep port Tools tree
t control. You
can also click
c the butttons to the right of thiss field to eitther create a new
redirector task (see the
t "Creatinng a Redirecctor Action from a Reeport"
section bellow) or edit an existing redirector
r taask.
• Generate Report Ass: Select thee file type(s)) for your report r file(s)) (i.e.
Excel file,, PDF, and HTML).
H Thee default file type is an Excel
E report;; note
that you cannot
c unchheck this opttion. Clickinng the PDF F Settings button
b
opens the Advanced PDF Optioons dialog, as a shown inn Figure 9.1. The
options in this dialog are:
a
o Protect PDF File:F Enabless security prrotection for generated PDFs.
P
o Lin nearize: Optimizes PDF Fs for Web viewing.
v
o Em mbed Fontss: When this check boxx is checkedd, any text fonts
conntained in thhe report will be embeddded in the resulting Adobe A
PDDF file uponn conversion to ensure thhat PDF reaaders will bee able
to view
v and priint the reporrt in its originnal font.
9.2.1.1 Rep
port Templlate Wizard
d
The report properrties dialog provides a Report Tem mplate Wizzard to helpp you
createe new reportt templates in Microsoft Excel. Too start the wizard,
w clickk the
9-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reporrt Configura
ation
The Report
R Tempplate Wizardd, shown inn Figure 9.3,, allows youu to create a full
reportt template annd apply it tot the reportt, without neeeding to move
m to the report
r
template section of the Connfigurator. The T wizard will guide you througgh all
necesssary steps too create a woorking template.
S, Inc
ICONICS 9-3
Report Configurati
C on ReportWorrX Training Manual
Figure 9.5
9 - Naming thee New Redirector Task
9.2.2 Adv
vanced Reeport Setttings
You may
m remem mber that wee had to go into the Addvanced Moode of the report
r
config
guration to add
a a triggerr. There are many more options undder the Advaanced
Modee, including:
• Report Schheduling
• Options
• Default Laanguage
• Global Aliiasing Them
mes
• Web Visibbility
9.2.2.1 Rep
port Schedu
uling
The Report
R Scheduling tabb of the advvanced reporrt settings defines
d whenn the
reportt will be exxecuted. Repports are exxecuted baseed on triggeers. To assiign a
9-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reporrt Configura
ation
triggeer to the repoort, click the Add buttoon, which lists all triggeers configurred in
the Unified
U Dataa Manager. You can edite the seleccted trigger or create a new
triggeer by clickingg the Run UD
DM Configuurator button.
If you
u do not wannt to assign a trigger to thhe report, yoou alternativeely can chooose to
execuute it manually by clickinng the Execu ute Report NowN button.
If the ReportWorrX service iss in runtimee mode, andd a configuraation changee has
occurrred that modifies
m the schedulinng of anyy report, thhe ReportW WorX
Configurator willl display thee following message
m as shown in Figure
F 9.6. Iff you
select Yes, the changes
c willl be transm
mitted immeediately to the
t ReportW WorX
Servicce. If you seelect No, youu must manuually inform
m the ReporttWorX serviice of
the scheduling changes
c by clicking the
t Reload Scheduless button onn the
Configurator toolbbar.
9.2.2.2 Opttions
In thee Options taab of the advvanced reporrt settings, you can checck one or moore of
the following checck boxes:
• Protect Workbook:
W W
When Proteect Workboook is checked, the geneerated
Microsoft Excel Repoort will be read-only (e.g.
( no onee will be abble to
modify it).
• Use Univeersal Coord dinated Tim me (UTC): When
W Use UTC
U is checked,
all time sttamps storedd in the report will be stored as UTC
U time staamps.
S, Inc
ICONICS 9-5
Report Configurati
C on ReportWorrX Training Manual
• Merge Results
R in One
O Report: Combinees multiple values of input
parameterss into a single report.
• Generate Multiple Reports: Executes
E muultiple repoorts for muultiple
values of input
i parameeters.
• Allow Extternal Selecction: Enablles selectionn of multiplee values for input
parameterss through thee ReportWoorX Web Inteerface.
9.2.2.3 Defa
ault Langu
uage
The Default
D Lannguage tab of
o the advancced report settings, show wn in Figuree 9.8,
gives you the optiion to speciffy a languagge for the repport that is different
d from
m the
defaullt language of
o the reportt configuratioon.
Figure 9.8 - Ad
dvanced Reporrt Settings: Report Language
9-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Reporrt Configura
ation
• Languagee: Click on thhe globe icoon button to open the Laanguage Seleector,
which alloows you chooose the report languagee. This is thhe language to be
used in thee reports. Alll language-aaliased entriies within thhe report tem
mplate
will be traanslated to thhe selected language,
l annd OPC valuues will be scaled
using the language
l connfiguration settings.
s
• Languagee Subset: Thhe default laanguage subbset (chosen in the Langguage
Selector) for
f the reporrt is displayeed in this fielld.
9.2.2.4 Glob
bal Aliasin
ng Themes
The Global
G Aliaasing Them mes tab of the
t advanceed report settings, show
wn in
Figuree 9.9, allowss you to brow
wse for global aliasing thhemes.
NOTE: Foor complete information
i abbout global aliasing,
a pleasse see the
GENESIS322 Global Aliasiing Configurattor help docum
mentation.
ReporrtWorX suppports report--wide aliasess, and it resoolves the aliiases for selected
themees on a per-rreport basis. Global aliasses are assiggned to a cerrtain group based
b
on thee following delimiters:
d <
<#...#>. For example,
e ann aliased strinng for "Buildding"
wouldd appear as <#Building#
< >.
The reesolution off global aliasses is controolled by the Theme. Yoou need to define
d
themees on a per-rreport basis for all kindds of reportss. Themes are
a defined in i the
globall alias themee item browwser, shown in i Figure 9.10. For morre informatioon on
selecting global allias themes, see the ReportWorX doocumentationn.
S, Inc
ICONICS 9-7
Report Configuration ReportWorX Training Manual
When a report associated with a global alias theme is executed, the ReportWorX
Service will interface with the global aliasing engine (server) to resolve the global
alias and theme.
NOTE: The global aliasing configuration within ReportWorX itself may change
depending on the scheduling selected. For reports that are executed on demand,
you will configure a selection of themes to be presented via the ReportWorX
Web interface. For reports that are executed with a trigger on the server side,
there is only one theme selection.
2. Click on the drop down list for the Report Template field
3. Select the Acmeseutical Report Template, and click on Apply. Your report
should look like Figure L9.1.
5. Enable thee report using the Enabled check boox if it’s not enabled.
e
9.3 Associa
A ate Rediirector Action
ns to a Report
R
1. In the RepportWorX Coonfigurator, select the Acmeseutical
A l Report froom
the Acmesseutical Rep
ports folder in the Acmeeseutical Coonfiguration n.
3. You have now associaated the Acm meseutical Coombined Redirector Acttion
to the Acm
meseutical Report
R using the
t Redirecttor Action field. Click onn
Apply to save
s the conffiguration.
L9-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab 9: Running
R Rep
ports
9.4 Starting
S g the ReportW
R WorX seervice
1. Click on thhe traffic ligght in the tooolbar of the ReportWorX
R X Configurator to
start the ReportWorX
R Service, as shown
s in Figgure L9.3.
3. Navigate back
b to yourr Acmeseutical Report and a click thee Execute
Report Noow button. YouY should receive a meessage tellinng you that thhe
report has been successsfully schedduled for exeecution, as shhown in Figuure
L9.4. Clickk OK to ackknowledge thhis message..
9.5 Using
U Monitor
M r View to view
w reportts
1. To view thhe results of a report, wee can use Moonitor View
w from the
ReportWoorX Configurrator. Click on the icon to launch the Moniitor
View.
S, Inc
ICONICS L9-3
Lab 9: R unning Rep
ports ReportWorrX Training Manual
2. You shoulld see somethhing similarr to Figure L9.5, showingg you the
execution time, user, file
f name, staatus, and anyy error inforrmation (if
applicablee). If your reeport status is
i still “Runnning,” use thhe refresh
button at the bottom too refresh the status until you see “Coompleted.”
Figure L9.5
L - Report Exxecution Monitoor View
L9-4 ICONICS
S, Inc
ReportWorX Training Manual Unified Web Interface
10.1 Objectives
After completing this chapter, you should know how to:
• Execute reports
• Visualize reports
• Manage reports
The Unified Web Interface displays configuration information from the active
configuration database, and it also enables you to modify configuration
information. Any configuration change that you make in the Unified Web
Interface is updated in the active report configuration database. Similarly, all
changes that are made to the active configuration database using the ReportWorX
Configurator are reflected in the Unified Web Interface.
The Unified Web Interface also feature Windows NT integrated security. Only
registered users or groups with access rights may view, execute, and manage
reports.
NOTE: The Unified Web Interface allows you to modify existing reports in the
active configuration database from the client side. You can modify report
configuration and report scheduling, but you cannot create new reports. Reports
can only be created through the ReportWorX Configurator on the server side.
The Unified Web Interface opens in Internet Explorer. You can also launch the
ReportWorX Unified Web Interface from a client machine on a company intranet
or over the Internet. Open Internet Explorer and go to the following URL address:
http://<mywebserver>/Main/Secured/LayoutProcessor.aspx
your Unified
U Webb Interface innstallation, both
b providers are in the navigation tree
t
as sho
own in Figurre 10.2.
F
Figure 10.2 - Navigation Tree
10.2.2.2 Comman
nd Bar
The Command
C B shown in Figure 10..3, is a menuu bar that allows you to get
Bar, g to
the Unified
U Web Interface’s Administraation and Usser Preferennces page. There,
T
you can
c change some setttings for thhe Unified Web Interrface. For more
mation on the optionns, please refer to thhe Unified Web Inteerface
inform
docummentation.
S, Inc
ICONICS 10-3
Unified Web Interfa
ace ReportWorrX Training Manual
F
Figure 10.4 - Th
he Content Areaa
In ord
der to visualiize reports using
u the Uniified Web Innterface, youu must first create
c
and configure youur reports inn the ReporrtWorX Connfigurator onn the server side.
Reporrts can be creeated only thhrough the ReportWorX
R X Configuratoor.
10-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Unified
d Web Interrface
availaable throughh the Unifiedd Web Interrface as Miccrosoft Exceel files. Youu can
optionnally make reports
r availaable in Adobbe PDF or HTML
H formaats.
NOTE: In order
o to view and
a modify repports in Excel, the client macchine needs
the Microsooft Excel View wer (availablee on the BizV Viz product CDC or as a
download frrom the ReporrtWorX Unifieed Web Interfaace). To view PDFs, you
will need Adobe
A Acrobat Reader. The PDF P and HTM ML formats aree static, but
Excel reportts enable you too manipulate thhe data containned in the reporrts.
To view your repports throughh the Unifieed Web Inteerface, you will w need too first
start the
t ReportW WorX Servicce on the seerver side. Once O it’s staarted, launchh the
Unifieed Web Inteerface from your web browser.
b Once you see the ReportW WorX
providder in the maain page, youu can navigaate to the dessired report for
f execution.
S, Inc
ICONICS 10-5
Unified Web Interfa
ace ReportWorrX Training Manual
The Unified
U Weeb Interfacee will dispplay all possible param meter selecctions
necesssary to run the
t report. Parameters
P arre configureed on the serrver side to allow
a
you to o refine the data in the report.
r For example,
e a pill
p inventoryy report couuld be
filtereed for a speccific pill nam
me, and alloow you to customize
c w
which pill wiill be
displaayed in the report,
r as shoown in Figuure 10.7. It iss possible too pass param
meters
to dattabase queriies as well as web serrvice calls and global aliases. Seee the
ReporrtWorX Exccel configuraation docum mentation foor informatioon about hoow to
config gure database parameterss or web servvice parameeters for repoorts.
Some reports mayy take a long time to exxecute due too the amounnt of data inn it or
due to
o the time reqquired to connvert it into HTML. If thhe report takkes a long tim
me to
execu
ute, you will be notified with
w a messaage such as the t one show wn in Figuree 10.9.
10-6 ICONICS
S, Inc
ReportWorX Training Manual Unified Web Interface
execution result is 60 seconds, which means that the Unified Web Interface will
wait at most 60 seconds for a report to be executed. You can change this timeout
by going to the Preferences page and setting a different value for it (see the
“Preferences" section for details). You can also configure if you want to wait for
the report execution result.
When reports are executed in the Unified Web Interface, an auto-generated URL
address to the report file is made available at the resulting page. The URL address
would all start with: http://localhost/RwxWebService/tmp/<report_identifier>
where <report_identifier> is an auto-generated ID by ReportWorX for the
particular report.
If the report is executed but no link is shown on the resulting web page, it may
mean that the report did not execute successfully.
If the resulting page shows a link to a report but you cannot see the report by
clicking on it, you may not have access rights to view the report.
If the report link contains localhost instead of the Web server name, it may be
impossible for you to see the report because the ReportWorX provider address has
not been properly configured. Ask your system administrator to change the
ReportWorX provider address to match the server name.
The reports
r are organized
o according to the report folders in the t active report
r
config
guration. Wiithin each folder,
f you can
c sort thee reports by each colum mn in
ascendding or desccending ordeer by clickingg on the coluumn headingg.
If the report is coonfigured to be saved as the same file (i.e. the Create
C new Files
checkk box in the report confiiguration prooperties is not
n checked), only the link to
the laast report exxecution will be displayyed because the existingg report filees get
overwwritten. If yoou delete thee report files from the web
w server, they will notn be
listed in the Unified Web Inteerface.
Each report
r folderr lists the folllowing dataa columns:
• Report Name:
N Displaays the repoort names ass shown in the
t configurration
database. The Reportt Name collumn in the Content Area A page of
o the
Unified Web
W Interfacee lists both reeports that were
w executeed successfullly as
well as repports that faiiled to execuute.
• Executed At: Lists the date and tiime each repport was execcuted.
• Executed By: Lists thhe user and the domain they are froom who execcuted
the report.
10-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Unified
d Web Interrface
S, Inc
ICONICS 10-9
Unified Web Interfa
ace ReportWorrX Training Manual
Figu
ure 10.11 - View
wing Excel Repoorts in the Uniffied Web Interfface
Figu
ure 10.12 - Filteering Report Daata
10.22.6 Man
naging Reports
R
By seelecting a reeport from thhe Navigation Tree to the left of thet Unified Web
Interfa
face, and righht clicking itt, you are able to select the
t Configurre Report option
o
as sho
own in Figurre 10.13.
10-10 ICONICS
S, Inc
ReportWo
orX Training Manual
M Unified
d Web Interrface
Figu
ure 10.13 - Con
nfiguring a Repoort
This will
w display many conffiguration opptions in thee Content AreaA to the right,
r
similaar to those inn the ReportW
WorX Confiigurator, as shown
s in Figgure 10.14.
Figure 10.14
1 - Report Configuration
C O
Options in the Unified
U Web Interface
NOTE: Forr more informaation on the coonfiguration opptions for eachh tab, please
refer to the ReportWorX
R d
documentation.
S, Inc
ICONICS 1
10-11
Unified Web Interface ReportWorX Training Manual
Lab b: Unifie
U ed Web
W
10
Intterfaace
10.1 Lab Overview
O w
The ReportWorX
R web part in the Unified Web Interfaace enables you
y to interaact
with ReportWorX
R X from Internnet Explorer. Reports cann be accesseed over comppany
intran
nets or over the
t Internet. The Unifiedd Web Interfface allows you
y to:
• Execute reeports
• Visualize reports
r
• Manage reeports
10.11.1 Task
k Checkllist
In thiss quick lab, you
y will com
mplete the foollowing taskks:
10.11.2 Supp
port Filees
To complete this quick
q lab, yoou will not need
n any suppport files.
10.2 Launcching th
he Unifi
fied Weeb Interrface
To lau
unch the Uniified Web Innterface from
m the ReporttWorX Conffigurator on the
t
serverr side:
S, Inc
ICONICS L
L10-1
Lab 10: Unified We b Interface ReportWorrX Training Manual
F
Figure L10.2 - Execute
E Reportt
L10-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab
b 10: Unified
d Web Interrface
5. Yoou can use thhe Snapshott Name fieldd to give a frriendly namee to the repoort
beeing executedd, such as Acmeseutica
A l Snapshot. You can alsso specify thhe
im
mportance off the report execution.
e
NOTE: If you
y do not see the
t Snapshot Name field, ennable it from Preferences
P
Æ General Settings Æ Exxecution
6. When
W you aree ready to runn the report, click the Exxecute buttoon to executee the
rep
port. When you
y execute a report, theere may be a delay as thee Unified Web W
nterface gets data from thhe active connfiguration database
In d andd the
ReeportWorX runtime
r engiine as shownn in Figure L10.4.
L
7. When
W the repoort finishes running,
r youu should see a message similar to thee one
sh
hown in Figuure L10.5.
S, Inc
ICONICS L
L10-3
Lab 10: Unified We b Interface ReportWorrX Training Manual
10.22.2 Visu
ualizing Reports
R
The ReportWorX
R Viewer webb part in the Unified Web Interface, shown in Figure
L10.6
6, enables yoou to view all executed reeports. To viiew a report:
3. Viiew reports by
b clicking on
o the Excell, PDF or HT
TML icon neext to the
ex
xecuted report.
10.22.3 Man
naging Report
R Coonfigurattion
To maanage reportts from a clieent machine using the Unified Web Interface:
I
L10-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab
b 10: Unified
d Web Interrface
Figu
ure L10.8 - Rep
port Configurattion in the Unifiied Web Interfaace
S, Inc
ICONICS L
L10-5
Lab 10: Unified Web Interface ReportWorX Training Manual
Client Management 11
11.1 Objectives
After completing this chapter, you should know how to:
To seet up an acccount for repport access, click the UserU Accounnts Registraation
buttonn on the righht-hand pane. In the Accoounts Regisstration dialog box, show wn in
Figuree 11.3, all avvailable userrs and groupps for the loccal computer are listed in
i the
upper pane of thee Window. Simply
S clickk on the user or group and
a then clicck on
the Addd to Selectted Accountts list buttonn to add the user
u or groupp. Once youu have
all of the desired users,
u you caan click OK to exit this dialog.
d
11-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Clie nt Managem
ment
F
Figure 11.4 - Grroup Propertiess
• User Nam me: Displays the name off the registerred user.
• Descriptioon: A descriiption for eacch user type is provided.
• Domain: Displays
D thee domain thee user belonggs to, or if thhe user is loccal, it
displays thhe name of thhe computerr on which thhe user is reggistered
• User Accounts Registration: Clicking this button openns the Accoounts
Registratiion dialog boox, which alllows you to register useers and groupps.
• E-mail Ad ddress: Enteer the user'ss e-mail addrress. An e-m mail address must
be specifieed if the userr is to receivve reports viaa e-mail.
• Apply: Saaves all channges to the coonfigurationn database.
• Reset: Cleears all recenntly added innformation.
11.22.2 Fold
der Perm
missions
Once you have addded users orr groups, you may want to grant them permissioons to
view, execute, andd manage reeports. You can c do this inn the Reportt Folder. Clicck on
the Folder Perm missions… button,
b to laaunch the Reeport Permissions dialoog, as
shown n in Figure 11.6.
1 By deffault, two user groups will
w already have
h permisssions:
the loccal Adminisstrators groupp and Users group.
11-4 ICONICS
S, Inc
ReportWo
orX Training Manual
M Clie nt Managem
ment
The Administrato
A ors group will
w have fulll permissioons, allowing them to view,
v
execuute, and mannage reports. The Users group, on thhe other hand, will only have
the view report peermission.
You can
c add morre users and groups intoo the permisssions window w by clickinng on
the ad
dd or removve button. Cllicking on thhe Add buttton brings up u the Add Users
U
and Groups
G dialoog, as shownn in Figure 11.7.
1 The ussers and grooups in the upper
u
pane are
a those thaat you have added in yoour user mannagement lisst. You can select s
any off the users or
o groups andd click on thhe Add buttoon to add it too the lower pane.
p
Once you click OK in this dialog, thhe users wiill be added in the Folder F
Permiissions. You can then sellect the userr or group, chheck the perm missions dessired,
and cllick OK to close the Repport Permissiions Dialog.
S, Inc
ICONICS 11-5
Client Management
M t ReportWorrX Training Manual
11.22.3 Man
naged Lissts
The Managed
M Liists tree conttrol, shown in Figure 111.8, allows you
y to createe lists
of useers and grooups for repport deliveryy. This is thhe equivalennt of a com mmon
mailin
ng list for em
mail. These lists can be used
u with Emmail Redirecttor Actions.
The properties
p diaalog for a neew managedd list shows up in the right-hand paane of
the Coonfigurator, as shown inn Figure 11.110.
11-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Clie nt Managem
ment
The Add/Remov
A ve List Enttries buttonn allows yoou to edit the t list withh the
Add/R Remove Maanaged Listt Entries dialogd box, shown
s in Fiigure 11.11.. The
left-haand pane lists Registerred Users and Group ps on the local machinne or
domaiin. To add a registered user/group
u t the managged list, seleect the user/ggroup
to
name in the left-hhand pane annd then clickk the Add buutton. When the user/grooup is
shown n in the rightt hand pane under Curreent Contentt of Manageed List, it will
w be
added d to the mannaged list. Too remove a registered user/group
u frrom the mannaged
list, seelect the useer/group nam
me in the rigght-hand panne and thenn click the Delete
D
button n.
NOTE: Youu can also impport users/groupps from an e-m mail account adddress book
into your managed
m lists. To do so, clicck the Importt from Addreess Book…
button and thhen select yourr e-mail serverr profile.
11.2.3.2 Managed
d List Items
Once you have addded a user or o group to a managed list,
l a new ittem is createed for
each user
u or grouup. For each group in thee managed list, l all userss in the grouup are
listed in the manaaged list propperties dialogg. Click the Show Detaiils button to view
the lisst of users inn the group, as
a shown in Figure 11.122.
S, Inc
ICONICS 11-7
Client Management
M t ReportWorrX Training Manual
The same
s is truee for all reggistered users added too the managged list: the user
properrties are listeed in the maanaged list properties
p diaalog. Click the
t Show Deetails
button
n to view thee user properrties, as showwn in Figuree 11.13.
Figure 11.13
1 - Managed
d List: User Prooperties
NOTE: Makke sure that ann e-mail addreess is specifiedd for each user in the user
properties foor the manageed list. If a maanaged list is associated
a withh an e-mail
action, each user in the lisst must have a valid e-mail address
a in ordeer to receive
reports. This is one of thhe few user properties
p that is editable inn the Client
Managemennt tool.
11-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Clie nt Managem
ment
When n a report is executed wiith the e-mail action, thee report willl be sent to every
e
user in
n the mailingg list.
You can
c also ediit the selectted managedd list or creeate a new managed list by
clickin
ng on the buttons
b to the
t right off the drop-ddown lists. Creating a new
manag ged list from
m here will bring you back
b to the properties dialog
d for a New
Managed List, shoown in Figurre 11.15.
Figure 11.15
1 - Naming the new Managged List
NOTE: Makke sure that ann e-mail addreess is specifiedd for each user in the user
properties foor the managedd list.
S, Inc
ICONICS 11-9
Client Management ReportWorX Training Manual
You should see that underneath User Accounts, there are two groups listed:
Administrators and Users, each prefixed with your PC’s name as shown in
Figure L11.1. This is because by default, ReportWorX imports the Administrators
and Users groups from your Windows NT accounts.
Figu
ure L11.1 - Defaault User Accou
unts
To addd or removee users or grroups from thhis list, firstt click on thee User Accoounts
Regisstration buttton. Then, if the userss you want to t remove area on your local
machiine, simply select the users
u from the
t Accountt(s) selectedd for Importt box
below
w as needed, then click Remove
R buttton to comm mit your channges. If you want
to mannage domainn users, simpply click the Add Domaain Groups button on thhe top
right and enter thhe Domain Name.
N Depending on thhe size of your y domainn, this
operattion may takke a few minnutes.
You can
c register all of the apppropriate ussers and/or groups,
g but it is importaant to
know the applicattions in whicch these accoounts are useed. As you learned earlier in
this training
t claass, ReportW
WorX securrity is foldder-based, not n report-bbased.
Becauuse of this, you
y must maake modificaations to the permission sets at the report
r
folderr level.
3. Fo
or experimeental purposses, let’s unncheck the Execute
E chheck box foor the
Ad
dministratoors group, soo that it now looks like what
w you seee in Figure L11.2.
L
L11-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M La
ab 11: Repo
ortWorX Us er Managem
ment
Figure L11.2
L - Removin
ng Execute Perm
mission
4. Cllick OK to commit
c the changes.
c
7. Noow, click ok
o on the popup dialogg and re-open the Fold der Permissions
dialog under the Acmesseutical Reeports foldeer in order to restore your
xecute permiissions.
Ex
11.22.2 Man
naged Lissts
1. Neext, we will create a Maanaged Listt and see how
w it can be used
u in an E-mail
Reedirector Acction.
3. In
n the Manageed List Nam
me field, put Acmeseuticcal Manageers and then click
Appply.
S, Inc
ICONICS L
L11-3
Lab 11: ReportWorX
R X User Ma
anagement ReportWorrX Training Manual
5. Fo
or this list, let’s just addd two userrs: Adminisstrator and BizViz_Useer as
sh
hown in Figuure L11.3. After you havve added youur desired users, click thee OK
bu
utton and thee list will be updated.
Figgure L11.3 - Ad
dding Users to the
t Acmeseuticaal Managers Liist
6. Yo ou can expannd your mannaged list to see each enntry, and assoociated withh each
usser will be an
a e-mail adddress. You canc view thiis e-mail adddress by cliccking
onn the Show Details
D button. E-mail addresses
a wiill be autom
matically impported
if you use youur Outlook address
a bookk to create the
t managedd list. If nott, you
mu ust manuallyy enter e-maail addresses for each useer.
7. Foor our managed list, we must enter an e-mail adddress for Administrato
A r and
BiizViz_User. Let’s make them [email protected], as shhown
in Figure L11.4, and BizV
[email protected].
Figuree L11.4 - Email Address for thee Administratorr Managed Listt User
L11-4 ICONICS
S, Inc
ReportWorX Training Manual Lab 11: ReportWorX User Management
9. Now we can use this Managed List in our E-mail redirector action, so that
instead of always having to type in strings of addresses, we can simply select
our Acmeseutical managed list and e-mail to a group of people at one time.
10. Navigate back to your Acmeseutical E-mail Action. In the Mail To field,
instead of using the Absolute Addresses, select Mailing List and then choose
the Acmeseutical Managers list from the drop-down menu, as shown in
Figure L11.5.
2. Choose the fourth option, which is Copy formatting and data links from
existing template object, and then select Acmeseutical Report Template from
the list, as shown in Figure A.1.
5. Cllick on the button to open thee template for f editing. Notice thatt this
temmplate shouuld look like a carbon coopy of Acmeseutical Reeport Temp plate.
Thhis prevents us from havving to recreaate the entiree thing. Now
w we just haave to
modify some of the connnections in order to shoow the advaanced featurres of
paarameters.
A.2..1 Add
ding a Coonstant Value
V Parrameter
1. Frrom your new
n Acmesseutical Parrameters teemplate, rigght-click onn the
co
onfiguration in the first cell
c and selecct Edit Dataa Source: DaatabaseSource.
2. Do
ouble click on
o the DatabbaseSource name
n under the Open Database
D foldder to
op
pen the Dataabase Conneection Conffiguration Wizard.
W
5. Coomplete the Filter Typ pe, Column name to fiilter on, Reelation Typee and
t pulldownn menus to edit the exiisting filter, then
Reelates To seettings via the
cliick OK.
6. No ow suppose we only waant to see daata pertaininng to a certaain recipe. Inn this
caase we will filter
fi on the RecipeName
R e field.
7. Seelect dbo.Reecipes.Recip peName from m the Colum mn Name too Filter On drop-
d
do
own list, leavve the Relatiion Type sett to Equal To, and makee sure the Reelates
Too field is set to Constant Value(s).
LA-2 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab A:
A Report with
w Parameeters
8. Cllick the icon to buildd a list of poossible valuees directly frrom the dataabase.
Yoou may recceive a warnning messagge telling you y that buiilding the liist of
daatabase valuues may takee a long tim me. Click on o Yes to acknowledge
a e this
message, andd if you wissh, check thhe box that says “Donn’t show mee this
message againn.”
9. Yoou will see a list of alll of the diffferent recipees that are currently
c in your
daatabase. Seleect the recippe called NooMorePain 2002 mg, as shown in Figure
F
A.2.
10. Cllick OK to add the filteer, and then click Next through the rest of the Data
Seelection diallogs without changing annything.
15. Frrom the Reeport Temmplate drop--down list, select youur Acmeseu
utical
Paarameter tem
mplate.
16. Make
M sure to check
c the boox that says Create
C New
w Report Fille(s) as well..
S, Inc
ICONICS L
LA-3
Lab A: Report
R with Parameterrs ReportWorrX Training Manual
17. En
nable the repport using the Enabled check
c box.
19. Cllick the Execcute Reportt Now buttonn to execute a copy of yoour new repoort.
NOTE: If your
y ReportWoorX Service iss not currently running, clickking on this
button will automatically
a s
start the servicee.
21. Noote that the only recordds returned in the first worksheet are those with
w a
Reecipe Name of NoMorePain 200 mg.
LA-4 ICONICS
S, Inc
ReportWorX Training Manual Lab A: Report with Parameters
2. Double click on the DatabaseSource name under the Open Database folder to
open the Database Connection Configuration Wizard.
4. Click on the Records Filtering tab and then the [+] to open the Filtering
Criteria dialog.
5. Click on the existing constant value parameter filter and use the pulldown
menus to set the column name, relation type and “relates to”.
Figure A.4 - Editing Your Existing Constant Value Parameter (Example Only)
6. We will still filter on the RecipeName field, but this time, let’s select a
RelatesTo value of Parameter from the drop-down list.
7. Click on the button to begin creating your parameter. This will launch the
Parameter Browser.
8. Click the Add button to add a new parameter. This will open the Configure
your parameter dialog box, which consists of inputs for creating a parameter.
9. En
nter RecipeN
Name for thee Parameterr Name.
12. Cllick Next annd then seleect the third option: Sellect from a dynamic liist of
va
alues, as shoown in Figure A.5. Then click Finishh.
14. Thhe dialog thaat is launcheed here willl be differennt for each tyype of parammeter
that you selectt from the Seelect a paraameter wizaard, but sincee the dynamiic list
off values is a very comm monly used parameter
p tyype, it will be beneficiaal for
yo
ou to learn noow.
Yo
ou are also free to mannually writee SQL code instead of using the Query
Q
Wizard
W if you wish, but leet’s use the wizard
w for noow.
LA-6 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab A:
A Report with
w Parameeters
18. Ch
heck the cheeckbox for RecipeName
R e and click Next
N
20. We
W want to shhow all of thhe available Recipe
R mes, so theree is no need to do
Nam
an
ny filtering now.
n
21. Too make thinggs easier forr the user, leet’s sort the recipes alphhabetically. Click
C
the Edit… buutton on the bottom of thhe dialog boox to open thhe Sort Reccords
dialog box. Select ReccipeName from f the drop-down
d box and select
s
Asscending, annd then clickk OK.
23. Cllick the Pickk a value buutton to seleect a default value for thhe parameterr that
wiill be used whenever
w a user
u cannot be present to t select onee manually. Note
that this dialog can also be
b used as a test button to t make suree that your query
q
is correctly formed.
24. Seelect the AchhesBeGone 400 mg enttry from the list, as show
wn in Figuree A.7,
an
nd then clickk OK.
S, Inc
ICONICS L
LA-7
Lab A: Report
R with Parameterrs ReportWorrX Training Manual
Figu
ure A.7 - Selecting a Default Vaalue
26. En
nter a descriiption of whhat this param t Web prrompt field. This
meter is in the
wiill be displayyed to the usser in the Unnified Web Innterface.
27. Cllick OK twiice to close the Parameeter Browseer and bringg you back to
t the
Fiiltering Critteria dialog,, which shouuld be similaar Figure A.88.
Figu
ure A.8 - Filteriing Criteria Diaalog
LA-8 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab A:
A Report with
w Parameeters
31. Seelect your Acmeseuticcal Parameeter Reporrt from thhe Acmeseu utical
Reeports foldeer, right clickk the report and
a then clicck Execute Report.
R
32. Yo ou should seee your RecipeName paarameter com mplete with the default value
v
off AchesBeG Gone 400 mgg already sellected in thee drop-down list, as show
wn in
Fiigure A.9.
33. Ju
ust to verify that the paraameter is woorking propeerly, let’s select a value from
the list that iss completelyy different from
f the tw
wo values thhat we have used
beefore. Selectt MigraineAAway Classiic and then click
c Executte.
34. When
W the repoort has beenn executed yoou can view
w the report to
t see that it used
the MigraneAAway Classiic recipe, as shown in Figure A.10.
S, Inc
ICONICS L
LA-9
Lab A: Report
R with Parameterrs ReportWorrX Training Manual
A.2..3 Crea
ating a Dependen
D nt User-S
Selectablee Parameeter
In this example, suppose
s thatt we want too not only narrow
n our record-set
r b the
by
name of the recippe, but also by
b the particcular Batch ID.
I We cann add a parammeter
that will
w show onlly the BatchIDs that are related to thhe RecipeNaame chosen in i the
previo
ous step. ToT do this, we must esstablish a deependency between
b thee two
parammeters.
1. In
n your RepoortWorX Configurator, navigate back b to youur Acmeseu
utical
Paarameters teemplate andd click the Ed
dit selected template ob
bject buttton.
2. Cllick the b
button to ediit the templaate in Excel.
nstead of ediiting our exiisting filter, we will addd another fillter to our query.
6. In q
Cllick on the [+
+] button to begin this process.
7. Fo
or the Colum
mn Name too Filter On, select TotallProduction
nData.Batch
hID.
8. Fo
or the Relattes To fieldd, select Inp
put Parametter, and clicck the red arrow
a
bu
utton to launch the Parammeter Brow wser again.
11. Fo
or the Param
meter type drop down meenu select Seelect from a dynamic list of
va
alues.
LA-10 ICONICS
S, Inc
ReportWorX Training Manual Lab A: Report with Parameters
15. Select the BatchID field from the TotalProductionData table. Verify that
your dialog looks like Figure A.11, and then click on the Records
Filtering/Sorting tab and then the [+] button to move on to the Filtering
Criteria dialog.
16. This time, we will add a filtering criterion to filter out only the BatchIDs that
belong to the Recipe that we selected in the previous step. Click on the [+] to
begin this process.
17. In the Column Name to Filter On, select Recipes.RecipeName and in the
Relates To field, select Input Parameter.
18. Click the small red arrow button to launch the Parameter Browser again. Note
that we have a Parameter Browser opened inside a Parameter Browser
because we are now two levels deep in parameters.
19. There is no need to create another parameter this time though, since we want
to associate our filtering criteria with the RecipeName parameter that we
already created. Simply select that parameter from the list and click OK.
20. Click OK to close the Filtering Criteria dialog, and then click Edit… in the
Records Sorting Order section. This opens the Sort Records dialog for the
BatchID parameter.
23. Noow click thee Pick a vallue button to select a deefault value for our BattchID
paarameter.
24. Ennter AchesBBeGone 400 mg when prrompted for a value for the RecipeN
Name
paarameter. Thhis is needed to completee the query reequest.
25. Seelect the firstt value in thee list and click OK.
26. Yo our Configuure the paarameter prroperties diialog shouldd now lookk like
Fiigure A.12.
28. En
nter a description for this parameter in the Web prom
mpt field to
t be
displayed to thhe user in the Unified Web
W Interfacee.
30. Cllick OK to close your SQL Com mmand Desiigner dialogg, and then click
Neext through the rest of the Databaase Connecttion Configguration Wiizard
dialogs to com
mplete the chhange.
31. Saave your teemplate andd then closee Excel to return to the
t ReportW
WorX
Coonfigurator.
LA-12 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab A:
A Report with
w Parameeters
34. When
W you clicck Execute Report, youu should seee your two parameters
p apppear
on
n the screen. If you clicck on the drrop down menu
m that haas 10001 in it, as
sh
hown in Figgure A.13, it will contain a list of values for f the BatchID
paarameter.
F
Figure A.13 - Exxecuting the Accmeseutical Parrameter Reportt
A.2..4 Enabling Mu
ulti-selection for a User-Seelectablee Parameeter
As wee noticed in the last example, it wouuld be nice if
i the user could select a few
Batch
hIDs to incluude in his oro her reporrt instead off just one. This is posssible
throug
gh the multiiselection chheck box in the
t Parametter Configuration dialoog.
2. Thhis time, sinnce we only want to chaange one of the propertiies of an exiisting
paarameter, wee can bypasss the open database configurationn dialogs annd go
strraight to the Parameter Browser.
S, Inc
ICONICS L
LA-13
Lab A: Report
R with Parameterrs ReportWorrX Training Manual
3. Too launch thee Parameter Browser diirectly, clickk on the Paarameter Broowser
ico
on within thhe ReportWoorX ribbon in i Excel 20007, as shownn in Figure A.15.
A
Foor Excel 20003 users, clicck on the ReeportWorX menu
m item inn the Excel menu
m
toolbar and seelect Parametter Browser..
4. Yoou should seee your ReccipeName annd BatchID parameters listed. Clicck on
the BatchID parameter,
p a then click the Edit button
and b to opeen the Confiigure
yo
our parametter dialog boox.
5. In
n this way yoou can changge many thinngs about yoour parameteers, includinng the
typ
pe, databasee query, etc. Since we want
w to allow w multiselecttion, we can click
dirrectly on Coonfigure Parrameter Details button..
6. Ch wn in Figure A.16,
heck the cheeck box that says Allow multiselectiion, as show
an
nd then clickk OK.
Figure A.16
A - Enabling the Multi-selecction Bit
LA-14 ICONICS
S, Inc
ReportWo
orX Training Manual
M Lab A:
A Report with
w Parameeters
8. Fiinally, save your templaate and closee Excel. Yoou do not have
h to makee any
othher modificaations.
11. Thhis time youu should seee a slightly different foormat(a list box insteadd of a
drrop-down boox) for the BaatchID, as shown
s in Figgure A.17.
13. When
W the repport is done executing, click on thhe hyperlinkk to visualizze the
results. You should
s see a record retuurned for eacch value of BatchID
B thaat you
seelected. See Figure
F A.18 for an exammple.
This completes
c P
Practice Labb A and thee ReportWorrX Trainingg Manual. Iff you
have any
a outstandding questionns, feel free to discuss thhem with yoour instructorr, use
the ReeportWorX Help
H files, oro email [email protected].
S, Inc
ICONICS L
LA-15
Lab A: Report with Parameters ReportWorX Training Manual