Skip to main content

Share Center

The Share Center is a window where you create tasks that send a report or tiles from the desktop to people by e-mail or WhatsApp, or save them in a folder, at times you set. alameen ERP 10 generates the content itself and then delivers it.

The steps to create a task are in Schedule a report to be sent automatically. This page explains everything in the window and how tasks work.

Opening the window​

  1. Open a file and sign in.
  2. Click Share Center at the bottom of the side menu of the desktop.

Only one window opens. If you click the item while the window is open, it comes to the front. The window takes 80% of the screen each time it opens, and you can maximize it.

On the Share Center item of the side menu:

  • A number badge shows how many tasks failed on their last run.
  • An indicator shows that a task is running now. After Stop it can stay until another task runs or you close the file.

When you close the window, the program saves the view and the grouping you chose, on this computer for the current Windows user.

How tasks work​

  • Where they are stored: in the database of the open file, under the user who created them. Another user does not see your tasks, and they do not appear in another file.
  • Who runs them: the program itself, while it is open. A task is not a Windows scheduled task and not a job of the database server agent. Every minute the program checks your enabled tasks and runs the ones that are due.
  • What must be true for a task to run: the program is running, the file is open, you are signed in, the computer is on and not asleep, and the internet connection works if the method is e-mail or WhatsApp.
  • If the program is closed: no task runs. When you open the file next time, overdue tasks run once at the first check after they finish loading, and then their next time is calculated.
  • Closing the file while the program stays open, or opening another file: the program stops all your tasks, not only the running ones, and their status becomes Canceled. So all tasks show this status after you reopen the file until they run again, and the trace of the last failure is lost. If you exit the program, each task keeps its last saved status.
  • How the content is generated: the program runs the report or tile in a hidden window with the saved options and with your own permissions, exports the result in the chosen format and sends it. Nothing shows on screen.
  • One after another: if several tasks are due together, the others show Waiting to Run until the content of the task before them is generated. If the task before them fails before its content is generated, or you stop it, the tasks behind it stay waiting until another task is run.
  • When the next time is set: after each automatic run, the program moves the next time to the first occurrence of the schedule that falls on a later day. So a task runs at most once a day, even if you choose a repeat every hour or every minute. The Next Run Time column shows the result. The Run command does not change the next time.
  • The first time: when you create a task or change its schedule, the program takes the first time after today's. A daily task starts tomorrow even if today's hour has not come, and a weekly task whose day is today starts next week. To send today, use Run.
  • Two computers: if you open the same file with the same user on two computers, both may run the task, and the message arrives twice.
warning

A scheduled task does not replace leaving the program open on a computer you can rely on. If you want a message sent at a fixed time in the morning, leave the program and the file open.

What you must set up first​

  • E-mail: set up the e-mail account in Program Options > Link > E-mail. The setup steps are in Set up e-mail, WhatsApp and SMS sharing. If the account is a Microsoft account and its sign-in has expired, a notification "E-mail setup error" shows when you open the file, with an Open Settings button. A Microsoft account works in Share Center tasks while its sign-in is valid. When it has expired the task fails and the reason shows in its status. The warning in Share Settings is about the notifications that the database server sends at set times.
  • WhatsApp: set up the WhatsApp account as described on the same setup page.
  • SMS: the method is in the list, but this version delivers nothing through it. See Messages.
  • File Share: nothing to set up. You need an existing folder that this computer can write to.
  • Permissions: the task works with your own permissions. The list of reports in a task is the reports of the program ribbon.

The window​

When there are no tasks, the window shows the message "You have not added any task yet. To get started, press the appropriate button to add a task." and, below it, the buttons of the task types available to you only. Once there is at least one task, the toolbar, the list and the status bar show.

Toolbar​

ButtonWhat it does
New TaskA menu of the four task types. A type is disabled when you have nothing of that kind to share.
EditOpens the one selected task for editing. Disabled if you selected more than one task, or the task is waiting or running.
DeleteDeletes the selected tasks after you confirm. Waiting or running tasks are not deleted.
EnableEnables the selected tasks that are not running, so they run at their time.
DisableStops the selected tasks that are not running from running, without deleting them. Their card fades.
RunRuns the selected tasks now, without waiting for their time. It does nothing for a task that is disabled, so enable it first.
StopStops the selected tasks, and their status becomes Canceled. A message that was already being sent may still arrive. Disabled unless the selection holds a waiting or running task.
GroupingGroups the list by None (default), Type, Next Run Time, Last Run Time, Run Status or Enabled Status.
Select All, Invert Selection, Select NoneTo select tasks.
SearchShows a search box in the list.

The type of a task cannot be changed after it is created.

The task types and when each is available:

TypeAvailable when
Share ReportThere are reports in the program ribbon that are available to you.
Share Desktop TilesYour dashboards hold live tiles of the kinds shown on the home page, other than report summary tiles.
Share Desktop Tile DetailsYou have a tile that shows details.
Share Desktop Summary TileYou have a report summary tile.

