The Distribution tab in the Basic Scheduling tool provides the options available for distributing the report output for the scheduled report procedure (FEX). After selecting the option from the shortcut menu of a procedure, you can distribute a report output using one of the following methods.
Note:
In this section: |
How to: |
Reference: |
When you distribute a report through email, you can include the report in the body of the email (known as an inline email message) or send it as an attachment. Only the DHTML, DOC, GIF, HTML, JPG, PNG, SVG, and WP formats can be distributed as an inline email message.
Note: You must be authorized to distribute by Email in order to create a schedule that uses Email distribution.
Distributing a report as an inline email message is particularly useful when the report is distributed to mobile devices or through email systems that do not support attachments.
You can also distribute a report to a fax machine, as explained later in this section.
Note:
SET FOCEXURL='hostname:port/ibi_apps/'
SET FOCHTMLURL='hostname:port/ibi_apps/ibi_html'
Styling options include:
If using SSL security, edit the URL to specify https.
When you create a schedule that uses email distribution, you can type email addresses in the To field, as shown in the following image.
If you type multiple email addresses in the To field, you can use a semi-colon or comma symbol between each email address, to designate how the Distribution Server delivers information.
If you use the comma symbol to separate email addresses, all email addresses are visible to every email recipient.
The schedule will distribute a report named Sales_Metrics_YTD.htm to these email addresses. When you run the schedule, the log report states that one report named Sales_Metrics_YTD.htm has been distributed to both email addresses through a single email.
If you use the semi-colon symbol to separate email addresses, each recipient only sees their own email address.
The schedule will distribute a report named Sales_Metrics_YTD.htm to these email addresses. When you run the schedule, the log report states that two reports named Sales_Metrics_YTD.htm have been distributed to EmailA@tibco.com and EmailB@tibco.com through separate emails.
You can use the Cc and Bcc options for all types of email schedules. These options allow you to send copies of an email distribution to additional recipients, simplifying the creation of scheduled email distributions.
Individuals in the Cc list receive a copy of emails sent to each party, and their names are visible in the Cc list box included in the email, identifying them as recipients of a copy of the email created by the distribution.
Individuals in the Bcc list also receive a copy of each email sent to each part, but their names are not visible to any other recipient. The Bcc list box is not included in the email when delivered to its recipient. This list is visible only to the sender.
To access this feature in the Basic Scheduling tool, right-click a report, chart, document, visualization, or portal, select Schedule, and then select the Email distribution option to open the Distribution: Email tab, a portion of which is shown in the following image.
After you select one of the distribution options in the Type box, or enter one or more email addresses in the To box, you can add recipients to the Cc and Bcc boxes. You can select the Cc button in the Type column or select any of the other buttons in the Type column to open the Enter Email Addresses dialog box, as shown in the following image.
You can then enter individual email addresses for each party that is to receive a copy of the scheduled output in the Cc box or Bcc box, as shown in the following image.
Email addresses entered in the Cc box are visible to other recipients of the email. Email addresses entered in the Bcc box are not visible to anyone. Unlike the To box, you can separate individual email addresses with commas or semicolons in these two boxes without affecting the way in which copies are distributed to parties in the either list.
When your input is complete, select OK and review the addresses as they appear in the main Distribution: Email tab, as shown in the following image.
In order to access this feature in the Advanced Scheduling tool, navigate to the Action bar and select Schedule. On the Schedule tool bar, select Schedule. On the Advanced Scheduling tool ribbon, in the Show group, select Distributions. On the Distributions tab ribbon, in the Manage Distributions group, click the New arrow, and then select Email. The Distribution dialog box opens, a portion of which as shown in the following image.
After you select a distribution option in the Type box and add email addresses or a distribution file or list to the To box, you can add recipients to the Cc and Bcc boxes as described in the previous paragraphs.
You can use parameters (amper variables) when specifying values in the Email settings of a schedule. These parameters can be system variables, such as &YYMD, or any amper variable for which a value is returned by the Reporting Server when the scheduled procedure is executed. To use the dot file extension separator after a variable, terminate the variable with the '|' character (for example, &YYMD|.htm). Similarly, to use the ampersand character itself, follow the ampersand with the '|' character (for example, Smith&|Jones). If a value for a parameter specified in a schedule is not returned by the Reporting Server when the procedure executes, the schedule will fail with a "No report to distribute" error. If the scheduled task is burst, you can also use the '%BURST' symbol to include the burst value. If the Packet Email setting is Yes, the burst value will not be substituted in the Zip filename.
Note: Variables cannot be used for a Watch List email because a Watch List email is not distributed from a schedule. It is a separate process that has no connection to the WebFOCUS Server.
The Basic Scheduling tool appears.
Or
Click To in order to open the Enter Email Addresses dialog box and enter email addresses for the recipients. You can use this feature if you must also add email addresses to the Cc or Bcc fields. When your updates are complete select OK.
You can specify multiple email addresses in an email address field. Separate each email address with a comma (,) or a semicolon (;). If you separate multiple addresses by comma, the email addresses will appear in the To line of a single email when the scheduled output is distributed. If you separate multiple addresses by semicolons, the single email address of the recipient will appear in the To line of each of the multiple emails sent when the scheduled output is distributed.
Each individual email address can contain a maximum of 130 characters, according to the SMTP specification. The total maximum length of this field is 800 characters. For more information, see Specifying Multiple E-mail Addresses.
Note: You can also use group mail lists (defined on your mail server) with the Email Address(es) option. You can use group mail lists to distribute a report or notification to multiple recipients without having to maintain multiple email addresses in the Repository. The format of the group mail list depends on the mail server being used. For example, if you are using a Microsoft Exchange Server and your group mail list is defined as #group1, you would enter group1@listdomain in the Email Address(es) field. If the group mail list contains a space within its name, enclose the space with double quotation marks ('' ''). For more information, see your mail server administrator.
A Dynamic Distribution List enables you to return in memory, either a list of burst values and destinations, or only a list of destinations from a data source (for example, a flat file, SQL database, FOCUS data source, or LDAP).
When Dynamic Distribution List is selected, the To field is enabled to facilitate the selection of the Procedure Name. Once a procedure is selected, you can pass a parameter on the command line of the fex, as shown in the following image.
For more information, see Creating a Dynamic Distribution List and Generating a Dynamic Distribution List From WebFOCUS Repository Procedures.
Both of these separators cause the distribution server to send the same copy to all parties in the Cc list or the Bcc list.
Or
Use this method if you wish to add a Bcc list. The Bcc list does not appear on the Distribution: Email tab until you enter values in it using the Enter Email Addresses dialog box.
Note:
ReportCaster does not require a value for this field, but your email system may require one.
Note: You can also provide a custom default distribution message using the Email Distribution and Notification settings in the ReportCaster Configuration tool in the ReportCaster Console. This allows you to override the default message, Please see attachment(s), by enabling you to create a custom message specific to your organization. The message displays when creating a schedule using Email distribution. The new message will not affect existing schedules.
Note: When you use the file option, the information can be maintained in one common place. It can also be revised among multiple schedules. There is no size limit to the contents of the file, other than what the email client and server support.
You have the option of converting your distributed report into a password-protected compressed file. By default, the Add Report to Zip File check box is not selected and the report will not be compressed. You can optionally password protect a zipped file by including a password in a Distribution File or Dynamic Distribution List.
Note: Support of Unicode characters in a Zip file name and content within a Zip file on Windows 7 and Windows 2008 Server R2 requires the following hotfix from Microsoft: http://support.microsoft.com/kb/2704299/en-us. Without this hotfix, file names are corrupted after you decompress a .zip file in Windows 7 or in Windows Server 2008 R2.
Typically, a DHTML report distributed as an inline email message will not render correctly. For example, the following image shows a compound report in DHTML format.
The following image shows the previous report sent as an inline email message. The email client does not render the report correctly.
As an alternative, you can use the -HTMLFORM command to distribute a report with multiple table requests as an inline email message.
The following procedure will produce a report that contains two table requests. The procedure is coded with -HTMLFORM
-INCLUDE IBFS:/WFC/Repository/Folder1/car_table1_hold.fex -INCLUDE IBFS:/WFC/Repository/Folder1/car_table2_hold.fex -HTMLFORM BEGIN !IBI.FIL.HOLD2; !IBI.FIL.HOLD1; -HTMLFORM END
The following image shows the result of the -HTMLFORM procedure after it has been distributed by email in HTML format.
For more information about -HTMLFORM, see the TIBCO WebFOCUS® Developing Reporting Applications technical content.
The Email Distribution Options dialog box enables you to view and assign the Mail Server Name, select an SSL connection for the server, select a TLS connection for the server, require authentication for the server, and assign Account Name and Password. Click the Email Server icon to access Email Distribution Options.
Mail Server Name. The name of the mail server to be used by this schedule. The default value is set in the WebFOCUS configuration tool.
This server requires a secure SSL connection. Check this box if the specified mail server uses SSL.
This server requires a secure TLS connection. Check this box if the specified mail server uses TLS.
This server requires Authentication. Check this box if the specified mail server requires authentication with a user ID and password.
Account Name. A valid user ID for the specified mail server.
Password. The password for the specified user ID.
How to: |
This section provides information about distributing scheduled output using File Transfer Protocol (FTP). FTP distribution options can be accessed by clicking the FTP Server button in the Options group on the ribbon. The FTP Distribution Options dialog box is shown in the following image.
If the FTP Server requires SFTP, select the This server requires a secure SSH File Transfer Protocol (SFTP) check box. Select one of the following options to specify an authentication method:
Note:
SET FOCEXURL='hostname:port/ibi_apps/'
SET FOCHTMLURL='hostname:port/ibi_apps/ibi_html'
Styling options include:
If using SSL security, edit the URL to specify https.
Note: You can use parameters (amper variables) when specifying values in the FTP settings of a schedule. These parameters can be system variables, such as &YYMD, or any amper variable for which a value is returned by the Reporting Server when the scheduled procedure is executed. To use the dot file extension separator after a variable, terminate the variable with the '|' character (for example, &YYMD|.htm). Similarly, to use the ampersand character itself, follow the ampersand with the '|' character (for example, Smith&|Jones). If a value for a parameter specified in a schedule is not returned by the Reporting Server when the procedure executes, the schedule will fail with a "No report to distribute" error. If the scheduled task is burst, you can also use the '%BURST' symbol to include the burst value. If the multiple reports are distributed in one archive file, the burst value will not be substituted in the Zip filename.
The Basic Scheduling tool appears.
Distribution List. The report will be sent to all FTP addresses in the selected Distribution List. For more information, see Creating a Distribution List.
Note:
Note:
Without this hotfix, file names are corrupted after you decompress a .zip file in Windows 7 or in Windows Server 2008 R2.
How to: |
The report formats that support printing are DOC, PDF (when you configure ReportCaster to enable PDF to print and the printer has the appropriate driver), PS, and WP.
Note:
Note: You can use parameters (amper variables) when specifying a value for the Printer Name field of a schedule. These parameters can be system variables, such as &YYMD, or any amper variable for which a value is returned by the Reporting Server when the scheduled procedure is executed. To use the dot file extension separator after a variable, terminate the variable with the '|' character (for example, &YYMD|.htm). Similarly, to use the ampersand character itself, follow the ampersand with the '|' character (for example, Smith&|Jones). If a value for a parameter specified in a schedule is not returned by the Reporting Server when the procedure executes, the schedule will fail with a "No report to distribute" error. If the scheduled task is burst, you can also use the '%BURST' symbol to include the burst value.
The Basic Scheduling tool appears.
queue@printserver
where:
Is the name of the printer queue.
Is the host name or IP address of the printer.
ReportCaster can differentiate between the printer queue and the printer host name or IP address due to the presence of the '@' separator. Although ReportCaster supports specifying only the host name or IP address of the printer, we recommend that you specify both the printer queue and host name or IP address when distributing ReportCaster output to a printer. The maximum length of this field is 800 characters.
The Report Library provides secure access to distributed report output stored in the Repository and allows you to save multiple versions of the same report output, set an expiration date, and keep a specified number of versions. The Report Library is only available to users who are authorized to access and view the Library reports in the folder location in which they are stored.
You can send an email notification informing users authorized to access the Library report of its availability. This will notify these users each time a new version is distributed and provide a URL to directly access the new version.
When creating a schedule for distribution to the Report Library, you select the folder to which the report output will be distributed. Using the Advanced button, you can specify a subfolder to which the output will be distributed. If the subfolder does not exist, it is created dynamically during distribution of the initial schedule execution. During subsequent executions of the schedule, reports are distributed to the existing Library item where it is located. You must specify a pattern to be used for the title of the subfolder when the subfolder is created. The pattern can contain text, parameters (amper variables) and, if the scheduled task is burst, the ‘%BURST’ symbol. If the ‘%BURST’ symbol is used, a new subfolder is created for each burst value. You can also select the option to compress a library report when it is stored in the Repository.
You can also specify a Category value to help you further organize the listing of Library reports within the ReportCaster Explorer. In the ReportCaster Explorer, a Category column is available that can be selected to sort Library reports by the Category values.
Note: A Library report in XML format must be opened in a new window.
When scheduling a report procedure (FEX) stored in the Repository, the default folder location to which the report output will be distributed is the same folder location as that of the scheduled report procedure (FEX). When distributing reports to the Library, it is a best practice to create and specify a different folder location for each Library report. This precaution enables you to define and manage secure access at the folder level for report output. It also helps you avoid name conflicts when creating multiple schedules for the same report procedure (FEX), and when running burst Library reports that assign the burst value to the title of each report section that is distributed. The title value is the value that displays in the Resources tree.
For example, consider a Regional Product Sales (Quarterly) report, located in a folder entitled Product Information, that is scheduled to distribute burst reports by region to the Regional Product Sales (Library Reports) Library folder on a quarterly basis. The Regional Product Sales (Library Reports) folder contains a library report for each region value included in the report request results. When creating additional schedules for the Regional Product Sales report, you would create and specify a different folder location for each schedule because the burst report descriptions will use the same region values.
When limiting Report Library distribution to values in an Access List, note the following:
Note: You can use parameters (amper variables) when specifying values for the Library fields of a schedule. These parameters can be system variables, such as &YYMD, or any amper variable for which a value is returned by the Reporting Server when the scheduled procedure is executed. To use the dot file extension separator after a variable, terminate the variable with the '|' character (for example, &YYMD|.htm). Similarly, to use the ampersand character itself, follow the ampersand with the '|' character (for example, Smith&|Jones). If a value for a parameter specified in a schedule is not returned by the Reporting Server when the procedure executes, the schedule will fail with a "No report to distribute" error. If the scheduled task is burst, you can also use the '%BURST' symbol to include the burst value.
For more information, see About Properties in the Basic Scheduling Tool.
For more information, see About Recurrence in the Basic Scheduling Tool.
Note: The schedule is automatically configured to Run Once on the current date and time within the default time zone. To ensure that the schedule will run on the current day, set the time value in the Start field to a later time.
The distribution server uses this information to access the procedure when you run the schedule. For more information about the Task tab, see About Tasks in the Basic Scheduling Tool.
Note: Because the Burst Report process creates separate subfolders for each individual report that uses a different burst value, you will be unable to clear this check box after you create and save the Report Library distribution schedule. If you no longer need to burst your selected Report Library distribution content, you must create a new Report Library distribution schedule that does not select the Burst Report check box.
If not, select Folder Location to open the Browse for Folder dialog box, navigate to the folder that should receive the report output, and click OK.
Note:
and configure the following options as necessary:
Note: If you distribute a compressed report to the Library, consider that this may impact the response time in viewing the report. A compressed report must first be decompressed before it is sent. You should evaluate the benefits of saving repository space against the impact of the time it takes to retrieve a compressed report from the Library.
If you select this option, select Access List and then select an Access List that you are authorized to access from the Open dialog box.
When bursting is selected, you can limit distribution of the burst values to the values specified in the Access List by selecting the Limit distribution to values in Access List check box.
Note: When the Access Option of an existing schedule is changed, it will be applied to all versions of the private Library report the next time a new version is distributed. Access options specified in the Library schedule are not applied to published Library Reports.
Or
Select the Expire after option, and then select one of the following options to specify the expiration limit.
For example, if you specify three versions and the current version is 7, then version 7, 6, and 5 are stored in the library. However, if you delete version 6, then only versions 7 and 5 are stored in the library. If you then distribute version 8 to the library, only version 8 and 7 are stored in the library since you deleted version 6 and version 5 is not among the top three versions.
You can store up to 9,999,999 versions of a report in the library. If you exceed this limit, the new report will not be stored and you will receive a message in the ReportCaster log file.
Note: The actual number of times a report can be run is 2exp(31) -1.
Note:
If you select Always or On Error, then you must also specify the Reply Address, Subject, Brief Message To, and Full Message To.
The Subject field displays the Title of the schedule, by default.
Note: You can configure ReportCaster to not send a link containing a URL. For more information, see ReportCaster Configuration.
Note:
The email message also contains the URL of the report content in the Library.
The number of users who receive an email notification depends upon the value selected for the Access option. If you selected the Owner, Published, or Shared Access option, the schedule owner will be notified by email when the schedule executes and output is distributed to the Library. If the Access option specifies an Access List (Shared With), then each user on the Access List is notified when the schedule executes and output is distributed to the Library. Groups in the Access List are not used to retrieve email addresses. Only listed users receive an email notification.
How to: |
When creating a schedule with Report Library distribution, you can select the Domains folder in the Resources tree as the top-level folder location to which the sub-folders containing library reports will be burst.
You can schedule a library report to be placed in a sub-folder without having to create the sub-folder first. When you schedule a library report to be burst to a top-level folder, the distribution server will automatically create new sub-folders containing the burst library reports.
A library report does not have to be distributed to a single folder. Depending on which sub-folder pattern is used, a user can distribute library reports into multiple sub-folders based on the burst values defined by the chosen variable.
Note: In order to burst library reports to top-level folders, you must be authorized to create new sub-folders in the Domains folder.
The Distribution tab within the Basic Scheduling tool opens.
The Browse for Folder dialog box opens.
The Library Advanced Options dialog box opens.
For more information on WebFOCUS Variables, see ReportCaster Internal Variables.
New sub-folders containing your burst library reports are now created in the Domains top-level folder.
Note: The sub-folder structure is contingent on the variable that is used.
How to: |
When distributing scheduled output to Repository in the Basic Scheduling tool, specify the Repository folder location to which to distribute the report output.
Note: You must be authorized to distribute to the Repository in order to create a schedule that uses Repository distribution. You must also be authorized to distribute content to your selected folder. For more information, see the TIBCO WebFOCUS® Security and Administration manual.
The best practice for recurring and burst schedules is to create and specify a different folder location for each report being distributed for the same report procedure (FEX). This is important so the security access can be defined and managed at the folder level and when opting to burst the distributed report output because the burst value is assigned as the title value to each report section that is distributed. The title value is the value that displays in the Resources tree.
When the report output is distributed using the Repository distribution option, the Day, Date, and Time information is prepended to the Save Report As value specified in the schedule task information. For example, the Schedule for the Product Packaging & Price report is assigned the default Save Report As value 'Product_Packaging_Price.htm' (blanks and special characters are replaced with an underscore character).
The report output distributed to Managed Reporting on Monday December 19, 2011 at 1:35pm EST is assigned the description: Mon, 19 Dec 2011 01:35 PM EST Product Packaging Price.
The Basic Scheduling tool displays in a new window.
The Distribution Server adds Day, Date, and Time to the beginning of the Save Report As value specified in the Task tab.
Verify that the folder location is the folder to which you want to distribute the report output. The folder location defaults to the same folder as the report procedure (FEX) being scheduled. Users can select a different folder to distribute the report output to by clicking the Folder Location button, which will display a dialog box of the Resources tree from which a folder location can be selected, as shown in the following image.
Note: You must also be authorized to distribute content to your selected folder.
The Repository File System Distribution function allows you send reports to a directory accessible by the distribution server. When you distribute to the Repository with the File System configured, you can choose a File System folder, as shown in the following image.
Note:
A user must be granted the Distribute to File System privilege to use this distribution method. In addition, an administrator must use the WebFOCUS Administration Console to configure file system directories for distribution. Users must be authorized to see these folders, which is done by granting users the list command on the File subsystem. For more information, see the TIBCO WebFOCUS® Security and Administration technical content.
Once authorized, a user can schedule content to be distributed to a configured folder.