Control-D/WebAccess Server Transformations
Transformations change reports from one viewing format to another. You can define a transformation for each type of input format, which determines how the report appears, such as the layout and font, when you transform a XEROX report to PDF. Transformation attributes define the rules to modify and convert the input data.
Control-D/WebAccess Server automatically creates transformation modules in the installation process, as described in Predefined Transformation Modules and includes the following inputs:
-
Report data: Reports retrieved from the Control-D Mainframe repository.
-
Resources: Required resources to transform a report, such as fonts and images, saved in the in the \transformer\res folder, as described in Control-D/WebAccess Server Resource Management.
-
Transformation definition: Determines the output criteria, such as output resolution, orientation, and color, as described in Control-D/WebAccess Server Report Cliques.
-
Transformer configuration: Determines the folder paths where the resources and report cliques are saved.
You can also transform reports with a third-party application, as described in Running Control-D/WebAccess Shell Transformations
Control-D/WebAccess Server Web Application retrieves a weekly sales report from a retail company with multiple stores, in CSV format. The Financial Manager needs to transform the report into .XLS format to analyze the report and organize the report according to different regions, and hide confidential information.
The transformation module uses the Txt_P_2_Xlsx_D predefined transformation module, which runs the bmc-ctd-excelconverter.dll program to transform the report. The Txt_P_2_Xlsx_D module also retrieves the resources and transformation definitions, from the file paths defined transformer configuration folder to complete the transformation.
The transformation process is configured in the Control-D/WebAccess Server Desktop and runs in the background when you transform reports in the Control-D/WebAccess Server Web Application.
The user applies a transformation to view the report in an Excel document, and the output report appears. The report now uses a larger font, separates the figures into clear columns for each region, and hides confidential information.
Configuring Control-D/WebAccess Server Transformations
This procedure describes how to configure or add a Transformation in the Control-D/WebAccess Server Desktop, which are related to the specific report transformation process. You can determine the report types and default appearance format for each transformation.
Begin
-
From the Root directory, navigate to the following location:
Configurations > WebAccess Server> WebAccess > WebAccess > Transformers
-
To configure an existing Transformation, do the following:
-
From the Transformers folder, select an item, right-click, and then click Open.
The Transformers window appears.
-
For each field, define the required parameters, as described in Transformation Attribute Parameters.
-
-
To add a Transformation, do the following:
-
From the Transformers folder, select an item, right-click, and then click Add.
The New Item window appears.
-
For each field, define the required parameters, as described in Transformation Attribute Parameters.
-
Transformation Attribute Parameters
The following table describes the Transformation Attribute Parameters.
Attribute |
Description |
---|---|
Default |
Determines whether this transformer is the default transformer for reports with the specified From Extension to use in the transformation process. You can only define one transformer as the default for each From extension. Valid values:
Default: No Reports do not automatically transform when you do not define a default transformer for reports with a certain extension. |
Display Name |
Determines which products appear in the View As drop-down list in Control-D/WebAccess Server Web Application. |
From Extension |
Determines one of the following input report filename extensions to transform. Valid values:
|
Program |
Determines one of the following names of the .dll programs that transforms reports:
|
To Extension |
Determines one of the following output report filename extensions to transform. Valid values:
|
Input Mode |
Determines one of the following access modes of the reports where the transformer applies. Valid values:
Default: Doc The document transforms and now appears as a single report with all pages. Reports decollated with the following CDAM parameters are in document mode:
You must configure ON TRNDSN or TRNCLASS on the Control-D Mainframe when you transform a document that uses page mode. |
Output Mode |
Determines the access mode of report after transformation. Valid values:
Default: Doc. The document transforms and now appears as a single report with all the pages. Transformation to HTML runs in page mode. The document transformation occurs page by page, which enables you to view, print, and send reports. Only reports with input mode set to Page transform to the Page Output mode. For bmc-ctd-si-shell-transformer.dll only Doc mode is valid. |
Param |
(Optional) Determines the following transformation parameters. The bmc-ctd-dal-transformer-engine.dll file does not require parameters. The bmc-ctd-excelconverter.dll file requires the following parameters:
Valid values:
Default: string_with_log The following Excel parameters enable you to transform part of a text report:
|
Predefined Transformation Modules
The standard installation provides the following transformation modules, which appear with their attribute values in following table.
Transformer Name |
From extension |
Input mode |
To extension |
Output mode |
Library module |
---|---|---|---|---|---|
Afp_D_2_HTML_D |
AFP |
Doc |
HTML |
Doc |
bmc-ctd-dal-transformer-engine.dll |
Afp_D_2_Pdf_D |
AFP |
Doc |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Afp_P_2_HTML_P |
AFP |
Page |
HTML |
Page |
bmc-ctd-dal-transformer-engine.dll |
Afp_P_2_Pdf_D |
AFP |
Page |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Pcl_D_2_HTML_D |
PCL |
Doc |
HTML |
Doc |
bmc-ctd-dal-transformer-engine.dll |
Pcl_D_2_Pdf_D |
PCL |
Doc |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Pcl_P_2_HTML_P |
PCL |
Page |
HTML |
Page |
bmc-ctd-dal-transformer-engine.dll |
Pcl_P_2_Pdf_D |
PCL |
Page |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Ps_D_2_HTML_D |
PS |
Doc |
HTML |
Doc |
bmc-ctd-dal-transformer-engine.dll |
Ps_D_2_Pdf_D |
PS | Doc |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Ps_P_2_HTML_P |
PS | Page |
HTML |
Page |
bmc-ctd-dal-transformer-engine.dll |
Ps_P_2_Pdf_D |
PS | Page |
Doc |
bmc-ctd-dal-transformer-engine.dll |
|
Tif_D_2_Pdf_D |
TIF |
Doc |
Doc |
bmc-ctd-si-shell-transformer.dll |
|
Txt_P_2_Pdf_D |
TXT | Page |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Txt_P_2_Xlsx_D |
TXT | Page |
XLSX |
Doc |
bmc-ctd-excelconverter.dll |
Xml_D_2_HTML_D |
XML |
Doc |
HTML | Doc |
bmc-ctd-si-shell-transformer.dll |
Xrx_D_2_HTML_D |
XRX | Doc | HTML | Doc |
bmc-ctd-dal-transformer-engine.dll |
Xrx_D_2_Pdf_D |
XRX | Doc |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |
Xrx_P_2_HTML_P |
XRX |
Page |
HTML |
Page |
bmc-ctd-dal-transformer-engine.dll |
Xrx_P_2_Pdf_D |
XRX |
Doc |
|
Doc |
bmc-ctd-dal-transformer-engine.dll |