1. Chat

  • The chat is used for sending short messages between NET Genium users. A message can be sent to a single user with the New message icon at the user's record in the list of users, which opens the chat window with that user, or from the conversation overview. An administrator and a user account administrator can also send it to a whole user group or to all users currently signed in. A message to a whole group or to all signed-in users is not delivered to the sender, even if the sender is a member of the group. A message can also be sent by a script.
  • A recipient who has NET Genium open sees the message within 10 seconds in a dialog with the buttons Reply and Close – but only in a window that is currently visible (not minimized and not in a browser tab in the background) and only when no other dialog with a message or a question is open in it, such as the dialog with the previous chat message. Otherwise the message is shown once the window becomes visible again, or within 10 seconds after the dialog is closed. At the same time, a red badge with the number of received messages appears on the recipient's avatar and the senders are listed in the personal menu. Clicking a sender opens the chat window with that sender. The badge counts the messages the window has picked up since the NET Genium header was last loaded (for example when switching the application group). A hidden window picks up none, and behind an open dialog only the oldest waiting message is counted. A sender disappears from the badge and from the menu once the chat window with that sender is opened – in the window from which the chat window was opened, while in other windows the sender stays until the header is reloaded. Showing or closing the message in the dialog does not decrease the badge. After the header is reloaded, the badge only includes messages that have not been shown yet.
  • Details
    • Showing the message in the dialog marks it as read – even when nobody is looking at the screen at that moment. Opening the chat window with a sender marks all of that sender's unread messages as read, including older ones the window has not loaded yet. Messages sent to all signed-in users that have not been shown are usually marked as read when the application starts.
    • If the recipient has several sessions of an interactive login in the web browser open (for example in another browser or on another device), the message is delivered to each of them. It is usually shown in the dialog only in the one that picks it up first, however – this marks it as read in the other sessions as well, where it is no longer shown and remains in the message history.
  • The chat window shows the conversation with one user from the oldest message at the top to the newest one at the bottom next to the input field, and after opening it scrolls to the last message. The user's own messages are in bubbles on the right, the other participant's messages on the left. Consecutive messages from the same sender no more than 5 minutes apart are grouped under one name, and the messages of individual days are separated by the date. Older messages are loaded by scrolling to the beginning of the conversation or with the Load older messages link. The Send button (or the Enter key) sends the message and the window stays open. The Shift+Enter keys start a new line. New messages from the other participant appear in the open window within 3 seconds and showing them there marks them as read – they are therefore not shown in the dialog. A link in a message is underlined and opens in a new browser tab, in the chat window, in the dialog of a received message and in the message history.
  • Details
    • The window loads new messages only while it is visible. If the end of the conversation is not visible in the window at that moment, the window does not scroll to the new message by itself and shows the Unread messages link below the conversation, which scrolls to it. The sender's name and the time of messages that were still unread when loaded into the window are highlighted in red.
    • On a mobile device, the Enter key does not send the message but starts a new line – the message is sent with the Send button. The Ctrl+Enter keys send the message both on a computer and on a mobile device.
    • A web address typed into a message as plain text is turned into a link when displayed, if it starts with “http://”, “https://” or “www.”.
    • Messages from the user with whom the chat window is open suppress the dialog only in the window in which the chat window was opened. A chat window opened in a separate browser tab (for example on a mobile device) does not suppress the dialog in the NET Genium window.
  • If the recipient is not signed in, the message waits and is shown after the recipient's next sign-in.
  • Details
    • Signing in also moves to the new session the messages the user received in other open sessions (for example in another browser or on another device) that have not been shown there yet – they are then shown only in the new session. This does not apply to messages sent to all signed-in users.
    • On a computer and on a mobile device in admin mode, the chat dialog is not shown on a view page, in an edit form or on the main page opened separately by its direct address (without the portal header).
    • A session signed in through Windows from an address with the “autologin” parameter (for example a view page embedded in the Microsoft Teams app) does not receive new chat messages. If the recipient has no other session of an interactive login in the web browser open, the message waits as for a recipient who is not signed in and is shown after the recipient's next interactive sign-in – a notification on the mobile phone is sent for it, however, if the recipient has notifications turned on. Such a sign-in also moves to its session the messages not yet shown in the recipient's other sessions, and they are then usually shown only after the recipient's next interactive sign-in.
  • The history of messages with a particular user opens with the History icon at the user's record in the list of users or with a button in the chat window. The history is sorted from the oldest message to the newest one and after opening it scrolls to the end. A message the recipient has not read yet is highlighted in red. Only the two participants of a conversation can open its history. All messages, or only messages older than six months, can be deleted from the history. Deleted messages disappear for both participants, including messages the other participant has not read yet. The history opened with the History icon at the user's own record contains all messages the user has sent or received, with all users, and deleting from it deletes all of them.
  • Details
    • The history shows at most the 1000 most recent messages. Deleting, however, applies to all messages of the history, including those that were not shown.
    • Messages are stored in the database of the instance, so an administrator can read them by means that read the database directly, such as the “SQL” server function or an external function. Sensitive data, such as passwords, therefore do not belong in chat messages.
    • On a mobile device, the list of users does not show the New message and History icons. Both icons are, however, available in the “Users online” list, which opens by clicking the number of currently signed-in users in the strip above the mobile menu (it is shown only on instances with more than one license and in NET Genium Online, and not to external users in user mode) – the New message icon in it is active only for a session of an interactive login other than the user's own. A message can also be answered with the Reply button in the dialog of the received message, and the history can be opened with the History... button in the chat window.
    • On a mobile device in user mode, the header is not shown, so neither the badge on the avatar nor the senders in the personal menu appear – a received message is shown only in the dialog.
    • If the header shows the name of the signed-in user instead of the avatar (for example with some portal layouts or with a low upper strip of the header), neither the badge nor the senders in the personal menu are shown. Instead, an envelope icon for every sender is added after the user's name in the header, and clicking it opens the chat window with the sender.
  • The overview of all conversations of the signed-in user opens with the Chat item in the personal menu at the avatar (only on instances with more than one license and in NET Genium Online). Each row is one conversation with another user – the name, the last message (prefixed with “You:” if it is the user's own), its time and the number of unread messages. A green dot at the initials means that the user is signed in. The conversations are sorted from the one with the newest message. Clicking a row opens the chat window, and a message can be written even to a user who is not signed in. After confirmation, Clear deletes the whole conversation for both participants, just like deleting all messages from the history. The search field filters the conversations by name and below them also offers the other users with whom there is no conversation yet – selecting a user opens the chat window and starts a new conversation.
  • Details
    • A message to a whole user group or to all signed-in users is shown to a recipient as a conversation with the sender, and to the sender as a conversation with each recipient.
    • The overview is refreshed every 10 seconds while it is visible, and after a chat window opened from the overview is closed.
    • The search for a new conversation looks in the login name, full name, first name and surname of all users except the anonymous account and offers at most 20 users.
  • An external user (a member of the External Users group) in user mode cannot start a conversation – the user does not see the list of users online, the search for a new conversation or an active New message icon at a user's record. The user can only reply to a user who has written to them, and the conversation overview shows them only conversations with a received message. If the other participant deletes the conversation, the external user can write to them again once they send another message.

2. Notifications on a mobile phone

A notification is a system alert on a mobile phone (or on a computer) that a chat message has arrived for the user. It is shown even when NET Genium is closed and on the lock screen. Nothing is installed on the device – notifications are handled by the browser and delivered by the service of the operating system vendor (Google on Android, Apple on iPhone and iPad, and in a browser on a computer Google, Apple, Mozilla or Microsoft depending on the browser).

2.1. When a notification arrives

  • A notification only announces that a chat message has arrived. The message itself is shown in the chat dialog after NET Genium is opened. Other events, such as saving a record or receiving an e-mail, do not trigger notifications.
  • A notification arrives for a message that stays unread for 30 seconds. No notification is sent for a message older than 24 hours. Whoever has NET Genium open in a window that is currently visible, with no other dialog with a message or a question open in it, sees the message in the chat dialog within that time – it is thereby read and no notification follows. This also applies to such a window left open on a computer the user has walked away from. If a dialog with a previous message stays open in it, however, further messages are not shown and notifications for them follow, unless the user opens the chat window with their sender earlier.
  • Details
    • For a message written by a process other than the NET Genium web application (for example a script run by the “RunScript.exe” program), the notification is sent only after any signed-in user has the portal open in a window that is visible, the web application sends another chat message to a single user or a group, or it starts again.
  • A message sent to all signed-in users does not trigger a notification.
  • Tapping a notification opens NET Genium. If the sign-in has expired meanwhile, the sign-in page is shown, and the message is shown in the chat dialog after signing in.
  • If the message contains a link into this NET Genium instance – to a record, a new record or a view page (a link to the “Default.aspx”, “Form.aspx” or “ViewPage.aspx” page with the “form”, “id” or “viewpage” parameters, such as the one inserted by the “Send email” script step or copied by the “Link” icon in the page toolbar – pasting the address into the message text is enough) – tapping the notification opens that target directly. Both a relative link and the full address of the instance are recognized – the address from the NET Genium settings and the addresses under which the senders of chat messages and the users whose open portal took over sending the notifications had the portal open since the application was last started. If the message links to several different targets or to none, tapping switches to the NET Genium window that is already open and does not change its page. If NET Genium is not open, the main page opens.
  • If NET Genium is added to the Home Screen as an app, its icon shows a badge with the number of unread messages. The badge is set together with the notification and updated after NET Genium is opened: it decreases once a message is displayed in the chat dialog and disappears when there are no unread messages. The badge is shown by Android (Chrome) and by iPhone and iPad with notifications allowed.

2.2. Turning notifications on

  • Android – it is enough to open NET Genium in Chrome, Edge, Firefox or Samsung Internet, choose Notifications in the personal menu under the avatar and tap the Turn on notifications button.
  • iPhone and iPad (iOS and iPadOS 16.4 and later) – notifications only work in the app added to the Home Screen: in Safari tap Share, choose Add to Home Screen, open the app from the Home Screen and turn notifications on there. Notifications do not work in a Safari tab, so the Turn on notifications button only shows these instructions there.
  • Computer – notifications can be turned on the same way (the Notifications item in the personal menu under the avatar, the Turn on notifications button) in a browser on a computer as well, provided the browser supports web notifications.
  • The app added to the Home Screen has the name “Portal name” from the NET Genium settings and the icon of the instance uploaded to the “Themes” directory (otherwise the NET Genium icon). Notifications carry the same icon. It is described in the guide Layout settings.
  • The browser asks for permission the first time notifications are turned on. Once the prompt is declined, it is not shown again and the permission can only be restored in the browser or system settings.
  • The Send a test notification button on the same tab checks that notifications reach the device. The Turn off notifications button turns them off on the device on which the dialog is open.
  • Details
    • If the test notification reports a successful send but nothing appears on the phone, the browser app itself has notifications turned off in the system settings (on Android: “Settings / Apps / browser name / Notifications”). Granting the permission to the site in the browser does not help – NET Genium reports notifications as turned on, but the system discards them.

2.3. Who receives notifications and where

  • Signing in is only needed to turn notifications on. Notifications then go to the user who turned them on, regardless of whether that user is signed in on the device – even after the sign-in expires and with the browser closed. Signing out does not cancel them. They can be turned off with the Turn off notifications button on the device, or by removing the device on the Notifications tab (see below).
  • Notifications are tied to the browser and device on which they were turned on, not to whoever is currently signed in on it. When a user hands a phone with notifications turned on over to another person, notifications meant for the original user keep arriving on it. Notifications must therefore be turned off before the phone is handed over. When the new user turns notifications on on the handed-over device, the subscription passes to that user and notifications for the original user stop arriving on this device.
  • A user with several devices turns notifications on on each of them, and they then arrive on all of them.
  • An overview of all devices on which the user has notifications turned on is on the Notifications tab of the Change password dialog (the Notifications item in the personal menu under the avatar). For every device the browser and operating system, the date notifications were turned on and the last delivery are shown. The icon next to a device turns notifications on it off from elsewhere – typically for a lost or handed-over phone. The button Send a test notification sends a test notification to all devices at once.
  • Details
    • iPhone and iPad – the Home Screen app and a Safari tab are separate, and a Safari tab does not affect notifications turned on in the app in any way.
    • Android – the Home Screen app and a tab of the same browser share one setting: turned on in the app means turned on in the tab, and turning them off in the tab turns the app off as well.
    • Turning notifications on in two different browsers on one device (for example Chrome and Samsung Internet) makes every message arrive twice. It is therefore enough to turn notifications on in a single browser.
    • Clearing the browser data or removing the app from the Home Screen ends the notifications. They also end when the vendor's service repeatedly refuses to deliver them. The Notifications tab then offers the Turn on notifications button on that device again.

2.4. Security and server requirements

  • A notification carries at most the first 300 characters of the message text without formatting and is shown even on the lock screen. Messages with sensitive data should therefore be worded generally. The content travels encrypted through the servers of Google, Apple, Mozilla or Microsoft.
  • Notifications require a secure connection (HTTPS) with a trusted certificate. In NET Genium available only over HTTP the Turn on notifications button is not shown. The server must be allowed outgoing HTTPS connections to the push service domains fcm.googleapis.com, android.googleapis.com, push.apple.com, push.services.mozilla.com and notify.windows.com, including all their subdomains – it does not itself have to be reachable from the internet.