How to add info message for attachment icon in Service Portal

Revathi10
Tera Expert

Hi all,

I am trying to add an info message  for the attachment icon on the Standard Ticket Page. 

Info Message : size limit is 1MB.

I have cloned the 'Standard Ticket Tab' widget . But I am not able to add the info message, could you please help

find_real_file.png

find_real_file.png

2 REPLIES 2

Pavankumar_1
Mega Patron

Hi,

you can create on load client script on your table and select UI Type as All.

Use script  as below.

g_form.addInfoMessage('Please Attach documents with size less than or equal to 1mb');

 

It will display msg when the screen is loaded.

 

Hope you it helps you.

Please Mark Correct/helpful if applicable, Thanks!! 

 

Regards

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

Pavankumar_1
Mega Patron

Hi Revathi, 

Please close the thread by marking it as correct it has created long back and then it will be benefit for the other users.

Mark Correct if applicable, Thanks!! 

 

Regards

Pavankumar

If it helps please click Accept as Solution/hit the Thumb Icon.
ServiceNow Community MVP 2024.
Thanks,
Pavankumar