How to Run a Docentric Basic Report from Code

Let’s say that we need to send an email with three different attachments of which two are Docentric Basic reports; the third attachment is an ordinary static document. We can automate this through the code as shown below.

See also

How to Send a Docentric Basic Report to Multiple Print Destinations >>
Docentric Basic Report Execution Hooks Overview >>
Basic Report Examples >>