UI Window to upload spreadsheet in workspace

MarkM1172412930
Tera Guru

We have a UI Action on Change Management that will take an excel spreadsheet an upload the data to the change request. We followed the following years ago and it works in the Standard UI with no issues:
UI Action to open Dialog Box for a file upload - ServiceNow Community

 

We are now trying to convert this to be used in the Service Operations Workspace. I have the following code for the Workspace script:

var ui_page_id = 'cfea686713383f0496295d322244b083';
    g_modal.showFrame({
        url: '/ui_page.do?sys_id=' + ui_page_id,
        title: 'Bulk Add New CIs',
        size: 'xl',
        height: 500
    });
 
The problem is this does not upload anything to the record. When I click the button it also gives me a message stating No task ID defined.
 
Wonder if anyone has ideas how this can be used in the Service Operations Workspace.
0 REPLIES 0