I'm running CE10. I'm scheduling reports using the .NET SDK. In my scheduling code, I'm trying to set an email notification for when a report either succeeds or fails. I'm having a problem getting it to work. I'm trying to use the Notifications class.
Here is the snippet of code I'm using: RptInfoObject.SchedulingInfo.Notifications.DestinationsOnSuccess.Add("myemail@mycompany.com");
This line of code compiles and executes, but it does not work. Does anyone have some sample code on how to do this? Is there something I'm doing wrong? I know I can set the notification email address through the CMC, but I want to set it dynamically at the time a report is scheduled. Thinking about this more, does setting this apply just to this scheduled job, or to all jobs related to that report object in CE?
Thanks for any help you can provide.
Here is the snippet of code I'm using: RptInfoObject.SchedulingInfo.Notifications.DestinationsOnSuccess.Add("myemail@mycompany.com");
This line of code compiles and executes, but it does not work. Does anyone have some sample code on how to do this? Is there something I'm doing wrong? I know I can set the notification email address through the CMC, but I want to set it dynamically at the time a report is scheduled. Thinking about this more, does setting this apply just to this scheduled job, or to all jobs related to that report object in CE?
Thanks for any help you can provide.