Documente Academic
Documente Profesional
Documente Cultură
.!
OPENTEXT™
www.opentext.com
(
Content Server WebReport Design I
v10.5 SP1
OPENTEXT'"
Learning Services
The software described in this Workbook is furnished under a license agreement or non-disclosure agreement (the
"Agreement") with Open Text Corporation or one of its affiliates ("Open Text"). The software may be used or copied
only in accordance with the terms of the Agreement. The information contained in this Workbook is the valuable
property of Open Text and represents trade secrets of Open Text. No part of this Workbook may be copied, reproduced, I
translated or transmitted in any form or by any means without the prior written consent of Open Text.
The information contained in this Workbook is subject to change without notice. If this Workbook is provided in both
printed and electronic form, the electronic form will govern in the event of any inconsistency. Open Text makes no
representations or warranties concerning such information or the software described in this Workbook except as
expressly set forth in the Agreement.
Copyright © 2015 by Open Text Corporation
OpenText is a trademark or registered trademark of Open Text 5A andlor Open Text ULC. The list of trademarks is not
exhaustive of other trademarks, registered trademarks, product names, company names, brands and service names
mentioned herein are property of Open Text SA or other respective owners. All rights reserved.
Revision History
Prerequisites:
• 3-0127 - Content Server Schema and Report Fundamentals, or equivalent experience
• 1-0101- Content Server Knowledge Fundamentals, or equivalent experience
• Familiarity with basic HTML
Thank you for participating in this course. Should you require anything further, please contact us at
OpenText Learning Services.
Good luck and enjoy your learning experience.
OpenText Learning Services
Class Information:
For your reference during exercises, please record the following information per your instructor's
directions:
Username: _
Password: _
~
This icon represents a lesson symbol where the student watches the
instructor.
~
This icon represents a lesson symbol where the student follows along
with the instructor.
~
This icon represents a lesson symbol where the student performs the
exercise on their own.
~
This icon represents an optional (or advanced) exercise where the
student performs the exercise on their own.
~
This icon represents a note that supplies additional information.
This icon represents a collection of Tips, Tricks, and Traps that is used
at the end of a chapter.
1. Introduction to WebReports
Overview 1-1
Introducing WebReports 1-1
WebReport Architecture 1-2
WebReport Licensing 1-4
WebReport Administration 1-5
The Outdoor Gear Training Environment 1-6
Training Environment 1-6
Outdoor Gear 1-6
CS105Installation 1-6
Summary 1-7
Exercises 1-8
Login and Orientation to Outdoor Gear 1-8
Useful Settings for SAdmin and the WebReport Course Exercises 1-10
2. WebReport Basics
Overview 2-1
Adding a WebReport... 2-1
Changing the Data Source 2-5
Changing the Destination 2-9
Manual Export 2-13
Change the Look of the Report Resuits With Reportviews 2-1S
Changing the Reportview Using the Online Editor 2-16
Defauit Reportviews 2-23
Summary 2-24
Exercises 2-25
Create a WebReport 2-25
Changing the WebReport Destination 2-26
Changing the Reportview 2-28
Challenge Exercise 2-29
Editingthe Reportview Columns 2-29
3. Scheduling WebReports
Overview 3-1
Scheduiing WebReports 3-2
Administering WebReport Scheduiing 3-3
Troubleshooting a WebReport Schedule 3-5
Creating WebReport Schedules 3-5
Summary 3-8
Exercises 3-9
Change the WebReport Scheduling Agent Sleep Interval 3-9
Create a WebReport Schedule 3-9
8. Sub-WebReports
Overview 8-1
Introducing Sub-WebReports 8-1
Exporting and SUb-WebReports 8-4
Scenario 8-4
Solution 8-4
Syntax 8-5
Parameters 8-6
Considerations : 8-7
Summary 8-7
Exercises 8-9
Create a Mini Portal 8-9
Create a Mini Portal- Exercise Solution 8-10
B. SubTypes
Overview B-l
Subtypes B-l
Table B-1: Database SubTypes by Display Name B-2
Table B-2: User Interface SubTypes by Display Name B-8
Table B-3: SubTypes by Integer Value B-l0
E. Default Reportviews
Overview E-l
Training Date: _
Instructor: _
Location:
Student Information
Student Name: _
Title: _
Company Name: _
Street Address:
Email: _
Phone Number: _
Signature: _
,.
Chapter 1. Introduction to WebReports
1. Introduction to WebReports
Objectives
On completion ofthis chapter, participants should be able to:
Overview
This chapter provides an introduction to the Content Server
WebReport Design I course.
~.'_lIon!lf
MINe; 0
::>~rege; 0
IrJiictjve; 0'
Total: 0
WebReport Architecture WebReports provides an "engine" that takes a source of data and
processes it (manipulates, filters, sorts, converts, formats) into a
readable report or user interface that can be output or delivered to
varying destinations. These destinations allow content to be viewed
in a range of client applications, most commonly a browser but also
email, Excel, Word and other applications.
Web Reports
AppHcvtiom Browser
Databases Email
File Systems Desktop
The table below lists a number of the WebReport data sources and
destinations, similar to what was illustrated in the previous figure.
.. " ""n"""ft.
.
Content Server Query Browser
None FTP
WebReport licensing WebReports that ship with Content Server (for example with the
Records Management module), can be run, however, for
administrators or report writers to create new WebReports, the
module must be licensed. If the WebReports module has not been
licensed, it will display the WebReports Administration tab
appending the name with "Unlicensed" in parentheses.
Install Requests.js Library Provides an interface to install the Requests Library and associated
files to the JavaScript library location.
Manage Category Data Source Update maximum number of Categories and Attributes display
Configuration parameters.
Manage Search Query Manages the ability to invoke WebReports directly from the Advanced
Integration Search page.
Manage Tags and Sub-Tags Enable and disable tags and sub-tags.
Manage User / Group WR Determine which Users and Groups can trigger WebReports.
Triggers
Manage WebRe ports Conversion Change the Sleep Interval for the Conversion Agent and set input and
output directories to manage PDF conversion.
Manage WebRe ports Schedules Change the Sleep Interval for the Schedule Agent and enable/disable
or permanently delete individual schedules.
WebRe ports Licensing Set or change the WebReports License Key and display licensing
status.
WebRe ports Node Identify and update Reportviews using out-of-date syntax.
Administration
WebRe ports Sub-tag Builder Used to test build and subtags that have been created in the subtags
folder.
Training Environment This course will make use of a training environment based on a
fictional company that markets and sells various outdoor and
sporting gear.
Summary
Exercises
Login and Orientation to Outdoor Gear
Overview
As a report writer or administrator, you will have the opportunity review and then use a number of
WebReport features in Content Server version 10.5 SP1.
Your Instructor will provide you with directions or details concerning your login or username,
password, and location of the Sample Docs folder location. There is space on the Welcome page to
record the login information for your convenience during the course.
Typically, each student will have individual access to their own virtualized instance of the Outdoor
Gear (ODG) system.
For most of the exercises in this course, where you need to have system administration privileges,
you will be asked to log in using the Susan Adminvakova (sad min) account which has a password of
letmein (lowercase, all one word).
If prompted for the password for the administration pages, it is opentext (lowercase, all one word).
outdoor gea r
12n~1!: i!1i5W:O'S~;11 AM
(l5vI.>-f\'i;1~!:':: ;}:Jjlt.':lfjilll~~~ M1
_c
M~W«li(lU)
~~' ql!~W~Qij:lStH;OSp;.1
~Rr~-m!ib.(¢l. (~)
~:?D!'l~) la H~ 1)1{l1-nIUs O]:l9 f'I'-I
U='
H;'::~ RJW~.lWl1lt ~~>
1-1.lu~Yi:iapJ ~ 1 St.!!J..l'r¢tt: ~"lUN1J.ll:-'l4-,*1
-
lliRe= OS1Z-1Il0UOO:oMA"-j
~
:B l:um OYUP.IU5 U:S2 P~I
1»:IJffi¢o'Itt~tr}\
W~M.a.jlb~~J 21 J.:ma Wf.u/;W111H·ll AA
Fcldu(12())
l..lv~~«t(~~) ~rr>l!:~rljlJtat'\l'/ JJ.lm'.:I wmJiDh Ut411lM
-
\'4d;F;oepQrt(~'i)
~I;cl-f 17fu.ms 09j;2"llOl~ 03:1Dm
'iltllffiS: OJf21f10Ifl1;~J~
---I 3. Make sure you can log in and navigate withi n the Enterprise Workspace.
1. For convenience, either create a bookmark in the IE browser, add a URL in Content
Server or alternatively add an Additional Enterprise Menu (if you are familiar with this
option) called Student 1 WRD I Exercises and link it to the Enterprise Workspace>
Course Material> 2-0117 - WebReport Design I> WRD I Student Folders> Student 1
WRDI Exercises folder since you will be doing many of your activities in that folder).
(Hint: the link should be in the following format:
?func=ll&objld=374847&objAction=browse&viewType=1)
""VI""'"'~'''
Users $<. Groups
Transport Warehouse
student 1 WRD I Exerdse
....... . ...............
2. If you added an Additional Enterprise menu entry, the Content Server service will need
to be restarted.
3. From the Main menu, select Tools> Settings and then click the Color tab.
4. Update Row 2 from #FFFFFF (Le., white) to #EEEEEE (Le., light grey). You will be able to
make use of these personal row settings later in the course with Reportviews.
~ My Color settings
2. WebReport Basics
Objectives
On completion of this chapter, partici pants should be able to:
Overview
Adding a WebReport WebReports are added from the Add Item menu.
Add: WebReport
Data Source The Data Source is an optional field which allows a report source to
be selected.
Reportview File Reportviews are a set of pre-written templates that specify the
presentation for the WebReport. The Reportview File is a required
field.
The Use a Default Reportview list allows you to select from several
pre-configured templates or the Browse button can be used to
select a custom Reportview from your desktop.
8. Select the Reportview file called basic report from the Use a Default
Reportview list.
Once a file has been selected, the file details are automatically
inserted into the corresponding form field.
IWebReports
OwnerID ParentIO
DatalD Name OriginOwnerlD
-332481 -1 332481 Transport Warehouse 0
Figure 2-3: -332431 332431 332482 Transport Boxes 0
Basic WebReport Results in -332481 332481 362466 OOG Warehouse Folder 0
Browser -332481 362466 362576 000 Workbench 0
-332444 -1 332+14 Deleted Items 0
-286795 -1 286795 howard Home 0
-181744 -1 181744 rrdurmnt 0
-85636 -1 85636 c:slG Home G
-81346·1 81346 studentlO 0
..aQ3S7·1 80357 ysaito Home 0
..aQ356·1 80356 hans Home 0
11. Click the Up Folder icon to return to the previous folder or Browse
View page.
Changing the Data Source You will have the option of selecting a data source when creating a
new WebReport or you may select from a variety of data sources
after the WebReport item is created.
i_,~':~':~~i~_l~'~ "~.". ·." •. ".I contffit5l1i(YtlfQ.uery@ Col\ttllt5~el'PiteO Qmt-MtS;jl:rv~Qt<:9[1.fI'O ExtuMlIAleO FTF'O &1:em~IAPp1ical;lollO 5-eaI.d,QlJeryUUlridlO
Sefecta (onl~ot 'SeNer data .source: Ih;;lt I!; dyp",mk ,.. nature.
i
_f
The little blue callout icons offer in-page help and tips on
the fields. Hoverthe mouse pointer overthe icon and the
help appears. You'll see these on many of the WebReport
interface pages.
Content Server Query Objects in Content Server, each of which encapsulate a query of
some kind, include:
• Binder
• Case
• Channel
• Compound Document
• Discussion
• Folder
• Form
• Form Template
• LiveReport
• Project
• Saved Search
• Task List
• Task Group
Content Server File and External The File data sources allow you to select delimited files that will be
File parsed when the WebReport is run. The primary difference
between these two data sources is the location of the data source
file; either a document in the Content Server repository or an
external file accessible from the Content Server application.
I: ........ ~~"iIF6...r1 ~
I$",,-"'f;dv~""&l Ii]:,'I
I:············,· ·····,··"··:·.. ·.1
Content Server Category The Category data source provides an easy interface to find all
items in Content Server with the selected Categories applied. After
selecting a Category, the user will define which Attributes are to be
displayed in the report data.
~ Basic WebRepott • i
~ BasIc WebReport u
Ico,,,,,,t~'!':":"'lo"""""P'•.fu<lSP" ,.•~.~,'q eJ @ ~
.............................. I
t.nlJ"'t..........""~,.'\" I 0 Gr... El 0 l"~",i' 0 0""01' 0 P'cel<Vd
o Pmdurtlypt: 0 tWJnoTogy le\"e1 (pel't:«!niti:l)
I'2J ch.d.;A1I[J\ffl<!l.ckAll ~
';;'";;- _, _,__,~"';J-:= . V~i"'~:.~SQ;L~ :.F."il~ter:.Results .•• by User PeomlSslans: fi1I MaxImum Number of Results: ~' {Up To IOO}
FTP Fi les are accessed via an FTP server. The configuration options are
the same as for the Content Server File data source type with
additional parameters to determine details of the FTP server.
External Application Files are accessed via an external server such as a Web Server. The
configuration options are the same as for the Content Server Fi Ie
data source type with additional parameters to determine details of
the external server.
Search Query Launch Used to define WebReports that can be run from the Content
Server Advanced Search page. Search Query Launch is discussed in
the 2-0118 - Content Server WebReport Design II course.
Changing the Destination By default, WebReports display their output directly in the
browser; however, the destination of report results can be changed.
For example, you can store report results as a document in Content
Server or send the results to colleagues via email.
;~~~E~;Ej "'-""'~=-
.. - - - - - - " " , , ! i J
~
~
~
~
5. Enter a Name for the report results (e.g., Basic WebReport Results
for Product Spec Category).
6. Opposite the Create /n field, click Browse Content Server and select
a location to store the report results (e.g., Enterprise Workspace>
Course Material> 2-0117 WebReport Design / > WebReports
folder).
Export Type and Add Version to Selects whether the operation will either add a new Content Server
node or alternatively add a new version to the specified document.
Export MIME Type Determines the label for the type of document that will be created
and also the filename extension when downloaded (e.g..html, .xml,
.csv, .xls etc." however, setting this option will not change the
format of the actual file - that's controlled by the Reportview.
Use External Conversion Engine Sends the report to a conversion engine to be converted to another
format. For example, WebReports might create an HTML
document, but then have it converted to PDF using a conversion
engine such as Adlib Express'".
cot""ri,.· lIfebRo~Olt>;
~ Basic WebReport v u
. ............• ."
.. ' ... . .
. ~.~.~~!0'i . i oj Pltii.u . l i .1
<.•• >
•.
............. ··ii '-,- - - - - - ~
. . . . . · · . .· · .·.·i ..> ••i".i r.-._
j ....._
_ .- - - - - ,
i< Ii!l ~
. ' ..•.....•.•.•.•. Ii!l ~
......•...•..............•. 0 ~
. • 0 ~
..
Email Address There are 3 fields which provide different ways to specify the email
addresses and may be fi lied out in any combination, so long as one
address is specified:
• 1st Field: a list of email addresses
• 2nd Field: a Content Server user or group
• 3rd Field: a text file containing a receiver list
Server Store the report results to a file that on a server, like a web server.
The little red flags opposite various fields indicate they can
be populated with data from the report results. For
example, specifying the recipients of the emailed report
usi ng email addresses gathered in the report itself. This is
done using WebReports tags in the fields which is discussed
shortly.
~ Basic WebReport u
t~....,;"'tft~21 ~
r----------~
I ",C~"Cc .•••'.'~ .•."'- ------'---1
.----------~
OU.ln, °
Forms Send report resu Its to a Content Server Web Form so that it
populates form fields.
Manual Export By changing the Destination settings for a WebReport, you change
how the report behaves for everyone any time its run. If we just
want to export the report once and not change the default
behavior, the WebReport can be configured using its Functions
menu> Export. The Content Server, Desktop, Email and Server
export options can be run on a one-time basis using this method.
Size MOOified
fil !}!lsi, W~bReport Resul!s ro, Product SII'K Q!lM!!!Y". ') 3l<B 07/07/20lot 12:54 PM
17. Check that a new version of the Basic WebReport Results for
Product Spec Category report has been added to Content Server, as
illustrated in the figure below:
a report; 201411710145a13 3384.htni 3 I<B lIJ/lV/2G14 02:58 PM Susan Adrrillvakovi!; Default(Extemai Document Storage)
.1 reD9Ii 20H071lU4~4 33ft! v 3 KB 07jiV/2014 02:54 PM Susan Ad!!'illvaktwl Default(E;xternal Docurrent storage)
PurgeallV4!rs~~sexcept~ll'l~~~Jlt:j. rc--lf~iJla\ie~~~J
Change the Look of the Reportviews can change how a report's results are presented. You
Report Results With might want to include new data, or change the color scheme or
Reportviews include corporate branding. The Reportview contains everything to
tell WebReports what data to include and how it should be
presented.
<TABLE>'i
<TR>'i
... <TDllLL_REPTAG_COLNllMEl . II </TD>'i
... <TD~lLL_REPTAG_COLNllME++'/I</TD>'i
... <TDllLL_REPTAG_COLNAME++'/I</TD>'i Header1l
... <TDllLL_REPTAG_COLNllME++'/I</TD>'i
... <TDllLL_REPTAG_COLNAME++'/I</TD>'i
_ Data·Tag~·"insert·
</TR>'i
[J,L..JlEB~RT...:STARTRO'iI·/]'I data'here"l1
<TR>'i
... <TD~lLL_REPTAG_l ~ <ITO>'!
... <TD>(LL_REPTAG_Z'/I</TD>'i
... <TDllLL_REPTAG_3'/1</TD>! Row'Sectlon1!
... <TD~lLL_REPTAG_4'/1</TD>'i
... <TDllLL_REPTAG_5'/1</TD>'i
</TR>!
[J,L....lliE1lllEPORT__ENDROW·/ I!
</TABLE>'! } Footer1l
Changing the Reportview The editor has a range offeatures to make working with
Using the Online Editor Reportviews easier, including:
• Clicking any of the section labels such as Header Section
toggles the size of the section
• Drag and drop tag selectors
• Textfunctions like Search, Redo and Undo
• Short cut to the WebReport tag reference
I
I
OPENTExT Export
OJreO
Add Reportview Version
Download Reportview
Edit Rej:lOrtview
v t
Fetch Reportview
Open Tag Guide
Rename
f··C::7<"·"r'~'.<~l.!.D''';5 .'.:?f0••. 771 Add to Favorites
Figure 2-16:
Copy
Basic WebReport Resu Its With
Make Generation
Category Data Source
f.iake Shortcut
Move
1 item
Set Notification
Comments
Make News
Permissions
Reserve
Delete
~ Basic WebReport' .~
ThiSl t-a9 hag Dillen ad4.ecl. to .""lOid er.ror.s bt.1n9 =-flpor1;.ed when the da:t:6 .f¢\U~~
use-d ha.s le..9:~ t:h",n 5 c:~lumn3. It is reqOl:tlm\ltnded that thi3 'eAg' is xemo-ved
by U!l'triJ m=difying 'ehis: rap.o:r:t;vi.*,w 1;-(1 aS1Jiml:. we;m. -w.ith dlfi'tb\.1qg'inq
·/1
(W,-Il£Bll.EI1011.I_SllPPIlESSEAAOlU.OG fl
til !::Ix.... t. 1;;he I!tyle f~.l" al'tE:rtUili'te row ~olors u!3inq the tJsrrtt'-P.tE" !Subt:4f;F
<.9tyla>
.1,ls$rll.o"l (1:>a..k9roun~·.. o~or: [LL_RSP!A<U.JSERIll VSEro!AAII:COLORS:IlOl/~ /1 i
Function Buttons Add Version, Add Version & Continue, Reset and Cancel buttons
are provided at the top and bottom of the page.
• The Reset button clears any changes made since the form was
originally opened
Header Section This section is used to provide any code that should be executed at
the beginning of the WebReport. It is only output once, regardless
of how many report rows are being read from the underlying data
source. Any opening tags like <TABLE> should be in this section;
however, it is not necessary to include <HTML> or <BODY> if the
standard Content Server header is being included. The Content
Server header is included by default unless the
[LL_WEBREPORT_EXCLUDEHEADER /] tag is used.
Row Section This section is used to define any code that should be applied to all
data rows. Any tags that are used to refer to data source column
data will only work in this section. It is important to note that
anything in this section will be repeated for every row of the data
source.
Footer Section This section is used to provide any code that should be executed at
the end of the WebReport.lt is only output once regardless of how
many report rows are being read from the underlying data source.
4. Click the Tag Guide button to review the various Content Control
Tags and Data Tags; the information is a valuable resource when
editing Reportviews. You will be making use of Tags in Chapter 5, so
just take a brief look at the available tag information at this point.
5. Close the browser window containing the Tag Guide when you are
finished viewing it.
Figure 2-18: WebReport rag Syntax Reference
_• a~;syntaX I
:: "~_'.'2".,,_
• ,,,, m>i ,",po'" I , .
, ,,,).
content COntrol Tags Sed:iOn
~t
~ Run WebReport: Basic WebReport
Basic WebReport .
10. Remove the 5th column heading and displayed information also.
11. Save the Reportview modifications as a new version(s).
12. Run the Basic WebReport and verify your modifications were
successful, as illustrated in the subsequent figure:
Figure 2-21: Basic WebReport Results With a Modified Reportview - Using a Banner Graphic and Tags
outdoor gear
13. Click the back browser button to return to the WebReports folder.
Default Reportviews
Summary
Exercises
Overview
Create a WebReport that lists data found in the KUAF (Users and Groups) table. Either create your
own data source to do this or use the provided Data Source (KUAF) for WebReport Live Report. Then
change the report destination from browser to Content Server to add report versions. Finally, using
the Reportview, customize the look of the resulting report output making using of the provided tag.
1. If you choose to create the KUAF data source yourself, create it in Enterprise
Workspace> Course Material> 2-0117 WebReport Design 1> WRD I Templates. The
LiveReport SQL query should be select * from kuaf and the report format should
be set to autolivereport. Alternatively, skip to the next step and you can use a pre-
written data source we have provided for you.
2. Create a basic WebReport calling it Basic Users and Groups WebReport in the
Enterprise Workspace> Course Material> 2-0117 WebReport Design I > WRD I
Student Folders> Student 1 WRD I Exercises folder. Hint: Use the previously create
URL or Additional Enterprise Menu to make navigation to the folder easier.
3. Click the Browse Content Server button to select a Data Source. The pre-written data
source, Data Source (KUAF) for WebReport, can be selected from Enterprise
Workspace> Course Material> 2-0117 WebReport Design I > WRD I Template folder.
4. Select basicJeport from the Reportview drop-down.
Add: WebReport
6. Test the WebReport works by clicking the report link. Results should be similar to the
following figure. Hint: Use the 'folder up' icon to return to the exercise folder.
1. Copy the previously created WebReport to the same folder and call it Basic Users and
Groups WebReport CS Version.
2. From the WebReport Functions menu, select Properties> Destination.
3. Change the Output Destination from Browser to Content Server.
4. The name of the report output should be called Basic Users and Groups from ODG.
5. Click the Browse Content Server button and select the Enterprise Workspace> Course
Material> 2-0117 WebReport Design I > WRD I Student Folders> Student 1 WRDI
Exercises folder.
i_(lo1~~I'~.~~'.':._~~..1 [~q.rll~nt_S~_rv~fI£] ~
C(lntflnt~lVefNod~@ CQ~l.llltlt~rvl!rVelmI10 ~
WebReport data has been sent to a new Content Server doc;urrent caDed: BaS¥; Users and GrollPs from oOG
stored in container: student 1 WRD J Exerdses .
8. Now modify the WebReport again (as we did in Step 2), so that the Export Type is
Content Server Version, the destination file is Basic Users and Groups from ODG, and
the Version Handling is Add Major Version. Remember to click Update.
9. Run the WebReport and confirm that a new version of the Report output file has been
added to Content Server.
Enltlrplise' Courne Material; 3-0117· WebReport Design,., ' WRD I 5wdent filldern , $wdent 1 WRD ! Exe"""", ,
Version'""
1. Alter the Reportview, for the Basic Users and Groups WebReport, using the online
editor so that it has a new heading and a message in the footer. For example, you could
modify the header using the following tag line:
Report results generated for: [LL_REPTAG_USERNAME /] on [LL_REPTAG_DATETIME
/]
2. Download the Reportview to your desktop using Functions menu> Download
Reportview. Make a change to your Reportview header and/or footer using either
Notepad or TextPad. Hint: Use the Tag Guide as a reference and try using a number of
the available tags for headers and footers.
3. Add the modified Reportview as a new version to the WebReport.
4. Test your Reportview modifications by running the WebReport.
5. Take a look at Properties -> Versions page for your WebReport. You are looking at
different versions of your Reportview and you can run different versions by clicking
them.
Challenge Exercise
Overview
This exercise provides a bit of a challenge and allows you to make further modifications to the
Reportviews. You will need to know how HTML tables work forthis part of the exercise.
1. Copy the Basic Users and Groups WebReport and call it Basic Users and Groups
WebReport without Space Column.
2. Edit the Reportview so that your report does not display the 'Space Column' heading or
data. Ensure that you have the correct column headings too.
~ Run WebReport: Basic Users and Groups WebReport without Space Column
Bask: Users and Groups: WebRepott without space Column &J
Report results generated for: sadrrin on Thu JuliO 15:23:52 2014
3. Scheduling WebReports
Objectives
On completion of this chapter, participants should be able to:
Overview
In this chapter, we look at howto make WebReports run according
to a schedule.
Scheduling WebReports When we looked at the Destination tab earlier you may have
noticed that some destinations had a Set Schedule check box.
Selecting this check box reveals additional controls that allow a
WebReport to be run automatically according to the parameters
you specify.
• Server
• Workflow
• Form
• FTP
Multiple User Schedules but Multiple users can set a schedule for the same WebReport,
Same Destination however, they must all use the same Destination settings.
Scheduled Report Runs Under When a report runs on a schedule, it runs as if the user who set the
User Account schedule ran it.
Permissions Report results can - and often do vary - according to who runs the
report. Results can vary according to a specific user's permissions. If
you schedule a report and publish the results in a widely accessible
location, make sure that the user scheduling the report has the
appropriate level of permissions and privileges for public
consumption, or that the report is written so sensitive information
is not revealed.
W.,"~ou" Admlni.tratlon S.t or ,hang. tho Web Reports Ucan.e Key and dl,play licensing ,taw,.
WebRgDorU kode Admfnistrnf!on
1denll'" and update repol1vi""'s ",Ing out-ol-date .<yom.
~
W"bOAV AlIInlniitrat'on U.ed to le<t build and SUb-tags th.l bave be.n created In t~e .ubtag. folder.
Webl'". Cote..e, Conflou",t1on
WebR_lImn AdIllinl.lration
.!'~~'W Adm!~lltnltlon ~j
I
=:::.:----_._----
Prospeelora AdmlnlBllaUon
-j
5. Change the Sleep interval from 300 to 60 and click the Save Agent
Changes button.
Spedfy the: sIeep i:ll.teN'al for the WebRe:pom; schedufing .agent in secon4$. This Is- thft amount. 4f ome: the- agMt Will mit btiQre running ag.ain. For petformlnce ft:aSOJiSI the v0'5roe ~Iltered must be grtater than 59,
Onoo lite change< .re _ , • reslllrt of lIte..mas Is ""IuiNd.
~liOQAgentSI_Inte""'b I~
n~~~cl:~q
- -s."""-In,tance.
Th.... are .. W.bl\epoftt ,theduJ.. ill In thIS CO<ltent
---
Sleep Interval The Sleep Interval setting is entered in seconds, and must be at
least 60 seconds or more. After submitting the form, a restart of
Content Server is required so that the agents are adjusted with the
new values.
I"»~»:'::':,,·,>·~c,::··:,:~·~<:>,,-~·:·>·>:·>:·'C:,:·"'::":':',:,,;.,,!
107/07/2014 j [ill , 121111: 1~8~1 f'PBlm;,~j)j' ~
o Forever rr--- Times . .
o 5 Minute Increments @ Enter Minutes (0-59)
!31.. .. : Minutes [iiJi1I Hours 1?1m Days fG"""J Weeks . .
Figure 3-5: Scheduled Report is Listing on the Manage WebReports Schedules Page
Specify th~ :'jl~ lntetvai for the WebRepd$ Sth~uling agent 10 $!f(Qnds:". this i.'i the aPWtJn't iJftlm"llhe ;agen'twfii wait bfIfoCi;! fUl)(1llttJ aga~n. For pwoml"nce ~~asons,lhl3 v~ue-I!tlh!t-ed must be greater than-59-.
Once the (:~JJ§i!S am salledJ it ~rt tif tlle:serv~is fil!qul.red.
sdJ""uUn\lAglmfSfuop in/:,;m,I, I~
!s",",~Ci.i~liA~!I·
7. Check that [3] new versions of the report have been added to
Content Server.
Figure 3-6: The Report Results Versions Tab Illustrates Report Version Being Added
Enterprise' Olurse ~latefia! ' 34>117· WebRepOlt ~i9!l ... ' WebRe poTts '
r!lAArt 201407(17143<\52 391§.html 3KB 07/07/2014 02:34 PM StfS;ln Adminya!Sllvii Default(Elltf!rnal Coroment SlQfaqe)
~ moort 2014!Vll71429S1 391!i,blml . 3KB 07/07/21l14 02:29 PM swan AdmJ!lva!Sllvil Default(Elltf!mal Doroment Storage)
~ rAA!lrt 20140EUm43 28l§.btrr.}, 3KB (17/07/201401;35 PM fu\San Admln'¥llkm1Jl Default(Exterfllli Ollcumellt storage)
Summary
Exercises
Overview
Administer the sleep interval and then create a Schedule for the previous Basic Users and Groups
WebReport and store it to Content Server 4 times at 4 minute intervals.
If you did not perform Step Set 3-1, complete the following steps to change the Sleep interval value,
otherwise skip ahead to the next exercise.
1. Log in with an administrative account.
2. Navigate to the Administration pages. If prompted for an Administrator password, enter
it (Le., opentext).
3. Click the WebReport Administration section followed by clicking the Manage
WebReports Schedule link.
4. Change the Sleep interval from 300 to 60 and click the Save Agent Changes button.
1. Copy the previously created Basic Users and Groups WebReport CS Version and call it
Basic Users and Groups WebReport - Scheduled.
2. From the WebReport Functions menu, choose Properties> Destination.
3. Click Set Schedule.
4. Configure the schedule so that the report is run 4 times every 4 minutes.
A
I
.5~ ~ JI~p Intel'VlIl rot lbe WtbbD~ $d'I~lin'\l "gtnt Iii $WJM!. This Is 1M Affifiuni of ijme ~ bg.et\t lmll wait bd'me !lll'\.i'll.nllJO/Iln. for ptt'fOHMIl«: rUSOrlSt th~ vahle- oente«:d murt b.e Qfoe~ Ol~f\ 51.
Oo~ttt. dlitnpef ..... ~ a ratartoltht ~loQtlIi l$felt"ired.
~~~~~J~ __ __
,~~.~ ~_. ~ __ ~"~~ ~, -':' EIl_bled'- ~~~~-~-N~Rull __'-'r Roo~~~,.~~ .~_ -l
n~~~
SlJutlAdiNrwl!~RVf! 9.W<llimalidGI04.JpsWab!l.e:c9~ ',' ~ 01j07/2Ul4.02H1PM ~i_~q 4 4~litl$ OH~l,l:ro (lOoliys: oW~eb 0 I
Sll@n AdmlrrGkga ~ WAAR!1lort wih Y~I*M 0 Q7/rm~OH QL:31 PM ~;~,~H 0 3 Hrns 0 HilUf' 0 O~ Q W . 0
6. After allowing enough time (e.g., 15 minutes), visit the Versions tab for the Basic Users
and Groups from ODG report and confirm that the Scheduled WebReport has added the
4 most recent versions.
li 'Willt 4!!14979ZHS2S3 3';l16,hlml 19 J(B 07/97[1.01'f O~:S2 pt.I SU.,. AdmirwaOO Dtfuult(Ext<!(niil DOQlmenl SW"'lle)
1 ,#oort ;w140707144853 391!i.frtml v 19 KB OlN7!2014 02:43 PM Susan AdmrnvaMv4: ~ault(Extern.1 cotumen! Sro.-age)
;l, report 20149107144553 391Uffinl 19 J(B OZ/07!W14 02:45 PM Sunn Admhwak<m1 Ol:fault(E>.tern~ Dowment Sll>rage)
.? 'OMit 20!tl!lNl13S016 2816.btml v 19 J(B 07/07/2014 01,50 PM Susan Admlnvakoya D!!faoll(Extamal Datum""t 5loolge)
4. WebReport Tags
Objectives
On completion of this chapter, participants should be able to:
• Describe how tags determine what the report contains and how it is structured
• Describe the different types of tags and their purpose
• Look up the tags they need
Overview
About Tags
At the heart of WebReports is the tag system. Tags, placed in the
Reportview, let the report designer show where data needs to
appear, control what Content Server page elements are displayed,
sort and filter data, perform look-ups to convert numeric IDs into
names and much more.
The majority of tags are quite simple to use, but there are many of
them. To make life a little easier all the tags are fully documented in
the WebReports on-line help.
Content Control Tags Content Control Tags deal with the content of the report, for
example whether to include the Content Server header and footer,
or whether to include a section of the Reportview based on the
result of a logical condition.
Data Tags Data Tags show where data from the data source should be
inserted, or where other contextual data should go, such as the
name of user running the report.
(expression) Format:
"parm A" <operator> "parmB"
If a condition is met, include the contents in the output. Anything
between the IF and ENDIFtags will only be included if the specified
condition evaluates to true, If an ELSE clause is included then
everything between the ELSE tag and the ENDIF tag are included if the
specified condition evaluates to false, This tag differs from the
INCLUDEIF tag in that this structure allows selected parts of the row
to be conditionally included or excluded, This tag can be used
anywhere in the Reportview, This tag can be used in each section,
Data Tags
There are two distinct types of Data Tags.
Data Source Tags Data Source Tags are used only in the Row Section to determine where
data source data should be inserted. They work by specifying which
column of data from the source should be used to supply the data for
the tag. Either the column name or number may be specified.
For example:
[LL_REPTAG_2/1
[LL_REPTAG=Datald /1
Contextual Data Tags Contextual Data Tags can be used anywhere in the Reportview and
provide a way to output parameters, variables and constants or
static information such as user's ID, URLs, current date.
For example:
[LL_REPTAG_DATE /1
[LL_REPTAG_USERID /1
[LL_REPTAG_&inputVal/l
[LL_REPTAG_%emaiiAddr /1
Examples of Useful Data Here are some more examples of useful Data Tags:
Tags
o [LL_REPTAG_DATETIME /J - inserts the server date and time
when the WebReport was run.
o [LL_REPTAG_ROWNUM /J - inserts the current row number in
data.
o [LL_REPTAG_NEXTURLll- inserts the URL to go to when the
WebReport is dismissed - usually the previous page. Handy for
a "Back" or "Finish" type button in the report.
o [LL_REPTAG_MYID /J - inserts the node ID of the WebReport
itself.
Sub-Tags
Sub-Tags are so named because they only appear inside the body of
a Data Tag. Sub-Tags let you format, manipulate or transform data
returned by a Data Tag into something else. Sometimes they actto
store or trigger some other feature using the data instead of
formatting it.
Sub-Tags often take parameters, and these are separated from each
other and the Sub-Tag by a coion (:).
Some examples:
• [LL_REPTAG~Status UPPER/] - converts the data into
uppercase.
• [LL_REPTAG_DATETIME DATE:LONG I] - the date Sub-Tag
offers a plethora of options for formatting a date and time. This
example causes the standard "long" date format specified in the
Content Server Admin pages to be used.
• [LL_REPTAG~status DECODE:O:False:1:True:Unknown 1]-
DECODE offers an If, Then, Else function (like in Oracle SQL). In
this example: If 0, then return "False. If 1, then return "True".
Otherwise return "Unknown".
• [LL_REPTAG~Datald NODEINFO:CREATEDATE 1]- takes a
Data ID (Node ID) and converts it into some useful information
about the node. In this example the date the node was created.
• [LL_REPTAG~Userld USERINFO:MAILADDRESS/]- takes a
User ID and converts it into something useful. In this case the
user's email address.
This takes the user ID, gets the users first name and
converts it to uppercase.
Tag Help
~ ~ .1, •........"urowse
,,,J "" 'IWMM'
,,~C ~"""'.
ffiJ [LL_WEBREPORT.J\PPEARTOPHEAOEROFF f) ExdJdes any AppearanCe HTML elements at the very toP. '" • •
@[lL...WEBREPQRU\PPEAP'TOPOFfIl Excudes illlY Appearance HTML elements at the top, top left and top riqht. •••
@[ll_WEBREPORU."ALLIl calls it SIltVer side Oocrttt function defined by Ll_WEaREPORT_STARTSCRlPT Mil ll._WEeREPORT_ENOSClUPT
tags. '" " "
Tags are mainly used in the Reportview. But a subset of Data Tags
and SUb-Tags can also be used in some ofthe fields we've already
met in the WebReports interface. You can spot the fields that
support tag replacement as they are identified with a red flag icon.
Examples of Tags You Can Use • Static Data Tags (e.g. LL_REPTAG_DATE)
Outside of a Reportview
• Parameter Tags (LL_REPTAG_&)
• ConstantTags (LL_REPTAG_$)
Examples ofTags You Cannot The following tags cannot be used outside of a Report view, since
Use Outside of a Reportview neither of them have any meaning outside of that environment:
Summary
Exercises
Apply Tags
Overview
This exercise provides you with an opportunity to practice using various tags, including the CAT Sub-
Tag.
1. Create a new WebReport in the WRD I Student Folder, called WebReport Using
Customer Feedback Category and use a basicJeport format.
2. The data source you need to seiect is List Documents with a Customer Feedback
Category Data Source and it can be found in the WRD I Templates (and Data Sources)
folder.
3. Run the report to verify that it lists several documents:
6. Click the Add Version button to save your Reportview modifications, before testing the
report.
7. Run the report and check you get what you expected. Remember - changing the data
tags in the row section will not automatically change the column headings.
8. Update the header of your WebReport so the headings are correct for the data in the
columns (i.e., <TD>Name</TD> and <TD>Created Date</TD».
9. Look up the DATE Sub-Tag in the on-line help. Format the date to a standard format of
your choice using the DATE Sub-Tag.
10. Look up the CAT Sub-Tag in the on-line help. Change the 3rd column to report the
Datald for the document and use the CAT Sub-Tag to display the Type of Customer
attribute instead of the Datald. It should look like this:
<TD> ILL_REPTAG=DataID CAT:"CustomerFeedback":"Type of
Customer":DISPLAY /]</TD> The syntax is CAT:<catname>:<attname>:DISPLAY.
When there are spaces in the Category and/or Attribute names, they need to be placed
inside double quotes. In the example we have placed "CustomerFeedback" in quotes for
consistency even though they are not needed.
11. Use the following figure to assist in establishing the appropriate columns and Attribute
names.
Content Server Catel1Qrles t Customer SeMee Categori... ,
~ CustomerFeedback '
12. Using the syntax example in step 10 and the list of attributes in step 11, edit your
WebReport to display the following attributes in separate columns. Use the USERINFO
Sub-Tag to convert user IDs into real names and format the date.
f
t
'I
Name create Date Type Qf Customer Customer Name Feedba,k ~ledia language
Ergoboot Customer Complaints summary.doc feb 23 2002 web Camlog Customer Eunice Tyson Phone CaU English
t. Intro.doc Feb 23 2002
2. Efgllboots descrlption.doc Feb 23 2002 Store Visitor Alice lund letter English
3. !'larkeling Plan.doc Feb 23 2002 Web Catal09 Customer fred lntext' E-man Spanish
Ginette's feedback.doc Od 2S 2.000 Web catal09 Customer Glnelte Phone Call French
4. Sales forecasts.doc Mar 01 2001
Joe's feedbad<.doc Od 25 ;WOO Reseller Joe Sapp E-mail
Router spikes Question.rtf Aug 12 1999 Web Catalog Customer Andy Barrie Phone Call
Customer Feedback for Product x.pdf Nov 16 2000
Complaint Infotmatiol1 oct 26 2000 Store Visitor Helga Higgenbotham Phone CaU
Objectives
On completion of this chapter, participants should be able to:
Overview
['
Including a Hyperlink
For static links (i.e., not based on report data) there is nothing to
prevent you from grabbing the URL address of the object you want
to link to (e.g., right-click a link to it, select Copy or Shortcut) and
then pasting it into the HREF value. But, WebReports provides a
better way, which you can use to make links from report data.
All you need to create a link to another Content Server item is its
Node ID or Data ID. Even if the item is moved or hidden, the Node
ID remains valid forthe entire life of the item. So, a link builtfrom
this will always pointto the correct item.
For example:
[II insert link to item
<A HREF="[LL_REPTAG=Datald LLURL:DEFAULTLiNK I]
&nexturl=[LL_REPTAG_MYURL ESCAPEURL
1]">[LL_REPTAG=Datald NODEINFO:NAME 1]<1A>
[II insert function menu and 'up a level' icons
[Ll....REPTAG=Datald LLURL:FUNCTIONMENU I]
[LL_REPTAG=Datald LLURL:UPALEVELI]
Name Create Date Type of Customer Customer Name Feedback Media Language
Eraoboot customer Conp!ai!l!:s sullmlry.doc Feb 23 2002 Web catalog Customer Eunice Tyson Phone Cal Englsh
t. IntrO.doc Feb 23 2002
2. Erooboots docaiption.doc Feb 23 2002 Store VIsitor Alee lund letter English
3. Marketing !'!an.doc Feb 23 2002 Web Catalog Customer Fred IAtext E-rmi Spanish
GIIlette's feedbadc.doc oct 25 2000 Web catalog Customer Glnelte Phooecal French
,. Sales Forecasts'doc Mar 012001
Joe'sfeedbaclcdoc Oct252000 Reseler JoeSopp E-mill English
Router ...... ow><!jnn.rtf Aug 12 1999 Web Catalog Customer Andy Barrie Phone Cal Englsh
Customer Feedb;!ck for Product X.Ddf Nov 16 2000
Conp!aintl!!hmration oct 26 2000 Store VIsitor I!eIga Higgenbotham Pbone caB English
Selecting a link runs the default action for that type of item:
Figure 5-2:
Clicking Report Link Run Default
OutdoorGear Customer SelVlce
Action - Open From: Jack Fom [2934S2@joLcom]
Sent: Friday, April 24, 199810:41 AM
To: Made Undsay (E-mail)
Subject: Whatln tarnation. ,_
.. are the "rou1er spikes" you ad'lal\ise on your web pago? They look like a cross between SI
and a garden weasel.
Jack Ford
<
Review the LLURL tag in the online help to see all the
actions and icons available.
Constants Tab
Constant Fields The Constants Tab provides you with the ability to define constant
values that may be used in the report output. Best practices
involves using constants to replace any hard-coded Data IDs or
User IDs to make your work more portable; you may also use
constants for any string values that may be subject to change
periodically.
Constant Name The constant name is used in the ReportView with the
[LL_REPTAG_$constantname /] syntax to reference the constant
and display the constant value. The constant name should contain
no spaces and no special characters.
Constant Type This field defines the data type of the constant.
Constant Description Enter a purpose of the constant and where it is being used within
the ReportView.
String The String type is a good general purpose constant that is used
when the constant value is alpha-numeric. Use this constant for any
stringvalue for common text strings that may require discretionary
change during development, including report titles, custom
instruction or error messages, etc.
Using the RptTitle tag in the Reportview will display the string
value: "Outdoor Gear, A GreenSquare Company".
Content Server Object The Content Server Object type allows you to select an item in
Content Server and the Data ID of that item becomes the constant
value. The Data ID value may be used for referencing Sub-
WebReports or the constant may be combined with a Sub-Tag to
display information about the selected item.
Content Server User/Group The Content Server User/Group type allows for the selection of a
user or group and the ID of the user or group becomes the constant
value. Combining the Constant Tag with a Sub-Tag would allow us
to retrieve more information about the selected user.
Figure 5-6:
Global Constant Selection Field in a
WebReport
8. Edit the ReportView and paste the fa I/owing text into the Header
Section:
<A HREF="[LL_REPTAG_$DriltDown_WR LLURL:DEFAULTLINK
/}&nexturl=[LL_REPTAG_MYURL ESCAPEURL
/}">[LL_REPTAG_$DriltDown_ WR NODEINFO:NAME /1</A>
[LL_REPTAG_$DriltDown_ WR LLURL:FUNCTIONMENU /J
The above tag loads the constant - the Content Server's Customer
Service folder location - into the Reportview. In this way, you can
use a placeholder for the constant in the report tag code.
Summary
In summary, in this chapter we:
• Included Jinks or icons for other Content Server items or
interfaces
• Described how to use Constants to do this more effectively
• Learned about Constant Types and Uses in a WebReport
Exercises
Create a WebReport With Constants
Overview
Create a pair of WebReports: one with a Constant Report Title and another using a Global Constant
to list all Outdoor Gear user accounts that have system administration privilege rights.
1. Create a new WebReport called ODG Global Constant WebRe port, with the Go To
Source Tab selected, and using the basicJeport Reportview.
2. On the Constants tab, create a new String type Constant with the Constant Name
ODGReportTitle. Enter Outdoor Gear, A GreenSquare Company in the Constant Value
and Constant Description fields.
3. Click the Update button to save the report.
4. Create a new WebReport called ODG Users with SA Privilege, using the ODG Users
;
I•
with System Administration Privilege data source ( Enterprise Workspace> Course
Material> 2-0117WebReport Design I> WRD I Templates (and Data Sources) folder)
and the basicJeport Reportview.
5. Edit the Constants setting (of the ODG Users with SA Privilege WebReport) and
Browse to the previously created ODG Global Constant WebReport. Remember to
click the Update button to save the report.
6. Edit the ReportView and add a tag (i.e., [LL_REPTAG_$ODGReportTitle III to display
your ODGReportTitle Constant at the top of the WebReport.
7. Click the Add Version button to save your changes.
8. Add any necessary formatting, like blank rows (e.g., < BR» and additional columns to the
Reportview to accommodate output of all of the data source columns (Hint: 6 columns).
9. Run the WebReport and verify is displays the report title constant:
Challenge Exercise
Document Name into Hyperlink
Overview
Using the WebReport you created in the previous chapter, try turning the document name into a
hyperlink that opens the document.
1. Use the LLURL sub-tag; the "browse" default Reportview shows exactly how to do it.
2. Test the resulting report, for example using Router spikes question.rtf, by clicking the
hyperlink and having the document open in the browser.
Name Create Date Type of CustOtDi:!r Customer Name feedback Media language
Eraoboot ClJSt9frer C1WJ)laintssul1m.uv,doc Feb 23 2002 web Catalog Customer eunice Tyson Phone call English
1. tntro.dpc Feb 23 2002
2. Eraoooots description.dQc Feb Z3 2002 Store Visitor Alee Lund letter English
3. Madcetioo Plan.dot: Feb 23 2002 Web Catalog CIlstOlrer Fred lntext E-... d Spanish
Pooneea.
4. *
Ginette} feedback.doc
Forecasts.doc
Joe's feedback.do-c
Oct 2S 2000 Web Catalog CUstorrer Gnette
Mar 012001
Oct 25 2000 Reseler Joe Sapp E-... d
French
English
Bouler spikes guestiop,rtf Aug 121999 Web Catalog Customer Andy BarrIe Phone cal English
Custorrer Feedback for Prgduct X.pdf Nov 162000
Cormlalnt Information Oct 26 2000 Store VIsllllr Helga HIggenbotham Phone cal English
1. The solution is to replace the first name column's tag ([LL_REPTAG=Name I]l, in the
Row Section, with the following tag:
<A HREF="[LL_REPTAG=Datald LLURL:DEFAULTLINK I]
&nexturl=[LL_REPTAG_MYURL ESCAPEURL Il">[LL_REPTAG=Datald
NODEINFO:NAME 1]<1A>
2. Once the editing is complete, the entire Row Section should contain the following HTML
code:
<TR CLASS="[LL_REPTAG_ROWNUM ODDEVEN:userRowl:userRow2 1]"
VALlGN="CENTER" NOWRAP ALlGN="LEFT">
<TD>
<A HREF="[LL_REPTAG=Datald LLURL:DEFAULTLiNK/] &nexturl=[LL_REPTAG_MYURL
ESCAPEURL Il">[LL_REPTAG=Datald NODEINFO:NAME 1]<1A>
</TD>
<TD> [LL_REPTAG=CreateDate DATE:"%b %d %y" Il</TD>
<TD> [LL_REPTAG=DATAID CAT:"CustomerFeedback":"Type of
Customer":DISPLAY I]</TD>
<TD> [Ll..REPTAG=DATAID CAT:"CustomerFeedback":"Customer
Name":DISPLAY I]</TD>
<TD> [LL_REPTAG=DATAID CAT:"CustomerFeedback":"Feedback
media":DISPLAY Il</TD>
<TD> [Ll..REPTAG=DATAID CAT:"CustomerFeedback":"Language":DISPLAY
I]</TD>
</TR>
\I Objectives
On completion of this chapter, participants should be able to:
Overview
Parameters Concepts
I InputLabel1
I -+ WebReport
-+
-+ -+
ILL,..REPTAG_&inputLabelt l]
inputLabel2
I I
I
dir
I
-+ -+
Parameters Tab
Parameter Fields The Parameters tab provides two main functions. Firstly, it provides
the ability to set defaults for parameters used in the Reportview so
that they can have a defined value (besides a blank string) even if
the specified parameter does not exist in the URL used to run the
WebReport. Secondly, the Parameters tab provides options to
setup an automatic prompt screen. The fields used for each
parameter are as follows:
Parameter Name This is the name of the parameter as it will appear in the U RL once
the user has selected their values and selected Run on the
prompting page. The parameter name must not contain spaces or
other characters which cannot be passed in a URL. The end user will
be largely unaware of this value.
Display Text This is the text that the user will be prompted with. It differs from
the parameter name in that it can be more descriptive and can
contain spaces.
Prompt This check box determines whether the user will see the prompt or
not. If the user is not prompted for a particular parameter the
default value will be used.
Prompt Order This field determines the order in which the parameters will appear
on the prompt screen. The values can be alphanumeric.
Type This field will determine the type of parameter the user is prompted
for. This can be String, ObjectlD, User, Number, Object, Date or
Custom.
Default Value This is the value that will be used if the user doesn't select a value
on the prompt screen. The value will appear pre-populated on the
prompt screen. The value will be used by WebReports that are
running on a schedule.
Description The description is a free text field which allows the WebReport
developer two options. They can put comments in itto remind them
and other developers about an implementation detail. The second
option is to tick the Show Descriptions check box atthe top of the
parameters page - this will cause all the descriptions to appear on
the prompt screen where they can be used to provide the end user
with instructions. This field can contain HTML tags.
IE'] 0 r
0 ~
String The string type is a good general purpose parameter and is often
used when the end user needs to enter free text in a filter field. The
text is passed to the parameter replacem,ent tag~xactlyas it is
entered on the prompt screen. ',: j"i'::c" '
User The user parameter provides a prompt where the end user can
select a Content Server user or group. When the developer creates
the report he can configure it so that the end user can select either
only a user, only a group, or a user or group. Either one of these may
be selected for the default value.
The user parameter type allows for the selection of a user or group
but it is not the user name (or group name) which is passed it the
report, it is the id of the user or group. This means the
[LL_REPTAG_&parmname f] would be replaced by the user ID
rather than the user's name. If we wanted to retrieve her name we
could use USERINFO e.g. [LL_REPTAG_&parmname
USERINFO:NAMEf].
Number The Number input type works similar to the string type. The key
difference is when the user enters a value it is validated before the
report runs to check that it is an actual number.
Object The object input type allows users to select from the available list of
object sub types within Content Server. If custom modules are
installed and create new object types, these will be reflected
automatically within the select statement.
Date The date input type offers considerable flexibility. The developer is
able to decide whether the user is prompted with or without the
time, whether the default prompt is current date or whether the
user is prompted with a blank date field.
Custom If the custom parameter type is selected the report developer can
create custom prompts by directly inserting HTML from either a
Content Server Document or another Content Server WebReport.
The benefit of this capability isyou can build dynamic filters that
have their values populated at run time.
Custom Branding and At the top left hand side of the Parameters tab the report developer
Instructions has the option to browse for a Prompt File. This allows a Content
Server object to be selected and its contents inserted at the top of
the parameters prompt page. The object selected can either be a
HTML document or another WebReport. In the case of a HTM L
document its contents are static but if a WebReport is used it can
dynamically retrieve information and the prompt screen
manipulated depending on who is running the report and their
permissions etc.
Figure 6-4: Example of an HTML Prompt File Used With WebReport Parameters
outdoor gear
Parameter Descriptions At the top right hand side of the Parameters tab, you have the
option to turn on (or off) Parameter Descriptions. Parameter
descriptions are useful because they can be used to provide
instructions or additional information on a parameter-by-
parameter basis to end users. If the end user does not need these
they can be turned off and the developer can use the fields for
design notes or leave them blank.
lSI
P~;a.rn:t.,.r...;~ i1
h",,,GiJrl--------,
~Vllf'~rMF~i!
Ap~~f~ll(~ f",jlikr
[2) 0 A ~t~Il(l:. VlOIle> ~{" fiMf.I
And when the report is run, the descriptions appear to the far left of
the parameter fields.
outdoor gear
iil~l 'C!~.f I Browse QurKnawledye 6il<e and •• lect. Product ther yulde to help you.
0... ig...il Select a Us.r to {ontad far expert .WK. On an Outdoor G1!ar product.
Data source parameters can be used in both Live Report and Search
data sources. If a WebReport is using a data source that expects a
parameter, by default, the user will be prompted for it at run time.
If, however, a WebReport is running on a schedule the user has no
opportunity to enter the parameter at run time. In this scenario a
parameter default can be defined on the WebReports parameters
tab. The parameters tab can also be used to override the prompt
behavior for data source parameters. As an example, one data
source parameter might have a default value and not prompt the
end user whilst another might be set to prompt and force the user
to enter a value before allowing the report to run.
Live Report Data Source LiveReport input parameters are of the form %x in the SQL and
Parameters inputLabelx in the calling URL where x is a number.
When the user initially runs the LiveReport above they will be
prompted to enter a string. Once prompting has occurred %1 in the
SQL statement will be replaced by the value entered by the user on
the prompt screen. This is passed to the LiveReport in the URL in
the form &inputLabel1=<value>.
Search Data Source Search data source parameters are similar to LiveReport
Parameters parameters in that they are of the form %x in the LQL (Content
Server Query Language) and &inputLabelx in the calling URL. The
main difference is that the standard search capability doesn't
support parameters so you cannot run saved searches on their own
if they expect one or more %x parameters.
Figure 6-9:
A WebReport Parameter in a look For: IAll Words l~H Modifier: I <None> ~ Within: ,-IA_II_-,lv"""JI@
In such cases, you can create a custom launch page (either with an
HTML document, or a WebReport) which collects the user's
filter/display values then passes them to a second WebReport that
uses them to control the output.
, ,
Parameter Collection Results
Summary
Exercises
Create a Constant and Modify the Reportview to Display it
Overview
Create a string constant as the report title or name and then modify the Reportview to include it as
part of the output it generates.
1. Copy the WebReport Using Customer Feedback Category report to the same folder as in
the Chapter 5 exercises, but rename it to Customer Feedback Category with Parameters.
2. From the Functions menu select Properties> Constants and create a new String type
Constant with the name ReportTitle. Enter data for the Constant Value and Constant
Description fields.
IO-_nst~t~, ~~~.,.¥
IR'POttWo
3. Edit the ReportView and add a tag to display your ReportTitle Constant at the top of the
report.
4. Run the report and verify the report title is displayed.
5. On the Constants tab, change the Constant Value and run the report again.
Overview
Create a prompt page and the parameter is used by the data source.
1. Create a newWebReport using the Parameters Prompt Page Data Source in the WRD I
Templates (and Data Sources) folder and call it WebReport with Prompt Page. Also use the
browseJlexible_cs10 format.
2. From the Functions menu select Properties> Parameters and extract the parameters from
the data source. Click the Apply button to save the ReportView changes.
0 0 n l,stnl~_j9[
0 0 n I.S_tm~ _ lsal
0 0 n, 1.Sl;r'i\l. _ ',,iJI
3. Notice how the SORT and DIRECTION came from the browse_flexible_cs10 view, but the
inputLabel1 ca,e from the LiveReport Data Source we used in the first step.
4. Set a default value for the date field of 1st January 2006 and set the display text to
Documents From; make the parameter mandatory and set it to prompt the user. Also enter
a description and set the check box so that descriptions appear on the prompt page.
J
Content Server WebReport Design I Page 6-1S
Chapter 6. WebReport User Prompts and Parameters
5. Create a new HTM L document in Content Server and add some simple branding to it. Hint: If
you are unfamiliar with HTML, you can make use of the provided odgbanner.html file that
displays the company's banner graphic (odg2013IogLgif).
outdoor gear
6. From the Functions menu select Properties> Parameters. Click the Browse button opposite
the Prompt File field and select the [odgbanner.html] HTML fi Ie created in the previous step.
,- --_. __ .. _-_ .. - -,- " . .... ".", -_ __ ,., -, .. ,."",.-'_--_"'_--_'_'_'_-----_'_,-".,_"'- - - ' .. '-.'
outdoor gear
~~~I';~';~:c.lgn~M~I~11l~J _.,..""'....
ILW"',j.i....il··~··f
9. Click the Run Report button with the default date; the report results should look like the
following:
10. Run the report again, but change the date to 01 Jan 2012. Observe how the number of
reported documents is far less (e.g., less than 50).
11. If you run the report again, but use the Clear button to use a blank date, what happens? Hint:
remember that the date was a mandatory field.
Objectives
On completion of this chapter, participants should be able to:
Overview
This chapter discusses WebReport filter tags and their syntax. We
will aiso look at a comparison of various filter options.
Filter Tags
Although WebReport tags provide the ability to insert data into
other language sources, there are a few tags that provide simple
scripting type functions. This is primarily limited to the ability to set
conditions that will allow parts of the output to be controlled. This
means that what the user ultimately sees can be made dependent
on conditions such as:
• A particular data field matching a value
• Data fields being less than or greater than a value
• User criteria (such as group membership or permissions level)
compared to a predefined level
• The row number being greater than or less than predefined
values
I•
) • A particuiar field being unique within the result set
Exit If This tag is used to specify one or more conditions where no further
rows in the result set will be included.
Include Range This tag is used to allow a specific range of rows to be included in
the output. It does not use any logical condition but supports from 1
to 3 optional parameters that can be used to determine which rows
are used.
Include Distinct This tag is used to limit the number of rows so that only rows with a
unique value for the specified column are included.
Logical Expressions For the IF, INCLUDEIF and EXITIF tags a logical expression is
required. The evaluation of this logical expression to a value of
either TRUE or FALSE determines whether the tag includes or
excludes data. In most cases, these logical expressions allow
comparison of fields from the data set with either constant values
or values specifically passed to the WebReport when it is run.
The section in the online help under Using WebRe ports >
WebReports Advanced Information> Logical Expressions
has some detailed explanations on forming logical
expressions but the key points are listed below.
One or more logical clauses can be combined, using one of the key
words: AND, OR, &&, II (AND isthesame as &&, OR is the same as
II). Expressions are evaluated from left to right. Bracketing is not
supported, so you need to place your conditions in the correct
order.
When to Use WebReports When building applications with WebReports there are a variety of
Filter Tags ways that the data can be filtered. Some common approaches are
data source filtering, WebReport filtering and client side filtering.
Data Source Filtering If the data source supports filtering (e.g. LiveReport using SQL or
Search using search criteria or LQLl then it is possible to pass
parameters to the data source that are then used to add clauses to
the query in order to limit the data being returned.
WebReport Filtering The tags described in this section and or the WebReports scripting
feature can be used to restrict the volume of output that is
ultimately delivered to a destination.
Client Side Filtering The most common means of performing client side filtering is with
JavaScript. JavaScript can be included in the client that evaluates
conditions prior to displaying page components. Alternatively
JavaScript could be used to dynamically build an array (limited by
fiiter conditions) or to dynamically hide or reveal components.
There are other types of client scripting methods but for HTML
being read in a browser JavaScript is the most common.
Applications of Filter types Each filter tag has particular strengths and applications. Some
common usages are as follows:
IF/ELSE/ENDIF This tag is actually made up of three separate tags that allow parts
of the report to be bracketed. Any source in the bracket becomes
conditional on the outcome of the logical expression specified in the
IF tag. These tags are not normally used to restrict rows of output
as the INCLUDEIF tagor EXITIF tags are much more suited tothis
task (and are more efficient). The IF tags are most useful when
there are portions of the output either in the Header Section, Row
Section or Footer Section that may vary according to data
conditions. A common application of this tag is to make certain
parts of the output dependent on the user's permission level or
their membership in a group.
For example:
[LL_WEBREPORTJF "[LL_REPTAG_$DID PERMCHECK:EDIT II"
== "TRUE" 11
<INPUTTYPE=SUBMITVALUE=EDIT>
[LL_WEBREPORT_ELSE 11
<INPUTTYPE=SUBMITVALUE=EDITDISABLED>
[LL_WEBREPORT_ENDIF 11
The IF tag can also be used within the Row Section to allow optional
columns where certain users might see a column and others might
not. For example, something like this might be used in the row
section:
[ll_WEBREPORT-'F "[ll_REPTAG_$AdminGroup
USERINGROUP Il" == "TRUE" I]
<td> [ll_REPTAG=CreateDate I] <ltd>
[ll_WEBREPORT_ENDI F I]
INCLUDEIF This tag is used to control which rows are included or not included
in the output. If the logical expression fails (returns FALSE) then the
entire row is excluded and the row number is not incremented. This
tag is the most commonly used for filtering out rows based on
specified conditions, equivalent to SQl WHERE clause.
For example:
[ll_WEBREPORT-' NClUDEIF "[ll_REPTAG=STATUS 1]" ==
"ACTIVE" Il
The logical expression can be built into multiple clauses if required.
It is also possible to use multiple INClUDEIF tags.
For example:
[ll_WEBREPORT_EXITIF
"[ll_REPTAG_ROWNUM Il" >= " [ll_REPTAG_$max Il" Il
INCLUDERANGE This tag allows control of which rows (and how many of them) are
returned. This is particularly useful for pagination applications.
While there are other ways to implement pagination, this tag is
most useful when the INClUDEIF tag is being used to filter rows as
the INClUDEIF tag will affect how many rows exist in the data set.
The tag help for INClUDERANGE explains this in some depth.
INCLUDEDISTINCT This tag makes it easy to return a list of unique values from a data
source where duplicate values may be found. Specifically, if you
were creating a select list based on a table and you didn't want any
duplicates in the list, this tag could be used in a Sub-WebReport to
return an appropriate list.
DECODE sub-tag In some situations using the DECODE sub-tag is more efficient than
IFfENDIF.ln a commonly used example, if we wantto change an
HTML row color based on whether a row number is odd or even, we
could use this syntax:
<TR CLASS="[LL_REPTAG_ROWNUM ODDEVEN
DECODE:ODD:browsel:EVEN:browse2 fl">
In this example, the ROWNUM tag returns the row number (after
filtering and sorting has occurred). The ODD EVEN Sub-Tag
converts this number to either the word ODD or the word EVEN
accordingly. The DECODE then substitutes the word browsel
instead of the word ODD or the word browse2 instead of the word
EVEN. The alternative to this approach might be an IFfELSE tag
with a check to see if ROWNUM was odd or even. Using DECODE
here is more efficient and generally tidier.
When using the IF/ENDIFtryto use the ELSE tag rather than using
two IF tags. (Prior to WebReports 4.0 there was no ELSE clause so
customers may want to consider updating old Reportviews where it
was necessary to use IF twice for certain problems).
Summary
Exercises
Overview
In the first exercise, you will use Includelfto Find logins.
In the second exercise, you will use start/end parameters.
7. Next, apply a filter to only return results that correspond to Users (Le., Type =0). Hint:
Add a Constant (e.g., OnlyUsers) as String Type with a value of 0 and use this Constant
as part of an IF statement.
I
i~
1.cw:~n~ nil~_, ~ & . Constam Vilkl?1 ill
ilo'~\h<lS
I
8. Add an appropriate INCLUDEIF tag syntax to restrict the result set so that only items
that exactly match a specified [login] name are included.
Hint: You will need to compare the name column with whatever value was passed from
the prompt; also, you should see the parameter tag in a pop-up list at the top of the edit
screen which you can drag-and-drop into the Reportview.
9. Run the WebReport and test that it only returns the result corresponding to the
entered name:
ID OwnerlD Name
35152 1000 studentl
The following code represents one possible solution to filter the User and Group results so that only
Users with an exact match to the entered input are displayed on the report.
8. Test the WebReport with different values used for the prompts (Hint: Try a start value
of 23 and end value of 53).
The following code represents one possible solution to filter the User and Group results so that only
Users with an exact match to the entered input are displayed on the report.
[LL_WEBREPORTJNCLUDERANGE STARTROW:[LL_REPTAG_&Start fl
ENDROW:[LL_REPTAG_&End fl J]
<TR CLASS="[LL_REPTAG_ROWNUM ODDEVEN:userRowl:userRow2 fl" VALlGN="CENTER"
NOWRAP ALlGN="LEFT">
<TD> [LL_REPTAG=1D fl</TD>
<TD> [LL_REPTAG=OwnerID fl</TD>
<TD> [LL_REPTAG=Type fl</TD>
<TD> [LL_REPTAG=Name fl</TD>
</TR>
8. Sub-WebReports
Objectives
On completion of this chapter, participants should be able to:
Overview
Introducing Sub-WebReports
The master report has no data source of its own, it simply acts as a
mechanism to call the Sub-WebReports and deliver the results.
Each of the Sub-WebReports are set to run to the browser and the
master report is set to export to a document, the end result is a
single HTML document containing the combined results of four
sub-WebReports. The master report runs, refreshing the document,
on a dai Iy schedule. This approach minimizes load on the system as
the report executes once per day and the end users simply access a
document (which is much less costly than running four
LiveReport/WebReports for every user that visits the page).
Scenario You want to be able to send an email to each person within a given
Content Server Project that has an overdue task.
Solution First break the problem into manageable pieces. We know the
following is needed:
• A main LiveReport to retrieve a list of users
• A main WebRe port to call a sub-WebReport. We need this
because we want to send individual emails by calling one sub-
WebReport once for each user
• A sub-WebReport to trigger the email for the given user
• A LiveReport to return additional information (via SQL) about
the user
..
..
..
A WebReport can call a sub-WebReport an unlimited
number of times.
Even if a WebReport is being used as a sub-WebReport it
can still be executed as a stand-alone WebReport.
First the PARM directive must be used then the name of the
parameter you wish to pass then the value of that parameter. In this
example, the parameter we're passing is called inputLabel1 and its
value will be whatever is in the USERIO column for the current row
of the WebReport.
Considerations If you are running a WebReport that has a thousand rows returned
and that in turn is cailing a sub-WebReport which is doing
something like an export to Workflow, consider the performance
implications. The impact of this type of operation will depend on the
individual system. Is it capable of running 1,000 reports and
launching 1,000 Workflows at peak hours?
Summary
Exercises
Overview
Create a small or mini portal using a master WebReport and a pair of sub-WebRe ports.
The Row Section of the sub-reports should contain the following information to limit the number of
returned results to 10 rows.
[LL_WEBREPORTJNCLUDERANGE MAXROWS: 10 /1
The Header Section of the Master Report should contain the following information (and necessary
HTML structure), to display both sub-reports side-by-side.
Objectives
On completion of this appendix, participants should be able to:
• Describe the online hel p and Knowledge Center resources that are available for WebReports
Overview
Product Home Page The Resonate home page is available from the following URL:
http://www.resonatekt.com
FigureA-1:
Resonate Home Page
Technical Support Technica I and customer support is available from your regional
OpenText support call centers.
way. ~ CMtad..SupfiQ'1
CUUOM£IlJl!!'ltVlcItUOO1C
FigureA-2:
OpenText Support
Pram(er Anytime
Anywhoro
Ow Wp"QHIIe"lItJ"" Ptl'l~~ ilndf/l'~YlilrMrl'l" IdtJo~for,<e;.tom".~ I'r''''~ CdtT«I115W&~<IfI!"'Qr1;!W
flrogffilnoff~JlJthe ~upport Itllk\nKItayaur C'P'itll-l:.ftafm.l~' theop.;.ll:rW
biii'lllo1it!l.ofP«!w~,pfu'.i; spIlcltK:bu!lf~'l"'~ro ,do~hQrjl1,m!)ttirk \I~tlon~pr.wOO"'ll
~~PJll;HtfO~I1~~£-:;;:4 pf;.'IPP'IW¢otpmOklrn.l';r ... ·9~.t:l9I<lflf1k:!Or.lltl,;:,M. )'[)ur .k.gy bu$.lrtoll~g
ho,,~r.ilda)l.}~./i. ;;peed up ~QlvtJo[l. "..Afl'J'!"t1i1l"l prWtklQS!J-:lt'i- prcce~S<I:'i-,.
Documentation All the WebReport documentation for Content Server 10.5 was
merged into the core online help. Users, however, will find that
technical and user guides for previous WebReport versions are still
available from the KC for download.
The same User Help and Admin Help are also available as a PDF
version of the online help:
https:/lknowledge.opentext.com/knowledge!cs.dll?func=ll&obi Id =
47752119&objAction=browse&viewType=1
Figure A-3: Online Help as PDF Files From the Knowledge Center
Online Help Online help for WebReports is available from the Main menu>
Help> Contents> Using WebReports, as illustrated in the figure
below:
f':-
ffi GettnOStart:~d
i ..
._-2J 1;I;ti...__.___
_'.".
._---1 menl.l,Wh1JIlC:W"Ik"!/ilditElWWi!bne,/)(lJt/theuSla'rtJptompl'lldtQ',
~~~w:~~~Da~d~a:~~~~~~~~t:er;::~:t:~~~tio%t~~At~~=~t::b:~~O:;wn
,-', ."_,.
rtl. CUst(l:mttflo eu~l!£!m: $e',Ntr
1~ c.1l0V:l1f If data Sl,lIJ!te on whth thil W~bReport wfbij based.
1lJ. M",,,,IIJ1 Oo'"'!l..ts OlIdllo'.....
1}] RetoeWig JoriJ.Jl/:littl.n 2. .1f!Ied: a Jl"P1lJtV[IlW to use ~ the presentation hmpliltl;' fQe IIlIT tJataSO\Hte.
ill. C.....latllg wt~ ot~."
!!I CClII'UnUl1lc,atk19 N~~ arid llpdat:ils
ill Aul,grJ1ilUl!1 Bwmm P't:J)(e6Sl!'
!!) -Implementng a SU:Oll$PfQCtSia5" Wo~w
E1UsilgWe-bRtpotts
FigureA-4: r~1 Aboul We:b~ports PmoodLlres for WebRe.porls End Users: RJr@ndll5erstlfWebRQPol1Si:hi!retln!:
1nUcHJudllJ.n to: W~bAl1'pctts IOlpoltant items re~!erl to Ih& &xac.ution {jfWebP.ilpM5 to dfsp!ayor expcnt data. Th",
most uS(!ful items rorWebRepltIt kiS'l15 are~
WebReports Online Help trelIS1!!!J"PDmNl!'ffl1!l!1!
(fl WoMlO .,Ib WebReportt
ffi Rl)port~wnl)S
lB WebRepclts/tdvilJ(f§'d lnfuliTHltillli
r'tl D~ta""d Examples; Pro£edUfM' filr WMJRE'poTt9 oevdoper.>: Rlr WebRelitltts de....ekloe-lSsomilil: llf the
ill UsinlWebDAV most: us@ful PI'll(lHfores ('tn~:
li.I W(JM'l,g !'Ith QpanTelLt Entlllll$e Cunilli!{t
B. SubTypes
Overview
When writing SQL queries for Content Server Live Reports, (i.e., 3-
0127 - Content Server Schema and Report Fundamentals) it is
useful to reference lists of SubType integer values.
Subtypes
Enterprise Archive
Archived Document 753 Document
csapps
Content Server Applications 32657 CSApplicationsVolume
,0; •••••
, ,,~U,~ ~UDIYP"
csapps
CS Application Manifest 32658 CSApplicationManifes
'" "r
fName I
SubType
Folder 0 Folder
Generation 2 Generation
.-
,>uu'ype
I
Search Results Template 383 SearchResultsTemplate
Shortcut 1 Alias
WebFormConnedionVolu
Web Forms Connections 236 me
-" -, :>UOlype
.>uu' YI'"
Folder 0 Folder
Shortcut 1 Alias
Generation 2 Generation
,- .. . ..
Custom View 146 CustomView
o>uu I y~~
:
Reports Volume 211 Vol Reports
WebFormConnectionVolu
Web Forms Connections 236 me
JJ
J
"~ -, '?U,,'yP"
Merge 273 Merge
~
-
~uDlype --
~~lJType
~ "uu'Y~~
:
EnterpriseArchive
Archived Document 753 Document
:
.~ "' .~uu'Y~~
csapps
Content Server Applications 32657 CSApplicationsVolume
csapps
CS Application Manifest 32658 CSApplicationManifes
Objectives
On completion of this chapter, participants should be able to:
• Describe the Licensing features of Content Server 10.5 SP1 including Managing Licenses
• Install a Content Server system License File and WebReport module License File
Overview
Em" logging In. Us.,. dMS not hiM! suffid.nt privilogo, I» f.9·;n while Cont.nl
SOlVer I~ In ~dnHn;mutl.n mod••
Figure C-1:
Administrative Mode Login Error
Po~wotd: i............ . _......... .jl
LAnDllllgn
~-- __ .~'.n··~_------i
l:IUi!.H.'(~n.'~~nt
Admll1lwateu1: CIlIl iil'l;;!y?;l!" 5Ol\wll~ In$la11~lj.rjr'lS: 3nd fk{Ifoy p.atclles <lUQ'i$ il. d\J.Sw.
Appearan~1 Admmhlr3twn J ~
6ut Betd Aoo-.ln~\lohiiUon -~-I CM(lqllfe ftJo:et flmctfDnjlity 4f1d dQtument c1i!oS$6 ~r!d >rlI~ •
.c~cc.':,:I".::':.:I.:.:"."A"d"m"I"':". :-=;tlo'-"~--
.. -·-i £m:!!!n\l~~.Jll!
-c·~~b:·;;t'S;;;rApP'~iJ~~·~··Ad·mw~~8«;;-i MWl: fIlnctfot'ls:t<J 'OrfroITl the: Mot.¢' s:ubm~nij.
'oiU;~01Y Sf!fItitl!~i;g;;Uon ~ Configure peWqnilnce SeldOQj
Admln'-8rk.ation 3 ConfiguN wvtt perfonnan<~~etti!lg$ SlJch as 1M- uU;r dghts thresMtd, rtl:nlU'lum flllfl'lb-et (If ~il$~ number of thi~J$"J adlt oonlrol ne4<'Wt ~rm te!-eiY.e bl'.:rore ~nd>
·~:~i;~i;~:.~~~~~~~?_~--=l CcmifnurrPrrlJl~nllltfnn
()Jl'lfi?~re' '!!l~etl~ rdilted to pt~fffitafuln in The Qlntent S".,er.
~~-~~n-===1
~
MlJlli.FUe Output A.drn-inltl,ation ~ C(",,(t~Ule<:Qn~t'It Smfr s:mmly p&rilmd:~ Indudillvlhe inJ.thoentl~n «Io);l~ JnflJoHl1i1UOll, (ookie r;nr;('jjJtJon key, ~r1d ywd CGl nests .
Notl~lIt1ol'l Alitmtlll1nl!on k2nfilnIJ:I'l StlNl!"f F'al'3rrn:i&!]
R~OOltOt't1&lr Admlf)~tmtiotl
--_._-_.~~,-~.-.-. __ ._-~~~
Configl1i1!' ContEnt 5eN~r flMammro, 1l1dudifl!i Ul~ "'j-rupport" dtr~ry ljfU.- p!tlix, the Cofltel'lt ~lNu Admillliliilhlr !la~motd a(ld e.lrlall acld!~, all.d 9.1ob~1 'rJSt'f tnteriacII;: prderattc:es.
• License Overview
• License Management
• System Fingerprint
• License Report
8. Click the license Overview tab on the left under Options, if the tab
is not automatically displayed.
License Overview The Content Server License Overview summarizes the features of
your Content Server license:
Manage Ucenses
Ac:I:i'I>! Users' 2
Status Displays the current license Status of the Content Server system.
Status values can be Valid, Invalid or Unlicensed. See Table C-l and
Table C-2 for additional details.
Product Name The product licensed by the license (i.e" OpenText Content Server).
Company Name The name of the company that the license is issued to. The
maximum length of the name is 100 characters.
Obtaining a License File To obtain a license file, via the License Management tab, click the
provided Product Activation link (i.e.,
http://productactivation.opentext.com/ContentServer) and follow
the provided on-screen user instructions.
Manage Licenses
Ucell5e Management
Ucense Ovetlliew Description: Please select a Wcense file 1;0 be applied In Content Server. A license file can be
acquired by Visiting the OpenText prodlldact:ivation website for ConlentServer.
lk;o:l1Se Management
Product Activation: bltp,!lpmductact:!yatioo.opentext.;;wr!ConlenISelVer
System Rngerpritlt Ucense Location:
Ucerl$8 Report I
10. Click the System Fingerprint tab on the left under Options.
Manage licenses
Invalid System Fingerprint In the unlikely event that changes in your database causes your
System Fingerprint to become invalid, your license status will
appear as Invalid Fingerprint on your Content Server License
Overview.
11. Click the License Report tab on the left under Options.
license Report The License Report page displays detailed information on your
Content Server license, including your End User Code, System
Unique Identifier (SUID) and System Fingerprint.
Manage Ucenses
System Fingerplint
When the Content Server system has been licensed, it will report
the same information previous discussed in the License Overview
section.
Manage Ucenses
Ucense Report
Oesaiption: To produce thl~ report please select lhe "Generate Report" button below, The content of the
generated lIcense "'vort is shown below.
COntent seNer license Information
System fingerprint Ueense Status:
Product Name: OpenText content server
LieMsed Version: 10,5,X
Product VerSion: 10.5.0
Urens. Type:
OJmp,my Name: OpenText Learning Sefllle•• TrainIng Use Only
Explralion Date: No Expiration
Active Users: J
End Usar Code: EU0025397
12. To generate an XML copy of this report, click the Generate Report
button. You will then be prompted to save the resulting
LicenseReport . xml file to disk
License Information
Status: Valid
Product Name: openText Content Server
Product Version: 10.5.0
License Type: Non-production
Company Name: OpenText Learning Services Training Use Only
Expiration Date: No Expiration
Licensed Users: soo
Active Users: 120
FigureC-8: SUlD: 48382-38294
End User Code: EU0025397
license Information in Thread Log Licensed Version: 10.5.x
Status: Unlicensed
Product Name: WebReports
Product Version: 10.5.0
License Type: N/A
Company Name: N/A
Expiration Date: N/A
Licensed Users: N/A
Active Users: o
The XML file contains the same license information found on the UI
(with an additional report hash or file checksum value) as illustrated
below.
~",l.i<:"''''''''Rep<lre",
,.<feat\lre>
<l"rocluctNal'llI':>OpenText com;ent $e:r:ver</P:t;o<:h-lct!1tmte>
<Lieel\lIe$t-at US} Vl\Ud</ l,icelli\le5tatu:ll:>
<Llcen"",dVersion>10 •S , x<1 LlceneedVe/Z"'lon;>
<P>:'OclUOtVel:''il 10n>10, 5,0<1 Produ.cl'Ver" iou>
<LicomseTl'pe:>Non-Production Licen:le</LioenseTl'pe>
<Comp,myN<\l1\e:>OpenText Lear;nlng S'I:l:viqes 1);l;l.lnlug ti':lH~' Only-</Col\1l'onyName:>
<£xpir... t lonOat;e:>No £xptrM 10n<1 Expitat; 1Qn1late>
<Lieelll"'~dU:!ler">SOO</Lloen"edUller:!l>
Figure C-9: <Aot iv"U""".'I:> H 0<1 Act. hreD""rs>
<EndUs",n:od":>EtIOOZ5397-,jr:ndU",,r;Code>
<SUIJ»~S3a2-38Z 9~ <ISUrD>
LicenseReport File <Syso:emF1l'9""l,rlnt.>4D21l6197</SY!'ltemFinq"",-pr;oiM>
</feature>
l'<Fea"ure>
<ProduotN<'l.l:lW>liIliliReport,,<!Pcoducl;Neroe>
<Seat us> unli",,,,n:.-ed<1 Sta.t.U(l>
-(/Feat;\lt:e>
",-<p"poct-Il(Ulh>
O$EuPcilllWay2Zt-TP9RjXG611115RZolllqr76ilt-6V7J)zq17Q/rqdRcSSliyOivGjDOlmY'llg'<::,SZtZliIk1JHehdJtDzu-'"
</R"'FQrur"",h>
</Licel'lseRellQl:t>
Module Not Licensed by By default, the WebReport module is not licensed in Content
Default Server 10.5, as illustrated in the figure below from the Manage
Licenses Administration page.
Ucens.e f-tlfl.i!lgen\!nt
pmduct Name; OpenHxt Content Serv~r
XML Import of WebReports The WebReport module must also be licensed in order for users to
XML import WebReport nodes or objects. Since XML import
creates new nodes, the behavior is the same as users experience
with the GU I interface.
Exception With Packaged There is an exception to the generaI rule of not being able to run
Applications like Records WebReports in an unlicensed system.
Management
Applle<otlollS M.nagemoot
Some Applications like Other packaged applications, for example the OpenText Report
Report Pack Need Module Pack for WebReports, is also packaged using CSapps, but it requires
Licensed the WebReport module to be licensed. CSapps is a packaging layer
that sits on top of the standard Content Server XML import.
~, Manage Licenses
Adlve Userli: 2
~~ Manage Licenses
license Management
Description: Ple~se 5elect ~ license file to be a pplled to Content Server. A kense file (~n be
acquired by visiting the OpenText product activation website for Content Server.
Product Activation: btto:llprorlu<tactN!l!l!>n.o"""t",,t,corniCuntentServer
SystemPlngerprinl Ucense Loca tion:
licen,. Report
The page refreshes and a New License File Details section appears
with information from the license fi Ie that you just opened and are
going to apply.
Manage Licenses
Description: The license me has been validated and is ready tQ be app!led to Content ServH. Existing !lconse
v.!""s will be overwritten by new values as outRned below. Pleaso review these (hanges before
applying the new lkense file.
NfA
6. Click the Apply License File button to apply the License File to the
Content Server installation.
Manage Licenses
This page aUows you to administer the auditing of events in this COntent Server database. You can set up
auditing Interests, qU1!lY the informlllion In the audit J09, or selectively purge Information from the audit
log.
set Auditing lnleresls
DefIne which lWents you want to audit for which iterns in the COnl.ent Server database.
o Added t. Worehou,.
The exercise at the end of this chapter will have you license
the WebReports module, using the provided license file.
licensing Status:
OK
You may eled to track license usage independently without help from WebReports.
To do this dick: SElF-eERTIFY
500
'.'
.. '.
'. , ;
4. Enter 25 into the Certified Number of Users field and select the Self
Certify On.
lise thl; page to to!rtify yClUr <lfganlzali<ll1's number oFWebReparls """'" if you do not want WebReporls to ••slstyou in lroddng usage. This "UIllIre< wililil"" be ••ed as
an altomallve to the WebRepo!t module's own Ifacking me<hanlsrro.
By chedci<lg the "Self Certify" ODlC and did<lng the "Sa•• Changes" botton below you ore agreeing to th. followfog t...... and condition.,
{w..... nt that my organrza~on has ImplemeAlted an auditable tracking proc:ess that complies with tile tenns ofthe end User lkense AgreeAllent (EUiA) governing the
WebRepClfts liun=. I agree that notwithstanding any pmwlon in the EULA it independenlfy and accurately traw the named W<'lhReports usersth.t have been assigned
Content Serur WebReports user licenses. I understand tIl.t Content SelVar u.ers reqUire a WeoReporls liCfllilll For any and all ""eo oFWabReports whats_er. Thl,
indudes but is not limited to: \/lewIng, reading, downloading, e>:polting and editing WebReports; 0' a"...lIlg report:5, do<uments and files that are ge<lOla!ed by
WebReports; Of accessing applKotions that use WebReport:5. r w.rrant that my organiullon's lracklng process will accurately monitor tIlese and all type. of use and will
ensure that named u.er license. are as.lgned In every case. If self certification Is later turned off, I agree t~ relaln the auditable retOfds of users covering the period when
self certmcaijon was In force fur as long as the EULA requires or at least five years if the EULA doe. not <pe<ify .. period.
I warrant that I h~ve th.. autlro1ity to accejlt these tenn. and condlti<lns on behalf of my (lfQaniution and aocepI that by dlecklng th.. ·Sl!1f CertifY" checkbox and didQng
·Save Chang.." below I am agreeing 10 them.
• Enler the number of n:amed ",ers that ha.e been a~gned WebReport!; licenses
• Check tile Self CWlfy Cileckbox
• COck Save Changes
Summary
Exercises
Overview
In this exercise, you will apply aWebReport module License File.
1. Stop any CS10Sb services, if they are running and confirm all of the CS105 services are
running.
2. Select Start> Programs> OpenText Content Server 10.5 (CSlOS) > Content Server
Administration.
3. Enter an Administrator Password of opentext
4. From the Server Configuration tab, click the Manage Licenses link.
5. Log in to Content Server using Admin and a password of cs! and click the Log-in button.
6. On the License Overview tab, confirm that WebReports is unlicensed.
)t' ManageLicen~
License Type,
Manage Ucenses
License Management
Description: P1~ase selecl a llcense fila to be app~ed to Cont*nl Server, Alicense file em be
acqlJfre<! by \'l~itlng Ule OpenT.xt product activation website 1m Content SeNer.
product Attivatian:
Ucense LQcatlon:
~ Manage Ucenses
Ucensed U~rs\ ~O ~
The page will update and show the WebReport license status as Valid.
Manage Ucenses
U<:~Ovet'd~w
status:
Product Name; OpMT!!Xt Conbmt Sflt\ler
11. Click the Show Details link to display additional modular licensing information.
Manage Ucenses
Lk-ensed Vers!o.o:
Prodl..ldVer!jjnn~
l(cense.a US-o!lrs~
A<t1ve U~ers::
Explr.atlon D<lte; No Expiration
12. Restart the CS10S Server service (this makes WebReports available on the Add Item menu
etc.).
13. CI ick the Admin Home link to return to the Admi nistration pages home.
Objectives
On completion of this chapter, participants should be able to:
Overview
This appendix provides an introduction or overview of the Report
Pack for WebReports.
The Report Pack was created with OpenText customers and power
users in mind and how they are using WebReports in their
organizations to collect and summarize large amounts of
information, build bespoke tools and applications to make working
with content easier. The Report Pack also provides a complete
solution for the common requirements of administrators, business
users, managers and developers alike.
Pre-Configured Charts The Report Pack for WebReports delivers pre-configured charts,
dashboards and tools to manage information and content and
includes the following:
• Activity Report
• Category Manager
• Charting Wizard
• Deleted Items
• Duplicate Documents
• Forms Manager
• Projects Overview
• Workflows Manager
Report Access via The individual reports, charts and managers in the Report Pack for
Dashboard WebReports are accessible through a single dashboard, to quickly
access each of the different tools.
Content Server Application Report Pack for WebReports is packaged using the Content Server
Packaging Tool Applications Management packaging tool in Content Server for
quick and easy installation.
OPENTEx"r I COntent5ervef
>
Running Reports via the The easiest way to access these reports is to run the Report Pack
Launcher Launcher [report] located Content Server Applications [volume]
and Report Pack for WebReports folder.
YOOCMIsp«ify\:toe~mat~~l!'ltJ.Ilr.umberofew:rJs:iJ-fOO1\!IIOI'etlUNik0.
cate<JOIY Manager
1liJ:MPOrto!Nble;the;~Md~IWrt5:!NIth!'o'!!!I~~.
AttribI.1eI'i!l!)Kanlb:lbe~Cf~ll'i6Jy~Wi.
ruswrarol~'iQJ.tf~lif=pt.l<Ald>.r.s!lun)"\iU"&m:wd;~aU.~.
Thei:Nrt.1auW:1i1R:~i':~il<!d~llbe~«"~tU:tf.qlifedrfur~
tob.;l~w~~~
---
Dele!edlrems
- \
<,"-~' ~ ~--~ -
111s~~~fie$·~Ifl.;ot~~be.:ndeleted~~~tQbe~tp
:::::.: i
---_._._~
... _~ "·_<_·y._d
Duplkale Doc1JJllenls
1ksnpm!tJcp.;!i~ts.INtOJJt.jfl~~~~~~
T1-i.${o$II1-~ob'~1oons~~il.tmtbe~~~~....m~u-~~to~
ilrd~fflrt,.<Jdd.O(reID(t..e~
""""....
~ltd.~re~ainbe~.H·>'Y.!tm:l{,(ll'f~~.
Figure D-4: Specify the Content Server Category the Report is Going to Run Against
Figure D-5: Category Manager Report Pack Results for the CustomerFeedback Category
~ Category Manager
lli1It
......... __ +1 -! _ .
':
6 3 '2
flo. of amn, \'lith ~ttdbl1to
---:--.....
TYP.H:l - ..... ~---~":"---,---
Q.;l,~II:fNlln"lft ~ . -
Typ<of
-"""
1F;~\_~f by r~o:ln~l}
Ulfll;!WlQl!
-
"
j i @ ?,E!'tioh.wp~dg.; .f 5t.:i!eVlSitor i'd:1ce.Wnd ""Ier Dtwiphoi'ldll, .. l:o:.(fIpl.:;'nt-f'l'
....."'"
S @] J:, Malbgoo ptw,d;r; w«>=~." r~~lilttxt E;>rd·r'I1:~MY... ~.)':'rl1~ol<,:mt - Fr."
:
l E'''''''
a.J CQmWWtlJl rwmMlQD v "".""to< ""100_··· _D4' w,jol}.h bdl._, (Clm:;-birn:- 5,.. .....It<h
) tJ W5t9m«F~ F9ldw -,
, 7
ID CWtomI!! f!@bildi for fl!00ud X.rmf C.;:~... ;;i:ctntT 1)"".
fID Fmr.bp9t 9Qpmar COOI!!lJ:'m? i'il.\TtlMlry.dq; W.. "''''''''... E1.!nO.':a7%on fhrml'l ~1l a~:fum'!"fit U;fJ~lnt·Pr" Enol~
I:
!10
EJi~
L:J~'
~~itar .6'M'tT~t;el'l1t
"' ... Sb"Q-:~:)('J
Pilgelof1(131ona)
•
Page D-6 Content Server WebReport Design I
Appendix C. Introduction to the WebReport Pack
8. Click the Back link in the upper left corner to return to the previous
page.
9. Scro/l down towards the bottom of the Launcher page and click the
By File-Type button in the /tem Usage Charts section.
<'II> fO
E. Default Reportviews
Objectives
On completion of this appendix, participants should be able to:
Overview
When adding a new WebReport to Content Server, the user is given
the option of selecting a default Reportview.
.
~
_
basic]eport This is a no frills report and in terms of speed, it
should be the fastest because it contains less
HTML and fewer sub-tags. If you want a very
simple preformatted report to open in MS Excel,
remove the function menu and other graphics then
set the mime type to application/vnd.ms.excel.
Default Reportviews
browse_flexible_csl0_wi This view mimics the standard Content Server 10
th_sidebar_ajaxJequest folder browse functionality, with added sidebar
s functionality, It uses ajax requests for each
pagination/filter/sort action similar to a core
Folder browser view.
browse_9s_96 This view mimics the Livelink 9.5 and 9.6 folder
browse functionality. It allows the user to perform
Copy, Move and Delete operations on data from
different locations as though it were located
within the same folder.
QPENTEXT
www.opentext.com
2-D117-1051.oo·SG