Skip to main content

Send a report by e-mail or message

In this task you send the report on screen as an attachment to an e-mail or WhatsApp message, without saving it and attaching it by hand. The program builds the file in a temporary folder, then the Share File window opens so you can choose the method and the recipients.

Before you begin​

  • Run the report until its result shows in the viewer. See Run a report and read the result.
  • You need the Export Reports permission under Users Management > Operations. Without it the Share page does not appear.
  • The sending account must be set up. The steps are in Set up sharing by e-mail, WhatsApp and messages.
  • Have the e-mail addresses or phone numbers ready. The program does not suggest recipients for reports.
  • If you choose Send as XLSX for a table, select the panel you want to send first: the wizard sends the selected panel only.

Steps​

  1. Click File and then Share.

    The Share page of the report viewer with the buttons Send as XLSX, PDF, RTF, XPS and Image, the Customize button and the Predefined Settings list

  2. To change what the document contains, click Customize (see print options), or choose from Predefined Settings.

  3. Click the format you need:

    • Send as PDF, Send as RTF, Send as XPS or Send as Image: a small window "Creating Document (… Pages)..." appears, then the Share File window opens. The file carries the report name.
    • Send as XLSX with a table or pivot table: a wizard titled Share opens. Choose Layout mode:, Sheet name: and the options, click Next to choose the fields, then Next and Start. When it ends, the Share File window opens by itself. The options are described in the Excel wizard for tables.
    • Send as XLSX with a chart: the program sends the selected panel as a document.
    • Send as PDF and the other formats send the selected panel only. To send every panel of the page, export the file first and attach it yourself.
  4. In the Share File window choose the Share Method: Email or WhatsApp. Add the Recipients: type the address or number and press Enter. The subject of the message is the report title. The fields are described in Share File.

    The Share File window with the share method Email, the empty Recipients field and the Send and Cancel buttons

  5. Click Send. The program disables the button and shows a progress bar until sending ends.

Result​

  • The recipient gets the file as an attachment. The subject of the e-mail is the report title.
  • The Share File window closes on success without a message. If it has closed, sending is finished on the program's side.
  • The program deletes the temporary file afterwards.
  • The program records a Share operation in the report log with the Excel wizards: the table wizard when the file is sent, the pivot wizard when the file is created. It does not record it for the other formats.
  • The buttons offer only the five formats. To send HTML or CSV, export the file first and attach it yourself. See Export a report to Excel, PDF or other formats.

If something goes wrong​

Message or situationWhy it appearsWhat to do
The Share page is missing.You do not have the Export Reports permission.Ask your administrator for the permission.
Please enter recipients.You did not add a recipient in the Share File window.Add an address or number and press Enter.
Sorry, an error occurred while sending the file. followed by the error text.The mail server or WhatsApp refused the sending.See the problems table in Send a document by e-mail or message.
An error occurred while exportingThe Excel wizard failed before the sending window opened.Try again. Details are in the Excel wizard for tables.
A message with only the error text after you click a format.The temporary file could not be created.Check the free space and that the report name has no characters Windows refuses in file names, then try again.
The SMS method sends nothing.The method shows in the window but does not send in this version.Use e-mail or WhatsApp.

This page applies to alameen ERP 10, version 10.1.79.764.