How to customize the button to attach a file to a case in WorkSpace

mochildbel2
Tera Contributor

I would like to have a popup when attaching a file to a case in WorkSpace.
So we are considering two ways to customize the file attachment feature.

 

1. display your own popup when attaching a file
In the past, we have customized the classic UI to display its own popup when attaching a file to a case.
There, we were able to display the popup by customizing the client script for the attachment on the UI page.
However, when we did a file attachment to a case in WorkSpace, the popup we implemented in the UI page did not appear.
So I have three questions.
(i)Is the file attachment button in WorkSpace not controlled by attachment in the above UI page?
(ii)If not, in which UI page is it controlled?
(iii)If you are controlling in a location other than the UI page, where is it controlled?

 

2. display strings in an existing modal window that appears when a file is attached
When a file is attached in WorkSpace, a modal window appears displaying the file name. (This is an existing feature.)
We would like to display a specific string there.
The string should read “Is the file uploaded to the correct location? Is the file encrypted?”
So I have one question.
(i) Where can I customize the modal window for existing functions?

 

(3) Other than the above two, is there any other way to display a pop-up window when a file is attached?

1 REPLY 1

Shaza Haroun
ServiceNow Employee
ServiceNow Employee

Hi  mochildbel2,

 

I'd like to know the anser to either of the two options as we need to add more than just a comment.

If you are only after a comment then in UI Builder you can add an event handler to the present event, second handler in the image.