2554-02-02

Reporting service auto generate and sending to e-mail

หลักๆ คืออย่าลืม config e-mail address ใน reporting service configuration ไม่อย่างงั้น เวลาตั้ง schedule แล้วจะไม่มี method sending e-mail มาให้เลือกใช้ โดยเราสามารถ เลือก method ได้หลายแบบรวมถึงการ gen ไว้ที่ folder ที่เรากำหนด แถมยังเก็บเป็น history ไว้ใน reporting service ได้อีกด้วย

create a file share subscription
1. In Report Manager, on the Contents page, navigate to the report you want to subscribe to. Click the report to open it.

2. Click the Subscriptions tab, and then click New Subscription.

3. For the method of delivery, select Report Server File Share from the Delivered by list box.

4. Type a file name for this subscription in the File name text box.

5. Ensure that Add a file extension when the file is created is selected. This causes the report to be saved with a three-character file extension. The file extension is determined by the rendering format you select.

6. In the Path text box, type a Universal Naming Convention (UNC) path to an existing folder where you want to deliver the reports (for example, \\\). Include double backslash characters at the beginning of the path. Do not specify a trailing backslash.

7. Select a render format for file delivery. Choose a format that corresponds to the desktop application that will be used to open the report. Avoid formats that do not render a report in a single stream or that introduce interactivity that cannot be supported in a static file (that is, HTML 3.2, HTML 4.0, or HTML with Office Web Components).

8. In the User name and Password text boxes, specify the credentials required to access the file share, using the format \ for the user name.

9. Specify overwrite options. If you click Do not overwrite the file if a previous version exists, the delivery will not occur if an existing file is detected. If you click AutoIncrement, the report server appends a number to the file name to distinguish it from existing files of the same name.

10. Specify subscription delivery options as follows:

To specify a delivery schedule, click When the scheduled report run is complete and click the Select Schedule button. A schedule page opens.
To deliver the report when a report snapshot is updated with a newer version, click When the report content is refreshed. The schedule used to update a report snapshot determines when your subscription is processed.
Note:
This option is available only for snapshots that are already associated with an update schedule.

11. For parameterized reports, specify parameters to use for the report for this subscription. The parameters can be different from those used to run the report on demand or in other scheduled operations.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น