WebReports Administration Guide
WebReports Administration Guide
LLESWEBR230200-AGD-EN-01
WebReports Administration Guide
OpenText™ Content Server
LLESWEBR230200-AGD-EN-01
Rev.: 2023-Feb-18
This documentation has been created for OpenText™ Content Server CE 23.2.
It is also valid for subsequent software releases unless OpenText has made newer documentation available with the product,
on an OpenText website, or by any other means.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
One or more patents may cover this product. For more information, please visit https://www.opentext.com/patents.
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
Part 1 WebReports Administration 5
Important
The WebReports module is installed with Content Server but not enabled by
default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
Before you can provide access to WebReports, first ensure that WebReports is
enabled. For more information, see “Enable WebReports” on page 12.
2. On the Administer Object Privileges page, in the Object Privileges area, scroll
to the WebReport object type and click the Restrict button .
Note: The WebReports module is installed with Content Server but not
enabled by default. It can be enabled according to your licensing
agreement with OpenText. If you have recently upgraded and
WebReports features are not available, you may need to enable the
WebReports module. For more information about how to enable
WebReports, see “Enable WebReports” on page 12. If WebReports
features are not available after enabling the module, please contact
OpenText Customer Support.
3. In the Perform Action dialog, click OK to confirm that you are aware that no
users can create any WebReports until you add users to the Edit Group for
WebReports.
4. On the Edit Group: WebReports page, follow the OpenText Content Server -
Content Server Administration Guide (LLESWBA-AGD) procedure.
After the WebReports module is enabled, you can disable it, as described in “To
Disable the WebReports Module” on page 13.
After enabling standalone WebReports, you can change the number of WebReports
licensed seats, as described in “To Change the Number of WebReports License
Seats” on page 13, or you can change the authority name for your WebReports
licensing, as described in “To Set the Authority Name for your WebReports
Licensing” on page 14.
Notes
2. On the Enable WebReports page, in the WebReports section, select the Enable
WebReports check box.
b. In the Authority Name box, enter the name of the person who is
authorized to confirm licensing for your organization.
a. In the Standalone WebReports License Seats box, enter the new number of
licensed seats that your organization has purchased.
b. In the Authority Name box, update the name of the person who can
confirm the additional licensed seats.
Notes
Notes
• You are not required to provide a licensed seats count in the Standalone
WebReports License Seats box.
• The Standalone WebReports License Confirmation section only
appears if there is a positive value for the Licensed Seats parameter.
3. Click Save Changes.
When the Install Requests.js Library page loads it is pre-populated with default
values.
– If this is left blank, the installer will include JavaScript code to obtain the
values using information available in the URL during loading of the
requests.js file into the client.
– If you provide a value, the case of the value must match what a user
would type, or else it can cause problems with any requests that expect
specific responses. For example, if you provide /CS/cs.exe, using
uppercase CS, and a user tries to sign in with /cs/cs.exe, using
(lowercase cs), the sign in attempt will fail.
3. Click Install.
• FTP
• Category
Maximum Categories
Mandatory. Drag the slider or enter a number to determine how many
categories a user can select to report on.
Note: The larger this number is, the more complex is the query sent to
the database in cases where a user selects the maximum number of
categories.
Attributes to Display
Mandatory. Drag the slider or enter the number of selectable attributes to
present on each row on the WebReports data source configuration page (not
in the report itself).
Delimiter Character
Mandatory. Enter the character used to separate multi-values that are
returned by a report.
Maximum Results
Mandatory. Drag the slider or enter a number to limit the results returned by
all reports using Category as a Data Source. Any results higher than that
number will be discarded.
Important
The WebReports module is installed with Content Server but not enabled by
default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the module,
please contact OpenText Customer Support.
2. On the Manage Source Settings page, provide the information listed in Manage
Source Settings on page 15.
• Email
Set the maximum character length for a destination email address.
• FTP
At the recommendation of OpenText Customer Support, configure the FTP
destination, logging, timeout, and command interval settings.
Enable WebReports FTP Destination
On a new system, FTP Destination is disabled by default. On an existing
system, FTP Destination is disabled unless there is at least one WebReport
with an FTP Destination set.
When disabled, users cannot configure WebReports to use an FTP
destination. Any reports with an FTP Destination set will return an error
when run.
3. Optional In the Email area, move the Email slider to set the maximum character
length for a destination email address.
• To enable FTP logging, select the FTP Log Enabled check box.
• To set the maximum time an FTP command will run before timing out,
move the FTP Timeout slider.
• To set the amount of time to wait before retrieving the next line during a
socket read, move the FTP Command Interval slider.
5. Optional In the Export Media Types section, do one or more of the following:
• To add a media type, on the last row, click the Add Row button , and, in
the text box, type the name of the new media type.
• To change the name of an existing media type, edit the name in the Media
Type box.
• To remove a media type, on the row for the media type that you want to
remove, click the Delete Row button .
Notes
2. Optional On the Manage Global Scripting Settings page, in the Global Scripting
Settings section, do one of the following:
• To enable OScript globally, in the Enable Globally area, select the Oscript
Enabled check box.
• In the Allowed Oscript Packages area, do one or more of the following:
– To remove an OScript package, on the row for the OScript package that
you want to remove, click the Delete Row button .
– To add an OScript package, on the last row, click the Add Row button
, and in the text box, type the name of the OScript package to be
added.
• In the Allowed Oscript Functions section, do one of the following:
– To remove an OScript function, on the row for the OScript function that
you want to remove, click the Delete Row button .
– To add an OScript function, on the last row, click the Add Row button
, and in the text box, type the name of the OScript function to be
added.
• To enable OScript for that WebReport, select the Oscript Enabled check box.
• To disable OScript for that WebReport, clear the Oscript Enabled check box.
• Name
Mandatory. Set the name for the secure constant.
• Value
Optional. Select the Change Value check box to enable the Value boxes to set and
confirm the secure constant value.
Notes
– Changes to this value are only saved if you select the Change Value
check box.
– This value is saved to the secrets repository that is FedRAMP-complioant.
• Description
Optional. Enter a description of the secure constant.
• WebReports and ActiveViews that can use the secure constant
Optional. Specify one or more WebReports or ActiveViews that can use the
secure constant.
c. In the Enter Value box, enter the value for the secure constant.
d. In the Verify Value box, re-enter the value for the secure constant.
f. In the Node box, click the Select WebReport or ActiveView button and
browse to a WebReport or an ActiveView that can use the secure
constant.
h. Go to 3.
• To add another secure constant, on the row for the previous secure constant,
in the Actions column, click the Add secure constant button .
• To edit a secure constant, on the row for the secure constant that you want to
edit, do one or more of the following:
– To change the value of the secure constant, select the Change Value
check box and enter the new values in both the Enter Value box and the
Verify Value box.
– To add another node, click the Add node button , then click the Select
WebReport or ActiveView button and browse to a WebReport or an
ActiveView that can use the secure constant.
– To delete a node, in the Node Actions column, click the Delete node
button .
• To delete a secure constant, on the row for the secure constant that you want
to remove, go to the Actions column and click the Delete secure constant
button .
Notes
• You must restart Content Server after you make changes on this page.
• Disabled tags can no longer be added to a WebReport or an ActiveView
template.
• Any existing reports that use a disabled tag or sub-tag will not process that
tag or sub-tag.
2. Optional Scroll through the Tag list and perform one or more of the following:
• In the Disabled Tags column, click the row for any tag that you want to
enable and then click the Add button or click Add All to enable all tags.
• In the Enabled Tags column, click the row for any tag that you want to
disable and then click the Remove button or click Remove All to disable all
tags.
3. Optional Scroll through the Sub-Tag list and perform one or more of the
following:
• In the Disabled Sub-Tags column, click the row for any sub-tag that you
want to enable and then click the Add button or click Add All to enable all
sub-tags.
• In the Enabled Sub-Tags column, click the row for any sub-tag that you
want to disable and then click the Remove button or click Remove All to
disable all sub-tags.
5. Restart Content Server services to ensure that your changes take effect.
Notes
• For security purposes, do not add C:* as a valid file path to either whitelist,
as that would make system files available as data sources or as destinations.
• To use an External File as a data source or a destination of a WebReport, the
file path must be included in the appropriate whitelist.
Consider the following criteria for valid file path entries in the whitelists:
• You can enter filename paths as a comma-separated list or as one path on each
line.
• To minimize the number of entries required, use of the asterisk (“*”) wildcard
character in the path.
• Matching is case-sensitive.
• Some examples of valid file paths include the following:
2. On the Manage Trusted Files page, in the Trusted External Files for Data
Sources box, enter a filename path for the external file that you want to add.
Important
For security purposes, do not add C:* as a valid file path to this whitelist,
as that would make system files available to be used as a data source.
Notes
3. Click Apply.
2. On the Manage Trusted Files page, in the Trusted File Paths for Server Export
Destination box, add a trusted destination file path.
Important
For security purposes, do not add C:* as a valid file path to this whitelist,
as that would make system files available to be used as a destination.
Notes
3. Click Apply.
Important
• The WebReports module is installed with Content Server but not enabled
by default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
• If you have enabled WebReports and you still cannot see the Manage
Source Settings link, please restart Content Server.
2. On the Manage User / Group WR Triggers page, select the Enable User /
Group WR Triggers check box.
3. In the Enable User / Group WR Triggers: table, in the User / Group column,
click the here link to add an individual User Group WR event that will trigger a
WebReport and then perform the following steps:
a. To apply the trigger to one or more specific users or groups, do one of the
following:
• In the User / Group column, click the Choose User or Group button
to select the user or group.
• In the Global column, select the check box to specify all users and
groups.
b. In the Trigger Event column, on the list, select the event that will trigger
the WebReport. You have the option to click Select All to choose all the
trigger events available.
c. In the Inheritance list, select either Direct Members or Direct and Indirect
Members.
d. In the WebReport Action column, click Browse Content Server and select
the WebReport to run for the current trigger condition.
e. Optional The +/- column allows you to do one of the following:
• Click the Add Row button to add a new row for another trigger
event.
• Click the Delete Row button to delete the current row and trigger
event.
4. Click Apply.
Notes
Tip: To manage global Oscript settings that affect all WebReports, use the
Manage Global Scripting Settings page.
• Email
• Content Server Node
• Content Server Version
• Server
• Workflow (as an attachment)
If you want to use the external conversion feature, you must configure options on
the Manage WebReports Conversion page, which can be found in the WebReports
Administration section of the Content Server Administration page.
The Manage WebReports Conversion page allows you to add, view, or modify
information about the WebReports conversion directories. These directories are used
in conjunction with a conversion tool, such as Adlib eXpress, to allow WebReports
to perform exports in PDF or other formats.
If you want to enable XML Job Tickets, select the Check this box if you would like
to use XML Job Tickets... check box, and then you have the option to provide
detailed processing directives using an XML Job Ticket file. This XML file can be
stored in Content Server with individual WebReports either sharing a single Job
Ticket file or each providing their own processing instructions. For more
information about XML Job Tickets, see the Adlib website (https://www.
adlibsoftware.com).
If you enable the use of XML Job Tickets, you have the option to specify two
additional conversion directories:
• Input Directory (when using XML Job Tickets), which should contain the
WebReports intended for conversion.
• Output Directory (when using XML Job Tickets), which will contain the
converted WebReports.
Notes
• For conversion to be enabled, you must specify the first set of Input and
Output conversion directories. If you enable XML Job Tickets, you have the
option to specify additional XML Job Ticket Input and Output directories.
These are useful for servers running multiple instances of Content Server
using different conversion methods. Current versions of Adlib eXpress
support either conversion with Job Tickets or conversion without Job Tickets,
not both simultaneously.
• If you are only using XML Job Ticket conversion, you must provide paths for
the following fields:
• WebReports uses the Content Server cache to determine the destination for each
converted file. Since any cache has a finite life, it is possible, although unlikely,
for converted files to be in the output folder that relates to an expired cache. For
example, if you are exporting and converting on a system with disabled agents
on all servers, the backlog of files will not be cleared unless there is a valid record
in the current cache. In this case WebReports has lost the destination location and
will not know where to send the files. Cache expiry is set to 120 minutes, by
default, but can be increased as required. If the cache expires, the job cannot
complete and you should delete or manually process the converted document as
required.
• Content Server agents are used to look at the output folder and check for a
converted file every five minutes. This means agents must be enabled for
conversion to function.
• The amount of time it takes for a file to appear in the export destination may
vary, depending on the system, from nearly instantaneous to 30 minutes.
Influencing factors include the following:
• You can specify the folders at a network location as a UNC. For example: \\192.
168.255.20\disk1\PDF Conversion\input
– Define the input directory on every instance in the cluster because an export
may come from any instance in a cluster.
– Define the output folder on the instance that is running the WebReports
conversion agent because that instance is the only one that monitors the output
folder.
Note: It is, however, good practice to specify the output folder on all
instances of Content Server in the cluster.
d. Rather than appending the new file extension onto the old one, replace the
source type file extension, for example .html, .doc or .xls, with the
destination file extension, for example .pdf.
Notes
• This interval contributes to the amount of time it takes for the converted
file to appear in the destination folder.
• The default setting is 300 seconds, or five minutes.
4. In the Directories area, do the following:
Important
The operating system account that runs the Content Server service
must have permission to write a file to the input folder and to delete a
file from the output folder.
5. Optional To configure Adlib eXpress Job Ticket conversion, in the Job Tickets
area, select the Use Adlib XML Job Tickets check box and provide the
following mandatory directories:
a. In the Input Directory box, enter the XML Job Ticket input directory to use
when files are converted using XML Job Tickets.
b. In the Output Directory box, enter the XML Job Ticket output directory to
use when files are converted using XML Job Tickets.
6. Click Save Changes.
7. If you have changed the Conversion Agent Sleep Interval or any of the Input
or Output directory paths, restart Content Server.
Notes
• Multiple users can use the scheduling agent to set multiple schedules on the
same WebReport.
• After setting new values for an agent with a new values, you must restart
Content Server.
If any Scheduling Agent Sleep Interval is less than 300 seconds, on the Properties >
Destination tab for that WebReport, you can manually enter a Minutes value for the
scheduled report. This allows for more granular control of how often the WebReport
will run.
For example, to configure a WebReport to run every two minutes, set the
Scheduling Agent Sleep Interval to 120 seconds. Save the change and restart
Content Server. On the Properties > Destination tab for that WebReport, select the
appropriate destination, select the Set Schedule check box, and then click the Enter
Minutes (0-59) option. Now that the Minutes box has become a text box, enter the
value of 2 to have the WebReport execute every two minutes.
If you are unsure about how to configure Change Agents for your particular
Content Server instance, please contact OpenText Support.
• The WEBREPORTS table stores WebReports schedule information. This table has
two column keys: USERID and NODEID, where NODEID is the node ID of the
WebReport.
• An additional table called WEBREPORTSTATS is created when the module is
installed or upgraded.
5. Optional If you have set the Sleep Interval to a value less than 300, you must
access the Properties page for the WebReport and do the following:
• Content Server
• E-mail
• Server
• Workflow
• Form
• FTP
c. Select the Set Schedule check box.
d. In the Every area, click the Enter Minutes (0-59) option.
e. In the Minutes box, enter the amount of time (in minutes) that defines the
repeat interval on which WebReports will run. For example, if you entered
120 in the Scheduling Agent Sleep Interval box, enter 2 in the Minutes box
to have the WebReport execute every two minutes.
f. Click Update or Apply.
2. Optional On the Manage WebReports Schedules page, each row in the table lists
a schedule set by one user for one WebReport. For each schedule, you can do
one or more of the following:
• Disable the schedule by clearing the Enabled check box. This will retain the
schedule information, but the report will not run until a user or
administrator re-enables the report.
• Enable or re-enable a disabled schedule by selecting the Enabled check box.
• Delete a schedule by selecting the Delete Schedule check box.
To make use of the Search Query Integration feature, you should also do the
following:
• For one or more WebReports, on the Properties page, on the Source tab, set the
data source type to Search Query Launch.
• For each WebReport with a Search Query Launch data source type, set the
permissions so that only appropriate users can have access.
• The enable option is server-specific and is stored in the opentext.ini file. You
can use this file to restrict Search Query Integration to a specific Content Server
instance.
Conversely, if you require the same behavior for all servers in a cluster, you must
enable the feature and set the button text for all servers in the cluster. You could
achieve this by copying the same opentext.ini file to each server.
• On the Manage WebReports Search Integration page, the WebReports With
Data Source Set to Search Launch list is only editable when:
a. Select the Enable integration with the Advanced Search page check box.
b. In the Button Title box, enter an appropriate name for the custom search
button.
a. In the Search Slice box, enter a positive integer to set the number of results
retrieved for each call of the search API.
Changing this setting will impact the performance of WebReports that use
search as a data source. In general, this setting should only be altered upon
advice from OpenText Support. The default is 300.
b. In the Search Hard Limit box, enter a positive integer to set the maximum
limit on the number of results that any WebReport using search as a data
source can return. The default is 50 000.
c. Optional To add extra debug information in the thread log when executing
WebReports using search as a data source, select the Search Debug
Enabled check box.
4. Optional To make optimal columns available to webreports that use search as a
data source, in the Additional Search Columns section, on the last row, click
the Add Row button and do the following:
a. In the Search Column Name box, enter the name of the column that will be
returned by the search.
b. In the Output Name box, enter the name of the column as it will appear in
the output.
5. Click Save Changes.
6. If you have changed the Enable integration with the Advanced Search page or
the Button Title parameters, restart the Content Server service.
Note: The WebReports With Data Source Set to Search Query Launch
list is only editable when Search Integration is enabled and you have set at
least one WebReport's data source type to Search Query Launch. For
information about how to enable Search Integration, see “To Enable Search
Query Integration” on page 33.
Important
• The WebReports module is installed with Content Server but not enabled
by default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
• If you have enabled WebReports and you still cannot see the Manage
Source Settings link, please restart Content Server.
For more information about WebReports Services, see OpenText Content Server -
WebReports User Guide (LLESWEBR-UGD).
WebReport Services
In the Enable / Disable WebReports Services area, select the Disable
WebReport Services Feature check box to disable WebReports Services and
clear the check box to enable it.
Restrict the use of a tag or sub-tag by WebReports Services
In the Restricted Services area, do one of the following:
• Restrict the use of one or more tags or sub-tags by moving them from
the Enabled Tags list to the Disabled Tags list.
In the Enabled Tags list, click to select one or more tags or sub-tags and
then click Add. To move all the tags or sub-tags, click Add All.
• To re-enable the use of one or more tags or sub-tags by moving them
from the Disabled Tags list to the Enabled Tags list.
In the Disabled Tags list, click to select one or more tags or sub-tags and
then click Remove. To move all the tags or sub-tags, click Remove All.
• Require a secure token for the use of one or more tags or sub-tags by
moving them from the Not Secure list to the Secure list.
In the Not Secure list, click to select one or more tags or sub-tags and
then click Add. To secure all the tags or sub-tags, click Add All.
• To release one or more tags or sub-tags from the secure token
requirement by moving them from the Secure list to the Not Secure list.
In the Secure list, click to select one or more tags or sub-tags and then
click Remove. To move all the tags or sub-tags, click Remove All.
If you enable WR Triggers for a node type, the WR Trigger Properties tab will
appear for all nodes of that type. If you disable WR Triggers for a node type, no
code associated with WebReports will execute for that node type and the WR
Triggers option will not appear in the function menu for that node. If you disable
WR Triggers for all node types, WR Triggers has no performance cost associated
with it.
Important
• The WebReports module is installed with Content Server but not enabled
by default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
• If you have enabled WebReports and you still cannot see the Manage
Source Settings link, please restart Content Server.
• To ensure that WR Trigger data is also copied when a node is copied, in the
Copy Settings area, select the Maintain WR Trigger data on copy check
box.
• To set which node types can have WR Triggers applied to them, in the Node
Types area, in the Available list of node types, click to select one or more
node types to which you want to apply WR Triggers and then click the Add
button. To select all node types, click the Add All button.
• To remove WR Triggers functionality from a node type, in the Selected list
of node types, click to select one or more node types from which you want to
remove WR Triggers and then click the Remove button. To select all node
types, click the Remove All button.
• The WebReports module is installed with Content Server but not enabled
by default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
• If you have enabled WebReports and you still cannot see the Manage
Source Settings link, please restart Content Server.
To maintain functionality, use this page to update the selected nodes to use new
syntax that fixes known issues. Any nodes that continue to use out-of-date syntax
may not work as they did in previous releases. This page adds a new version to the
updated nodes. If the post-update results are not as expected, you can roll back the
update by deleting the new version on the Version property tab of each updated
node.
Important
• The WebReports module is installed with Content Server but not enabled
by default. It can be enabled according to your licensing agreement with
OpenText. If you have recently upgraded and WebReports features are not
available, you may need to enable the WebReports module. For more
information about how to enable WebReports, see “Enable WebReports”
on page 12. If WebReports features are not available after enabling the
module, please contact OpenText Customer Support.
• If you have enabled WebReports and you still cannot see the Manage
Source Settings link, please restart Content Server.
Error messages will appear on the WebReports Sub-tag Builder page if one or more
sub-tags in the WebReports Ospace, or one or more sub-tags in the subtags folder,
are invalid and do not compile.
If your installation of WebReports has not been updated since loading the module
and you still see error messages on the WebReports Sub-tag Builder page, please
contact OpenText Support and inform them of these errors.
For information about custom sub-tags, see “Custom Sub-tags” on page 38.
Use ordinary text documents to create your own sub-tags and place them into a
folder on the server. This allows you to generate sub-tag features customized for
your needs that you can include in your WebReport reportview and use just like any
other sub-tag. There are no restrictions on what you can code in a custom sub-tag
because they are located on the server. This means that OScript packages that are
normally blocked for use in a WebReport reportview with server-side scripting are
available in a custom sub-tag. This results in a WebReports sub-tag that behaves just
like any other sub-tag that is packaged with WebReports. A sample custom sub-tag
called sample.txt is located in the <Content Server_home>\appData\webreports
\subtags folder on the server where you installed Content Server. Use this file as a
template to build new sub-tags and save them into the same folder. In addition,
there is an associated <Content Server_home>\appData\webreports\subtags\
sample.txt.json file that provides configuration for the sub-tag. This sample.txt.
json file is required for sub-tag functionality.
Notes
• To make the new custom sub-tags available, you must restart the Content
Server service.
• To test that your sub-tag code compiles correctly, use the Content Server
Administration > WebReports Administration > WebReports Sub-tag
Builder page. For more information, see “WebReports Sub-Tag Builder”
on page 38.
// Calling the "dataAs..." casting functions will operate on the data passed
to the sub-tag
// from any previous tags (.fData), provided the functions are not passed a
specific value to cast.
// For the [LL_REPTAG_'2' ADDINTEGERS:3:4 /] example this is operating on the
tag literal integer 2
// from [LL_REPTAG_'2'
if ( IsDefined( value3 ) )
.fData += value3
end
else
end
return this
end
This will create a custom sub-tag called ADDINTEGERS. The sub-tag takes
between one and two arguments and adds them to the value in the main
tag, returning the total. The code contains error handling, so if any of the
arguments are not integers, an error message will be returned instead of the
total.
4. Save the updated addintegers.txt file.
Notes
Call the new custom sub-tag from any WebReport reportview as follows:
This means that WebReports are subject to all of the administrative options that
would normally be available for Content Server documents. In particular, any
document administrative options, such as Administer Item Control, will also apply
to reportview files. For more information about these other Content Server
functions, see the following topics:
Reportview files are fully indexed, allowing them to be located using the search
facility, though most users will not have read permissions. For more information
about reportviews, see the following topics:
For information about WebReports settings references in the OpenText.ini file, see
OpenText Content Server - Content Server Administration Guide (LLESWBA-AGD).
Because it is sometimes desirable for users to execute multiple versions of the same
WebReport, all versions of cached files are maintained in this folder. You can delete
the contents of this folder at any time. These files are created as soon as any user
runs a WebReport for the first time.
As an administrator, you can modify the template list by adding additional custom
reportviews to the appData directory. For more information about creating custom
reportviews, see OpenText Content Server - WebReports User Guide (LLESWEBR-UGD).
You might want to adapt or add new custom reportviews for the following reasons:
For more information about the default reportviews provided with WebReports, see
OpenText Content Server - WebReports User Guide (LLESWEBR-UGD).
In addition to permissions for the WebReport itself, any user running the
WebReport must also have See Contents permission for the associated data source,
which is specified when the WebReport is first created or later using the Properties:
Source page.
Notes
If left unvalidated, the Parameter tag can create Cross-Site Scriping (XSS)
vulnerabilities in a WebReports reportview or in an ActiveView template. For
example: if you place a Parameter tag inside an HTML input field or in a JavaScript
block, but the parameter is unvalidated, the resulting syntax could be vulnerable to
XSS. To illustrate, consider the following code:
<input type="hidden" name="count" value="[LL_REPTAG_&count /]">
In this case, the [LL_REPTAG_&count /] tag is replaced with the value of the count
parameter from the request. This syntax is vulnerable to XSS because the count
value is not validated. The count parameter value could contain HTML syntax to
terminate the HTML input field early and inject additional HTML tags, including a
<script> block.
As with any other web development, the users developing WebReports reportviews
and ActiveView templates are responsible for validating their Parameter tags
because they understand the context of how the parameter is used. The following
list includes several sub-tags that are available to help validate the passed values:
The Tag Guide, available from the ActiveView Online Editor, provides a full listing
of the available sub-tags as well as full details for each sub-tag.
The WebReports module includes Content Intelligence widgets for use in Smart
View. For information about configuring widgets using Edit Page mode in Smart
View, see the Help available in Smart View. For information about creating
Perspectives, setting Perspective rules, and configuring widgets using the
Perspective Manager tool, see the Help available in the Perspective Manager. For
information about how to configure Content Intelligence widgets, see OpenText
Content Server - Widget Configuration Guide (CSAV-CWG).
To configure this:
This page lists workflow maps that have the WebReports package enabled and that
have at least one WebReport attached.
manifest file
Details the Content Server nodes and support files that make up the application.
XML file
Contains an export of the Content Server nodes included in the application. If
the application does not contain any Content Server nodes, then it will not have
an XML file.
applicationfiles folder
Contains the application's support files. If the application does not contain any
application support files, then it will not have an applicationfiles folder.
Note: In older applications, this folder was named support.
supportcollateral folder
Contains the support files from other support paths on Content Server. If the
application does not contain such support files, then it will not have a
supportcollateral folder.
subtags folder
Contains the application's sub-tag drop-in files. If the application does not
contain sub-tag drop-in files, then it will not have a subtags folder.
properties folder
Contains the application's properties files. If the application does not contain
properties files, then it will not have a properties folder.
Applications Management
Tip: Alternatively, you can reach the Applications Management page from
Enterprise > Applications Management.
• “Installed Content Server Applications” on page 63 lists details available for the
installed applications.
• “Available Actions” on page 64 lists the actions available for each application.
Name Name of the application. Only alphanumeric characters (A-Z and 0-9) are
allowed. All non-alphanumeric characters, such as hyphens, underscores,
and spaces are not permitted.
Version Version of the application.
Description Description of the application.
Content Server Indicates that Content Server components have been installed for the
components application.
installed
Modified since Indicates that the application status has changed since it was installed.
installed
Unmodified Indicates that the application status is unchanged since it was installed.
since installed
Default launch Displays the default launch component for the application.
component
Available Lists the actions available for each application. For more information, see
actions “Available Actions” on page 64.
Name Name of the application. Only alphanumeric characters (A-Z and 0-9) are
allowed. All non-alphanumeric characters, such as hyphens, underscores,
and spaces are not permitted.
Version Version of the application.
Description Description of the application.
Contains Indicates that the application contains WebReports nodes and that no
WebReports application license is required.
nodes; No
application
license
required
WebReports Indicates that the application contains WebReports, but that WebReports
will be enabled is not enabled. WebReports will be automatically enabled if you install the
when this application.
application is
installed; No
application
license
required
Available Lists the actions available for each application. For more information, see
actions “Available Actions” on page 64.
Available Actions
Clean up For both installable and installed applications, opens the Clean Up
Application page where you can run the cleanup process to fix corrupt
applications. It completely removes the selected application and copies a
fresh version to staging for reinstallation. For more information, see
“Cleaning up a Content ServerApplication” on page 82.
Define special For installed applications, opens the Define Special Components page,
components which lists the WebReports that are part of the application. You can set a
WebReport as a launch component, an initialize component, and assign
nicknames. For more information, see “Defining Special Components for a
Content Server Application” on page 77.
Delete For installed applications, opens the Delete Application page where you
can delete the application. For more information, see “Uninstalling or
Deleting a Content ServerApplication” on page 80.
Download zip For installed applications, provides a button to download a ZIP file
file containing the selected application. For more information, see
“Downloading the Application ZIP File” on page 82.
Install For installable applications, opens the Install Application page, which
allows you to install the selected application. For more information, see
“Installing a Content Server Application” on page 75.
Rebuild For installed applications, opens the Rebuild Application page, which
allows you to rebuild the application. For more information, see “Building
or Rebuilding a Content Server Application” on page 65.
Uninstall For installed applications, opens the Uninstall Application page where
you can uninstall the application. Uninstalled applications are moved to
the staging folder and can be reinstalled. For more information, see
“Uninstalling or Deleting a Content ServerApplication” on page 80.
Upgrade For installed applications, if a more recent version of the application is
available, opens the Upgrade Application page, which allows you to
upgrade the selected application. For more information, see “Upgrading a
Content Server Application” on page 78.
View For both installable and installed applications, opens the View
Application Application page, which provides more details about the application,
such as a list of the Content Server source objects. For more information,
see “Viewing a Content Server Application” on page 76.
Rebuilding an application
will update any WebReports
reportviews and ActiveView
overrides in the application
to use the [LL_REPTAG_
SUPPORTASSETDIR /] tag
instead of the [LL_REPTAG_
APPSUPPORTDIR /] tag. It
will also copy all the
application support files to
the application Support
Asset Folder in the Support
Asset Volume.
Rebuilding an application
will copy all of the
application properties files to
a properties folder within the
application Support Asset
Folder in the Support Asset
Volume.
When you build or rebuild a Content Server application, the following actions will
occur when you click Submit:
• When building a new Content Server application, a folder for the application will
be created in the <Content Server_home>\appData\webreports\csapps\
csapplications directory on the server.
• When rebuilding an existing Content Server application, the folder for the
application in the <Content Server_home>\appData\webreports\csapps\
csapplications directory on the server will be deleted and replaced with a new
version reflecting the entries on the Rebuild Application page.
• If the Content Server application contains application files, then they will be
copied to a folder in the support directory located at <Content Server_home>
\support\csapplications\<application_name>.
• If the Content Server application contains properties files, then they will be
copied to a folder in the support directory located at <Content Server_home>
\support\csapplications\<application_name>\properties.
• When rebuilding an existing Content Server application, the folder for the
application in the support directory on the server will be deleted, if it exists, and
replaced with a new version reflecting the entries on the Rebuild Application
page.
Notes
• You can no longer define Support Files or Support Paths when you build a
Content Server application. If your application uses any bespoke support
files that are not in the Content Server build, you must place those files in the
Support Asset Volume > Support Asset folder for your application. You can
access the support files in the Support Asset folder using the [LL_REPTAG_
SUPPORTASSETDIR /] tag in an ActiveView template or a WebReports
reportview.
• You can no longer manually add properties files when you build a Content
Server application. If your application uses any bespoke properties files, you
must place those files in a properties folder within the Support Asset
Volume > Support Asset folder for your application. You can access the
properties files in the Support Asset folder using the
APPPROPERTIES:<ApplicationName> sub-tag in an ActiveView template or
a WebReports reportview.
Note: The Rebuild Application page for the application will be pre-
populated with data from the existing build of the application.
5. In the Version Number box, enter, or change, the version number for this
Content Server application. For example, “1.0”.
6. Optional In the Content Server Source Objects box, click Browse For Source
Object, select a Content Server node to add to your Content Server application,
and then click the Add Row button to select multiple nodes.
7. Optional To add one or more sub-tag files to your Content Server application, in
the Sub-tags area, do the following for each sub-tag:
Note: If the required tags or sub-tags are not found on the target system,
the Content Server application will not be installed.
10. Optional In the ActiveView Override Type Dependencies list, select one or more
ActiveView override type dependencies to add to your Content Server
application and then click the Add Row button .
Note: If the ActiveView override type(s) is not found on the target system,
the application will not be installed.
11. Optional In the INI Settings area, add one or more INI settings to your Content
Server application:
Note: If the INI setting(s) already exist(s) on the target system, its/their
value will be overwritten by the Content Server application's value during
the installation process.
4. On the Install Application page, do one or more of the following and then click
Submit.
• If the Content Server application contains Content Server nodes, then the
form contains the Target Container box. To browse to a Content Server
source object where the Content Server nodes for the application will be
installed, click Browse For Container.
• To see details of actions that will be performed on the target system by the
installation process, click Preview.
5. Click Submit.
The View Application page lists the following information about a Content Server
application.
Name Description
Application Name Name of the Content Server application.
Application Description Description of the Content Server
application.
Version Number Version of the Content Server application.
Content Server Source Objects Lists the Content Server nodes contained in
the Content Server application.
Support Files Lists the support files for the Content Server
application.
Support Paths Lists the support paths used by the Content
Server application.
Sub-tags Lists any WebReports sub-tags that are
included in the Content Server application.
Module Dependencies Lists any module dependencies by their
name, version number, and update number.
Tag / Sub-tag Dependencies Lists any tag and sub-tag dependencies.
ActiveView Override Type Dependencies Lists any ActiveView override type
dependencies.
INI Settings Lists any keys that the Content Server
application has written to the opentext.
ini file.
Properties Files Lists any properties files included in the
Content Server application.
Validate Source Code When Installing or Boolean for whether the source code must be
Upgrading Application validated when installing or upgrading.
Launch Component If defined, lists the WebReport that is set as
the Content Server application’s launch
component. The Applications Management
page will include a link to the launch
component for the application.
Name Description
Initialize Component If defined, lists the WebReport that is set as
the application’s initialize component that
will run when the Content Server application
is installed.
• To assign a unique nickname to one or more of the WebReports that are part
of the application, on the row for the WebReport, in the Unique Nickname
column, enter a unique nickname.
The system validates each nickname upon submission of the form. The
system will generate an error if a nickname is not unique within the
application.
4. Click Submit.
When you upgrade a Content Server application, the following actions occur when
you click Submit:
1. The application folder for the currently-installed version of the Content Server
application is deleted from <Content Server_home>\appData\webreports\
csapps\csapplications.
2. Any nodes that are not in the new version of the application will be deleted
unless they are set to not be deleted by clearing the check boxes in the Delete
column for each application.
3. If the Content Server application contains Content Server nodes, then the
application XML files will be imported. Upon upgrade, any versionable nodes in
the existing application will have a new version added and any new nodes will
be created.
4. If the Content Server application contains support asset files, those files are
copied to a folder for the application within the Support Assets Volume.
6. The Content Server application's manifest file is replaced with a new version. If
the application contains Content Server nodes then the manifest file will contain
the node IDs that have been created on the target system.
7. The application folder for the new version of the Content Server application is
moved from <Content Server_home>\appData\webreports\csapps\
csapplicationsstaging to <Content Server_home>\appData\webreports\
csapps\csapplications.
Note: After any Content Server upgrade, if you use the Physical Objects
reports, Records Management reports, or Security Clearance reports, verify
whether you also need to upgrade these applications.
1. Copy a higher version of the application folder than is already installed to the
<Content Server_home>\appData\webreports\csapps\
csapplicationsstaging directory on the server.
a. Optional If the application contains Content Server nodes that have been
renamed, been moved, or had a new version added to them since the
application was installed, the nodes will be listed in the Nodes that have
been altered since the application was installed table.
To delete the listed nodes when the application is upgraded, select the
Delete check box for the nodes you want deleted.
b. Optional If the application contains Content Server nodes that have remained
unchanged since the application was installed, the nodes will be listed in
the Nodes that have been unaltered since the application was installed
table.
To delete a node from this table, when the application is upgraded, select
the Delete check box next to the nodes you want deleted.
Note: Any Content Server nodes that have been deleted since the
application was installed will be listed in the Nodes that have been
deleted since the application was installed table.
c. Optional To select a target location for the new version of the application,
select the Tick to install a new version of the application in a different
location check box.
If this box is cleared then the application will install to the same location as
the previous version.
d. Optional To see details of actions that will be performed on the target system
by the installation part of the upgrade process, click Preview.
e. Click Submit.
When you uninstall an application, the following actions will occur after you click
Submit:
When you delete an application, the following actions will occur when you click
Submit:
• If the Content Server application contains Content Server nodes that have
been renamed, been moved, or had a new version added to them since the
application was installed, the nodes will be listed in the Nodes that have
been altered since the application was installed table.
To delete a node from this table when the application uninstalls, in the
Delete column, select the check box next to the nodes that you want deleted.
• If the Content Server application contains Content Server nodes that are
unchanged since the application was installed, the nodes will be listed in the
Nodes that have been unaltered since the application was installed table.
To delete a node from this table when the application is uninstalled, in the
Delete column, select the check box next to the nodes that you want to
delete.
Note: Any Content Server nodes that have been deleted since the
application was installed will be listed in the Nodes that have been
deleted since the application was installed table.
4. Click Submit. This will uninstall the Content Server application and move the
application folder for the uninstalled application into the <Content
Server_home>\appData\webreports\csapps\csapplications directory.
• If the application contains Content Server nodes that have been renamed,
been moved, or had a new version added to them since the application was
installed, the nodes will be listed in the Nodes that have been altered since
the application was installed table.
To delete a node from this table when the application uninstalls, in the
Delete column, select the check box next to the nodes that you want deleted.
• If the application contains Content Server nodes that are unchanged since
the application was installed, the nodes will be listed in the Nodes that have
been unaltered since the application was installed table.
To delete a node from this table when the application is deleted, in the
Delete column, select the check box next to the nodes that you want deleted.
Note: Any Content Server nodes that have been deleted since the
application was installed will be listed under Nodes that have been
deleted since the application was installed.
4. Click Submit. This will uninstall the Content Server application and delete the
application folder from the <Content Server_home>\appData\webreports\
csapps\csapplications directory.
On the Clean Up Application page, the Cleanup tool completely removes a Content
Server application from the system, performing the following actions after you click
Run Cleanup.
Notes
The Clean up tool only works for the following applications that are included
with Content Server:
• Deletes the application folder from the Content Server Applications volume.
• Deletes the application from both the Content Server Applications and Content
Server Applications staging directories on the file system.
• Copies the application from the Content Server source files into the Content
Server Applications staging directory on the file system, ready for installation.
After cleanup finishes, it verifies that the system is ready for a new installation of
this application.
Important
For clustered environments, run this cleanup on each server in the cluster
before attempting a new installation.
To download an application, on the row for that application in the Installed Content
Server Applications list, choose Download zip file from the actions list.
Use the Enterprise > Content Server Applications Volume link to work with the
objects in the Content Server Applications Volume.
Tip: Alternatively, you can reach the Content Server Applications page from
the Content Server Applications Administration section of the Content
Server Administration, by clicking Open the Content Server Applications
Volume.
The Content Server Applications Volume is the default destination for applications
built or installed using “Applications Management“ on page 63.