Adding a Widget/Formatter to Agent Workspace on Madrid

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 08:19 AM
So I want to try to add a custom element on agent workspace. However I'm not sure this is possible yet, I'm not having success so I thought I'd ask.
Here's what I've tried on my PDI;
- Adding a UI Macro, Formatter[type=formatter], and then adding the formatter on the form view "Workspace"
- Adding a UI Macro, Formatter[type=component], and then adding the formatter on the form view "Workspace"
I am not sure if there's a way to add a SP Widget to the form but that would work too.
In anycase if anyone has any ideas let me know.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 02:56 AM
Hello,
I am also facing the similar issue, if you have found the solution, can you please share the solutions.
Thanks
SMD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2019 01:41 PM
Hi there
We have the same issue, and would like to know if you found the solution or recommendation
Thank you
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2019 06:44 PM
I think the only thing you can do right now is to create a Client UI Action which invokes a modal. The modal can show a UI Page or Service Portal page. Here's a sample Workspace Client Script.
function onClick(g_form) { var url = '/custom_ui_page.do?' + 'sysparm_table_name=' + g_form.getTableName() + '&sysparm_number=' + g_form.getValue('number') + '&sysparm_sys_id=' + g_form.getUniqueValue(); g_modal.showFrame({ url: url, title: 'Custom UI Page', size: 'lg' }); }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 08:47 AM
Hi JC, Thanks for the code. This was pretty helpful to have a overlay screen in workspace. However, is there any documentation for the g_modal API? I couldn't find it. I need to understand if i could have a custom dimensions (width & height) defined. Also, if there is property to define its position not being fixed i.e.the agent can move it through the screen