When I started looking for how to send an alert to online users I found very few links on this topic. Here they are:
- Send Alerts button on Online Users form

- Send Alert dialog where a user can choose various options

for example, to send the alert by:

Notes:
Name of sender which placed in Subject of the message is taken from appropriate E-mail Templates which chosen in Alert Parameters.
Keep in mind that Alerter Service should be started on the client side in order to receive messages of net send command. If not the class will show the warning but it takes much time to wait for a response from the command.
- Managing alerts on MSDN
- How to Setup Alerts in Dynamics Ax 4.0, on Venkat Raghavan Padmanabhan blog
- Send message to online user in Dynamics AX 4.0 (quick & dirty) on Helmut blog
- and Sending alerts through code without error in Ax, Kamal's response to Helmut
I compiled everything and created the little project AlertFromCode.xpo that can be useful in daily administrator work. A few words about that:
- Send Alerts button on Online Users form

- Send Alert dialog where a user can choose various options

for example, to send the alert by:
- popup window inside AX environment (it can be seen on EventAlertInbox form)

- e-mail to the mailboxes of recipients

- net send command to the computer which the user connected from


Notes:
Name of sender which placed in Subject of the message is taken from appropriate E-mail Templates which chosen in Alert Parameters.
Keep in mind that Alerter Service should be started on the client side in order to receive messages of net send command. If not the class will show the warning but it takes much time to wait for a response from the command.
