Displays a chat or conversation history.
Set to 1 if the chat is in read only mode. This hides the textbox used to send messages.
Set to 1 if a warning that AI messages could be wrong should be displayed below the text input.
The id to listen for sync events on. Required when the component uses collaborative editing.
Arbitrary value to keep track of the latest client sync moment. This value is sent as the @SyncTimestamp parameter in the 'Client sync' call and should be used to determine what changed since the last sync moment. Required when the component uses collaborative editing.
This call is made when first loading the chat and when loading the chat history.
Chat participants.
The color of the participant's avatar.
Name to show under the participant's messages.
Set to 1 if the message is from an AI model.
Set to 1 if the participant is the user currently viewing the chat.
Id of the participant.
All messages to display in the chat in order from oldest to newest.
Additional columns can be added in the result set, these can be used for passingfields, depends on in chat message links.
Set to 1 if the message can be deleted.
Set to 1 if the message can be edited.
The datetime the message was last edited.
Set to 1 if the message should be displayed as a system message.
Plaintext message. Mutually exclusive with MessageMarkdown.
Unique message id. Must be in a strictly ascending order. Will be used in the Store message and Delete message calls.
Message containing markdown. Mutually exclusive with Message.
An id corresponding to a participant in the Participants table. Mandatory if 'IsSystemMessage' is 0.
The datetime of when the message was sent. Mandatory if the column is present.
Called when the user tries to send a message.
If any messages are returned a partial update of the chat is performed.
Note that partial updates can't be used together with any confirmation message. After the user has clicked OK the whole chat is always reloaded.
Additional columns can be added in the result set, these can be used for passingfields, depends on in chat message links.
Set to 1 if the message can be deleted.
Set to 1 if the message can be edited.
The datetime the message was last edited.
Set to 1 if the message should be displayed as a system message.
Plaintext message. Mutually exclusive with MessageMarkdown.
Unique message id. Must be in a strictly ascending order. Will be used in the Store message and Delete message calls.
Message containing markdown. Mutually exclusive with Message.
An id corresponding to a participant in the Participants table. Mandatory if 'IsSystemMessage' is 0.
If set to 1 the message will be removed from the user interface if present.
The datetime of when the message was sent. Mandatory if the column is present.
Can be used when partial updates are not sufficient.
Can not be combined with the 'Messages' result set.
Set to 1 to trigger a 'Get chat data' call.
Displays a user friendly error message to the user. This blocks any forwarding for the user.
Displays a user friendly confirmation message to the user with a delete button as the confirm button. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Delete'.
Displays a user friendly confirmation message to the user with a question style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly confirmation message to the user with a warning style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly info message to the user. When the user clicks OK the user is forwarded.
Displays a user friendly success message to the user. When the user clicks OK the user is forwarded.
The dialog alias of a predefined dialog to show the user. Must be the first column in the result set table. Use multiple result set tables to combine with other forwarding.
Use the menu item "Admin > Dialogs" to register new dialogs or find aliases for existing ones.
Any column without special meaning in the result set with the first column ADMIN_Dialog will be used to make replacements of placeholders in the message and title text.
Additional information to show the developer when using ADMIN_Dialog.
Alias of the menu group to show after execution (instead of former menu item). This value overrides any destination specified by the query string.
Displays a user friendly error message to the user.
If this column is anything but NULL the popup will be closed and the parent will be reloaded. Only select this column if the menu item is opened in a popup. Avoid using this feature if the opener is a newEdit as that may interrupt the user's ongoing input.
Confirmation message to show.
Message to show (preventing the action).
Changes the text of the Cancel button when used with ADMIN_Force, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete.
Changes the text of the OK button when used with ADMIN_ErrorMessage, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete, ADMIN_InfoMessage, ADMIN_SuccessMessage, ADMIN_Message, ADMIN_Force, or ADMIN_Forward. ADMIN_Force,
This SQL call may use SoftadminApi.SyncEntity_RaiseChanged.
Called when the user tries to save an edited message.
If any messages are returned a partial update of the chat is performed.
Note that partial updates can't be used together with any confirmation message. After the user has clicked OK the whole chat is always reloaded.
Additional columns can be added in the result set, these can be used for passingfields, depends on in chat message links.
Set to 1 if the message can be deleted.
Set to 1 if the message can be edited.
The datetime the message was last edited.
Set to 1 if the message should be displayed as a system message.
Plaintext message. Mutually exclusive with MessageMarkdown.
Unique message id. Must be in a strictly ascending order. Will be used in the Store message and Delete message calls.
Message containing markdown. Mutually exclusive with Message.
An id corresponding to a participant in the Participants table. Mandatory if 'IsSystemMessage' is 0.
If set to 1 the message will be removed from the user interface if present.
The datetime of when the message was sent. Mandatory if the column is present.
Can be used when partial updates are not sufficient.
Can not be combined with the 'Messages' result set.
Set to 1 to trigger a 'Get chat data' call.
Displays a user friendly error message to the user. This blocks any forwarding for the user.
Displays a user friendly confirmation message to the user with a delete button as the confirm button. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Delete'.
Displays a user friendly confirmation message to the user with a question style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly confirmation message to the user with a warning style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly info message to the user. When the user clicks OK the user is forwarded.
Displays a user friendly success message to the user. When the user clicks OK the user is forwarded.
The dialog alias of a predefined dialog to show the user. Must be the first column in the result set table. Use multiple result set tables to combine with other forwarding.
Use the menu item "Admin > Dialogs" to register new dialogs or find aliases for existing ones.
Any column without special meaning in the result set with the first column ADMIN_Dialog will be used to make replacements of placeholders in the message and title text.
Additional information to show the developer when using ADMIN_Dialog.
Alias of the menu group to show after execution (instead of former menu item). This value overrides any destination specified by the query string.
Displays a user friendly error message to the user.
If this column is anything but NULL the popup will be closed and the parent will be reloaded. Only select this column if the menu item is opened in a popup. Avoid using this feature if the opener is a newEdit as that may interrupt the user's ongoing input.
Changes the text of the Cancel button when used with ADMIN_Force, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete.
Changes the text of the OK button when used with ADMIN_ErrorMessage, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete, ADMIN_InfoMessage, ADMIN_SuccessMessage, ADMIN_Message, ADMIN_Force, or ADMIN_Forward. ADMIN_Force,
This SQL call may use SoftadminApi.SyncEntity_RaiseChanged.
If any messages are returned a partial update of the chat is performed.
Note that partial updates can't be used together with any confirmation message. After the user has clicked OK the whole chat is always reloaded.
Additional columns can be added in the result set, these can be used for passingfields, depends on in chat message links.
Set to 1 if the message can be deleted.
Set to 1 if the message can be edited.
The datetime the message was last edited.
Set to 1 if the message should be displayed as a system message.
Plaintext message. Mutually exclusive with MessageMarkdown.
Unique message id. Must be in a strictly ascending order. Will be used in the Store message and Delete message calls.
Message containing markdown. Mutually exclusive with Message.
An id corresponding to a participant in the Participants table. Mandatory if 'IsSystemMessage' is 0.
If set to 1 the message will be removed from the user interface if present.
The datetime of when the message was sent. Mandatory if the column is present.
Can be used when partial updates are not sufficient.
Can not be combined with the 'Messages' result set.
Set to 1 to trigger a 'Get chat data' call.
Displays a user friendly error message to the user. This blocks any forwarding for the user.
Displays a user friendly confirmation message to the user with a delete button as the confirm button. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Delete'.
Displays a user friendly confirmation message to the user with a question style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly confirmation message to the user with a warning style. If the user chooses OK the SQL call will be rerun with the parameter @ButtonAction set to 'Confirm'.
Displays a user friendly info message to the user. When the user clicks OK the user is forwarded.
Displays a user friendly success message to the user. When the user clicks OK the user is forwarded.
The dialog alias of a predefined dialog to show the user. Must be the first column in the result set table. Use multiple result set tables to combine with other forwarding.
Use the menu item "Admin > Dialogs" to register new dialogs or find aliases for existing ones.
Any column without special meaning in the result set with the first column ADMIN_Dialog will be used to make replacements of placeholders in the message and title text.
Additional information to show the developer when using ADMIN_Dialog.
Alias of the menu group to show after execution (instead of former menu item). This value overrides any destination specified by the query string.
Displays a user friendly error message to the user.
If this column is anything but NULL the popup will be closed and the parent will be reloaded. Only select this column if the menu item is opened in a popup. Avoid using this feature if the opener is a newEdit as that may interrupt the user's ongoing input.
Confirmation message to show.
Message to show (preventing the action).
Changes the text of the Cancel button when used with ADMIN_Force, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete.
Changes the text of the OK button when used with ADMIN_ErrorMessage, ADMIN_ConfirmWarning, ADMIN_ConfirmQuestion, ADMIN_ConfirmDelete, ADMIN_InfoMessage, ADMIN_SuccessMessage, ADMIN_Message, ADMIN_Force, or ADMIN_Forward. ADMIN_Force,
This SQL call may use SoftadminApi.SyncEntity_RaiseChanged.
Called when a sync entity change is raised for the entity and id that the component listens to.
If any messages are returned a partial update of the chat is performed.
Additional columns can be added in the result set, these can be used for passingfields, depends on in chat message links.
Set to 1 if the message can be deleted.
Set to 1 if the message can be edited.
The datetime the message was last edited.
Set to 1 if the message should be displayed as a system message.
Plaintext message. Mutually exclusive with MessageMarkdown.
Unique message id. Must be in a strictly ascending order. Will be used in the Store message and Delete message calls.
Message containing markdown. Mutually exclusive with Message.
An id corresponding to a participant in the Participants table. Mandatory if 'IsSystemMessage' is 0.
If set to 1 the message will be removed from the user interface if present.
The datetime of when the message was sent. Mandatory if the column is present.
Can be used when partial updates are not sufficient.
Can not be combined with the 'Messages' result set.
Set to 1 to trigger a 'Get chat data' call.
Updated sync timestamp that will be sent as a parameter to the next client sync call.
The timestamp.
Allows you to validate the SQL parameters before any other SQL is run in the component. This call is only made if the SQL is a stored procedure and Validate parameters is checked.
Use this call to restrict which entries a user is allowed to view and edit, and to log which entries a user views.
Access to a menu item is normally controlled through functions and roles alone but some entities need more fine grained control. For example, a user may have access to the View Member menu item for normal members but not for members with a protected identity.
The menu items a user visits are always logged (in ADMINLogMenuItem) but for sensitive data you may need to log exactly what entries are viewed. Do the logging in this call as the common ways of viewing data (grid and InfoSQL) are not allowed to modify the database.
If you bind a scalar function instead of a stored procedure to this call then its name must end with '_GrantAccess'.