Blog

Send an SSRS report by email programatically

You might need to send an SSRS report by email programmatically without showing the user the email options. Just overwrite the preRunModifyContract of your controller class.

Here is the code:

Don't forget to set the controller.parmShowDialog() method to false.

Comments

Hi, Currently I am working on R2 environment. In one of the reports I have followed this approach, but it's showing the email options. Could you tell me how can I skip the email options? Thanks in advance Babu

If you set the method controller.parmShowDialog(false), you shouldn't get the dialog for sure.




Back to Blog

© 2017 Dynaxti, inc. All rights reserved.

Navigation

Social Media