Status bar​

It shows the number of tasks and the number selected. At its end are the two view buttons:

ButtonWhat it does
Tiles ViewShows each task as a card. This is the default.
Details ViewShows a table with the columns below.

The task list​

Cards​

Each card shows the task icon, its name, the icon of the share method with the recipients or the folder, and the next run time. A colored bar on the edge of the card marks the type. On the card you see:

  • An hourglass if it is Waiting to Run.
  • An error icon if it Faulted.
  • A thin progress bar at the bottom while it runs.
  • A faded card if the task is disabled.

Point at a card and the tooltip shows the Last Run Result text. Double-clicking a card opens it for editing. The right-click menu: Edit, Delete, Enable, Disable, Run, Stop.

Details​

ColumnMeaning
NameThe task name with the icon of its type.
TypeOne of the four types.
Last Run TimeThe time of the last run, or "The task has not yet run". The Run command updates it too.
Next Run TimeThe calculated time of the automatic run.
StatusThe task status, from the table below.
Last Run ResultThe success message or the reason for the failure.
Enabled StatusEnabled or Disabled.

The right-click menu of a row: Edit, Delete, Enable, Disable, Run. Double-clicking a row opens it for editing. To stop a task in this view, use the Stop button on the toolbar.

Task statuses​

StatusMeaning
IdleA new task that has not run, or one that is not running now.
Waiting to RunIn the queue.
RunningThe program is generating the content or delivering it.
SucceededThe last run finished and the delivery was handed over without error. Its result is "Operation completed successfully".
FaultedThe last run failed. The reason is in Last Run Result. It counts in the badge.
CanceledYou stopped it, or the file was closed while the program stayed open.

The program saves the status and the result with the task, so they are still there after you reopen the file. If a task stays Running or Waiting to Run and nothing happens: for a waiting task, run another task; for one that stays Running, click Stop. It then becomes available for editing again.

The task window​

It opens from New Task or Edit. Its title is the name of the task type. The first six fields are common to all types, followed by the fields of the type. The Options button at the bottom of the window opens the export options.

The Share Report task window with name, share method, recipients, scheduling, format and report

Common fields​

FieldDescriptionRequiredValues and rules
NameThe task name in the list. It is also the subject of the e-mail and the name of the file sent.YesFree text. If it is empty, the program fills it from the report or the tile name when you choose one. With File Share, do not use characters Windows does not allow in file names, such as / or :.
Share MethodHow the content is delivered.YesEmail (default), SMS, WhatsApp, File Share. Changing the method clears Recipients.
RecipientsE-mail addresses or phone numbers. Not shown with File Share.YesType the address or number and press Enter to make it a token. For e-mail, type @me to put the e-mail of your user card. Invalid addresses and numbers are not accepted. The program remembers what you entered before so you can pick it from the list.
FolderThe folder where the program saves the file. Shown with File Share only.YesClick the field button to choose a folder, or the paste button to put in a folder path from the clipboard if it exists.
SchedulingWhen the task runs. It shows a text description of the schedule.YesThe field button opens the Scheduling window. The default for a new task is a daily repeat that starts at midnight.
FormatThe format of the file sent.YesDepends on the method and the type. See the next table.

The available formats:

Type and methodFormats
Report (all methods)Excel (default), Pdf
Tiles or one tile, e-mail or fileHtml (default), Pdf, Word
Tiles or one tile, WhatsAppPdf only

When you choose WhatsApp, the format changes to Pdf by itself. With Email and Html, the result becomes the body of the message itself. In the other formats a file named after the task is attached.

What reaches the recipient​

  • Email: one message to all recipients. Its subject is the task name. With an attachment, its text is the open file, the user and the date. With Html, the result is the body instead of that text.
  • WhatsApp: a document in the chosen format, titled with the report or tile name, or the task name for Share Desktop Tiles, to each number.
  • File Share: a file in the folder named with the task name followed by the date and time, such as Sales_2026_03_15__09_00_00_000000.xlsx. The folder must exist when the task runs.
  • SMS: the program generates the content but does not deliver it in this version. The task stays Running until you click Stop.

Share Report​

FieldDescriptionRequiredValues and rules
ReportThe report to send.YesA list of the reports in the program ribbon, sorted by name. Type part of the name to filter it.
OptionsA saved set of report options the task runs with.NoNone, or one of the sets of options you saved for that report. A report with a required condition needs a set that holds it. See Save and reuse report conditions.
WorkspaceA saved layout of the report (columns, grouping, charts) applied to the output.NoNone, or one of the saved workspaces. Only the default view of the report is sent. If the workspace no longer fits the report, the report is sent without it. See Save and reuse a report layout.

The saved values of an options set are used as they are in every run. If you saved a period with fixed dates, it stays the same. If you choose None, the default values of the form are used.

Share Desktop Tiles​

