Setting and customizing the default destination options for a report

To set the default destination options for a report
  1. Retrieve a report object through the InfoStore query.
  2. Retrieve the destination plugin through the InfoStore query.
  3. Pass the destination plugin as the parameter of the SetFromPlugin method.

    The report now contains the default options of the destination plugin.

  4. Schedule the report.

    The destination options set in the report will override the destination options set in the Job Server.

To customize the destination options for a report
  1. Retrieve a Report object through the InfoStore query.
  2. Retrieve the destination plugin through the InfoStore query.
  3. Change the destination options through the FtpOptions object.
  4. Pass the destination plugin as a parameter of the SetFromPlugin method.

    The report now contains customized destination options.

  5. Schedule the report.

    The destination options set in the report will override the destination options set in the Job Server.

Note:    Do not commit these changes unless you want to change the default settings for the destination plugin.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com