- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 08:06 AM
Whenever a record is open and perform below actions in custom agent workspace but not on console I need to get Info message / some popup message like
"RECORD IS UPDATED" if user updates a record on click of UPDATE button.
"RECORD IS DELETED" if user deletes a record on click of DELETE button.
If anyone knows provide some solution on this?
Solved! Go to Solution.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2022 08:32 AM
hello
you need to write a workspace client script to get the alert when you click on those UI actions
You need to check workspace form button for the UPDATE AND DELETE ui actions and you need to write script like below
You need to check your table name before printing the alert because it might be GLOBAL UI action and this alert will come for all the tables where ever UPDATE OR DELETE IS clicked
function onClick(g_form) {
if(g_form.getTableName() =="your_table_back_end_name")
{
alert('Record udpated');
}
}
please mark my answer correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022 02:32 AM
Cancel and OK button not working for our UI action. We have a dialog box HR suspend dialog when the pop-up is opened and one of the drop down choice is selected.. cancel or OK is not working at all even if we click. Any idea?