FieldDescriptionRequiredValues and rules
Tiles SizeA size saved with the task. It does not change the size of the tiles in the output in this version.NoDefault (default), Smallest Size or Largest Size.
TilesThe tiles to send.YesA tree with check boxes: your dashboards, their groups and their tiles. Checking a dashboard or group checks what is under it. It has a search box and a right-click menu with Collapse All and Expand All.

The Share Desktop Tiles window with the tiles size and the tree of tiles

Share tile details and report summary​

FieldDescriptionRequiredValues and rules
TileThe tile to send.YesA list of the tiles of that kind in your dashboards. Its name goes into Name if that is empty.

Scheduling window​

It opens from the Scheduling field. Its title is Scheduling.

GroupWhat it holds
TimeStart: the time of day the task runs.
Recurrence PatternThe type of repeat: by minutes, by hours, daily, weekly, monthly or yearly. Beside it are the options of the type.
Recurrence EndNo end date, or End after: a number of occurrences, or End by: a date. The count starts on the day you set the schedule and includes times that were not run. When the schedule ends, Next Run Time shows the year 9999.

The options of each type:

TypeOptions
By minutesevery a number of minute (1 to 1000).
By hoursevery a number of hour (1 to 1000).
DailyEvery a number of day(s), or Every Weekday.
WeeklyRecur every a number of week(s) on: then the days of the week. The first day of the week is the one you set in the program options.
MonthlyDay a number of every a number of month(s), or The first, second... then a day of the week of every a number of months.
YearlyOn a month and a day, or On the first, second... then a day of the week of a month.

The description of the result shows in the Scheduling field after Ok.

The Scheduling window with a weekly pattern every week on Sunday at 8:00 AM and no end date

Export options​

The Options button at the bottom of the task window opens them. The window is titled Options and has two tabs. They are saved with the task after you click Ok in the task window. Cancel in the Options window does not undo a change. To undo it, cancel the task window.

The Page tab​

FieldDescriptionValues and rules
Paper size (inch) (a list without a label)The paper size.The sizes of your default printer, and Custom. The default is A4, or the first size if your printer has no A4.
WidthThe paper width.Enabled with Custom only, in inches. Default 8.27.
HeightThe paper height.Enabled with Custom only, in inches. Default 11.69.
Portrait / LandscapeThe page orientation.Two buttons. The default is Portrait.
Top, Bottom, Left, Right (under Margins (inch))The margins.Inches, at least 0.1. Default: top and bottom 1, left and right 1.25.

The export options window on the Page tab

The Layout tab​

OptionWhat it doesDefault
Fit all columns to one pageShrinks the table so its width fits one page.Off
Center horizontallyCenters the content horizontally on the page.Off
Center verticallyCenters the content vertically on the page.Off
Repeat master dataRepeats the values of the master columns in the detail rows.Off
Group master dataGroups the rows by their master data.On
Export conditional formattingCarries the conditional formatting colors into the file.On
Export all data (Ignore applied filters)Exports all records without applying the filter saved in your options.On

The options of this tab apply to Share Report tasks and have no effect on tasks with tiles. Fit all columns to one page affects Pdf. The page options do not apply to the Html sent as the body of a message.

Messages​

On save​

MessageWhy it appearsWhat to do
Please enter the nameName is empty.Type a name.
Please select recipientsYou added no recipient for a method other than File Share.Add at least one recipient.
Please select folderYou chose no folder for the File Share method.Choose the folder.
Please select reportYou chose no report.Choose the report.
Please select tilesYou checked no tile in the tree.Check at least one tile.
Please select tileYou chose no tile.Choose the tile.
The selected report contains a required field '…'. / Please select one of the saved report options that contains this value.The report has a required condition with no value in the chosen Options.Choose a saved set of options that holds that condition.

In the Last Run Result column​

ResultWhy it appearsWhat to do
Operation completed successfullyThe run finished and the delivery was handed over.Nothing.
Operation canceled.You stopped the task or the file was closed while the program stayed open.Run it again if you want.
Folder '…' does not existThe folder of a File Share task no longer exists.Create it or change the folder in the task.
Some tiles are not on the desktopYou deleted a tile from the task or from your dashboard, or you no longer have permission for it.Edit the task and choose the existing tiles.
The tile is not on the desktopYou deleted the tile chosen in the task.Edit the task.
Report workspace not found.You deleted the chosen workspace.Edit the task and choose another workspace or None.
Predefined report options not found.You deleted the chosen set of options.Edit the task and choose another set or None.
Invalid report configuration.The report form refused the saved conditions, or the report form showed a message of its own, which then appears instead.Open the report, check the saved options and save them again.
Another text from the systemGenerating or sending failed, for example e-mail not set up, an expired sign-in or a lost connection.Check the e-mail or WhatsApp setup and the internet connection, then run the task with Run.

This page applies to alameen ERP 10, version 10.1.79.764.