Problem with Groups.OnGetEmailSettings from within the report designer/RAP
Hi,
When I try and use the Groups.OnGetEmailSettings from within the report (designer/rap) to set the Recipients, Subject, and Body it does not seem to work properly. The Recipients get set properly but the Subject and Body do not get set. In fact, the Subject gets set to the filename of the PDF that is created. If I do the exact same thing in code using the OnGetEmailSettings event, the Recipients, Subject and Body get set correctly. I know they should both work the same regardless of where I code it, but I cannot get it to work form within the report (designer/rap). I have been able to recreate the issues in the EmailGroupDemo. If you could look into the issue that would be greatly appreciated.
When I try and use the Groups.OnGetEmailSettings from within the report (designer/rap) to set the Recipients, Subject, and Body it does not seem to work properly. The Recipients get set properly but the Subject and Body do not get set. In fact, the Subject gets set to the filename of the PDF that is created. If I do the exact same thing in code using the OnGetEmailSettings event, the Recipients, Subject and Body get set correctly. I know they should both work the same regardless of where I code it, but I cannot get it to work form within the report (designer/rap). I have been able to recreate the issues in the EmailGroupDemo. If you could look into the issue that would be greatly appreciated.
Thanks,
Scott
Scott
Comments
I tried this but was unable to recreate the issue using the EmailGroupDemo and the latest version of ReportBuilder. Below is my RAP code and the resulting EmailSettings are correct when passed to the file device. Let me know how I can alter this to see the issue you are getting and I'll research a solution asap.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Strange... The following does not work properly... But, the following does work properly...
At least I'm able to get it to work now. Thanks for your help.
Scott