How to add info message for attachment icon in Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2022 12:01 AM
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
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2022 04:27 AM
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
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2022 01:42 AM
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
ServiceNow Community MVP 2024.
Thanks,
Pavankumar