- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:33 AM
Use case:
I would like to show the variables on top of the task form so that the fulfiller sees what exactly has been requested as they open the form. Now I have them at the very end of the form, forcing fulfiller always to scroll the form down unnecessarily.
Problem:
Even if I have set the variable editor on top of the form definition, it still appears only at the bottom. How to solve?
Solved! Go to Solution.
- Labels:
-
Agent Workspace
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:45 AM
I just tried and added it at the end of the Form Layout and it started showing up.
Seems it is not supported or won't work when shown at the top
Output:
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:49 AM
Thanks, wish there was a button to transfer to HI-case...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:51 AM
Let me know if I have answered your question.
If so, please mark my response as correct & helpful so that this thread can be closed and others can be benefited by this.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2021 06:55 AM
Possibly you can raise HI ticket with ServiceNow on this
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 02:49 AM
I have same issue. But the thing is I have my custom Variable Editor and configured it in my scope applicatiion for Workspace view. But that doesn't work and in any other view variable editor is working but in workspace view custom variable editor is not displaying. Could you please share your thoughts on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 09:17 PM
I have a workaround for this problem where I don't bother including the Variable Editor on the form, instead I add a UI Action to the Workspace as follows:
function onClick(g_form) {
var currentID = g_form.getUniqueValue();
var currentTable = g_form.getTableName();
g_modal.showFrame({
url: '/swp/?id=variable_editor_readonly&table='+currentTable+'&sys_id=' + currentID,
title: 'Submitted Details',
size: 'lg',
height: 450
});
}
All it does is open a new g_modal window with the /swp (bare-bones) portal, calling the OOB variable_editor_readonly page, and passing it the details of the current record. It's good enough as a workaround, but there are constraints around how big the modal can be on the screen etc.
I also played with the idea of trying to get the Variable Editor to render as a Related Item on the record itself (e.g. in a separate tab) but I couldn't find an OOTB UI Builder Component combination that would consistently render the variable editor in a way that allowed scrolling (I'm sure it's possible, but it's VERY hacky trying to get all the macroponent and root element structures to do what you want to do by hand).