Is it possible to show a custom modal from list view in agent workspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 08:21 PM
I know we can edit multiple items from the list in Workspace. Is it possible to show a modal in the list view in the agent workspace? In below if I click on Escalateee, I want to open a modal view and send the input from modal to some script which process it.. Also is it possible to edit the Fields in the Edit button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2021 10:43 AM
Hi
sorry for my misunderstanding. You are right: UI Actions only apply to form view. For list view you have to define so-called Action Assignments (table sys_declarative_action_assignment)
The problem is, that only for "Implemented as" = "Server script" you can enter JavaScript code. But for "Implemented as" = "Client Action" you just can select one of the predefined Actions.
So I'm afraid the answer is "no" - you cannot create a modal on list views.
But never mind. This only applies to all releases including Paris. From Quebec on Workspace is a legacy application and will be replaced by a new UI experience.
Kind regards
Maik
If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2021 09:31 PM
Hi
Did my reply answer your question?
If so, please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.
If not, please tell me what you are still missing!
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2023 01:54 AM
Is there a way to show alert message when approver approves a record from list view in workspace. I tried onCellEdit Client script in now UI it is working but in workspace it is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2024 03:20 AM
I've followed your tutorial and it works fine with UI Action on a form. But when I try to apply the same logic with a List Action (in my custom workspace) it works only once when the user log in, but after refreshing the page the modal doesn't appear anymore.
The console shows this error :
SCRIPT:EXEC Error while running Client Script "GlideScopedScript": TypeError: Cannot read properties of undefined (reading 'showRecordList')
I use scoped application, and my Registered Scripting Modal is in the same scoped application.
Thanks.