How to: |
When creating a schedule, you can distribute scheduled output to a single recipient, or to several recipients. If you are creating a schedule to be distributed to several recipients, you may want to create an external distribution file consisting of multiple recipients. The external distribution file can then be assigned to any schedule. An external distribution file is functionally similar to a Distribution List except it is created outside of ReportCaster.
In addition, you can include a password in a Distribution File. If you include a password in a Distribution File, the distribution output is encrypted in a password-protected Zip file if the Zip option is selected. This option is only available if the ReportCaster Server Configuration option, Zip Encryption Password Plug-in, is set to None. When the ReportCaster Server Configuration option, Zip Encryption Password Plug-in, is set to Default or to a custom value, passwords in a Distribution File are ignored because the plug-in provides passwords.
The external distribution file must contain comma-delimited records, where the maximum length of each record is 800 characters. Records must end with a comma followed by a dollar sign (,$). Each record must be typed on a separate line in the file.
To specify a record for a non-burst procedure, use the following format:
distributiondestination,,$
where:
Is a valid email address, FTP file name, or printer.
To specify a record for a burst procedure, use the following format:
distributiondestination,burstvalue,$
where:
Is a valid email address, FTP file name, or printer.
Is a valid burst value for the report being scheduled.
You must not leave the burst value blank. This value is used to name the report file, and if no value is assigned to this parameter, you will receive an error and terminate the distribution.
If you assign a value that includes a keyword or wildcard character that might result in a blank value in one or more instances, code the procedure to assign a special value as a substitute to ensure that all instances of the burst value will not be blank.
Tip: You can specify multiple email addresses within a single record of an external distribution file. For details, see Specifying Multiple E-mail Addresses.
To specify a password for Zip output distribution, include the following statement to enable encryption and record format:
#encryption enabled distributiondestination,burstvalue,password,$
where:
Is the value to be used as the password to access the Zip file.
Note:
mcr@company.com,,XTG2,$
The following is an example of a distribution file that contains the encryption enabled statement and several records that include password values to be passed to the Distribution Server:
#encryption enabled mcr@company.com,England,abcd,$ jsmith@company.com,Australia,rrrAx,$ rable@company.com,France,UtLRzet,$ tom@gadgetco.com,Italy,mOmPP,$
Note: In the Allowed Email Addresses and Domains dialog box in the ReportCaster Console, if the Restrict user input with this list check box has been selected, user input of email addresses is restricted to a list of allowed email domains and addresses. For more information, see Validating Allowed Email Domains and Addresses.
You can configure ReportCaster to automatically delete external distribution files after a schedule runs.