Hi experts,
On Business Central cloud, I have made my own report in my own extension.
I need to add an option for the user to select, if the report should be printed as normal or if it should be sent as an e-mail with a pdf document attched.
I don't want the user to select, where the pdf document should be saved during the process or what file name it should have. When the user selects "Send report as e-mail" on the request page of the report, the e-mail program should pop up with the pdf document attached to a new e-mail, that hasn't been sent yet. Then the user can enter some text and send it manually.
After that the pdf document should only be in the e-mail and not on any disc.
How do I do that?
On Business Central cloud, I have made my own report in my own extension.
I need to add an option for the user to select, if the report should be printed as normal or if it should be sent as an e-mail with a pdf document attched.
I don't want the user to select, where the pdf document should be saved during the process or what file name it should have. When the user selects "Send report as e-mail" on the request page of the report, the e-mail program should pop up with the pdf document attached to a new e-mail, that hasn't been sent yet. Then the user can enter some text and send it manually.
After that the pdf document should only be in the e-mail and not on any disc.
How do I do that?