Modifying a Pop Up Message

ricmanuel
Kilo Explorer

There exist a pop up message when we export a record list to Excel.   When the pop up message occur the text contains the following:   "Export Complete".   Then below is another text that reads "Are there records from your file?   See: Manage Export Limits for File Export".   We want to get rid of that text in the pop up message.  

 

To produce steps.  

1.   Go to any record list

2.   Right-click and select "Export"

3.   Select "Excel"

 

Our instance is:

Build name: Dublin

Build date: 07-29-2014_1811

Build tag: glide-dublin-09-13-2013__patch5-07-29-2014

 

I checked other Dublin releases and Eureka releases and they do not have the text message that we are seeing.   Any ideas on how to get rid of this message?

1 ACCEPTED SOLUTION

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

I am on Eureka Patch 5 and I do get this message.   Unfortunately this popup is in the server side Java code that you cannot edit.   But it does utilize gs.getMessage() function to localize the messages.   This allows you to change the message to your needs.   What I did to test this is to make the message a single space and the results are:


ServiceNow.png



To replicate this create 3 new message records:


  1. Go to System Localization\Messages.
  2. Click New and enter "Are records missing from your file?" into the Key field and put a single space in the Message field and click submit.
  3. Repeat for "Manage Export Limits for File Export" and "See: "


If you have multiple languages setup in your instance you will need to replicate these records for those languages as well.


View solution in original post

12 REPLIES 12

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

I am on Eureka as well.   Here is a screen shot of my out of the box System Localization table:


find_real_file.png



You may want to right click on your System Localization application header to edit it and ensure that Messages isn't set to false.   It is helps, the messages module takes you to the sys_ui_message table so you can always type in "sys_ui_message.list" in the filter text to be taken to the messages.


My bad!   I did not see this.   I only saw the module System Localization.   I now see the application System Localization but still do not see the Messages module.   My options below.   I did go directly to the table and created the three entries as described and it works like a charm.   Does this break any out of the box code?


find_real_file.png


Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Your instance has definitely been customized as those order values in the 10,000s are not the out of the box values.   You can always recreate it too.


Title: Messages


Application menu: System Localization


Link Type Table: List of Records


Table: Message (sys_ui_message)



Regarding if it breaks out of the box code... it will definitely change the text for any code that utilizes these UI messages.   The whole idea of the UI Messages table is for customers to be able to edit the text of popups, error messages, etc to suite their needs.   Or in your case remove messages that aren't useful.   Since you did edit these out of the box records, they will show as skipped in the Upgrade History if ServiceNow decides to change these records for some reason.   But I wouldn't worry about these.


Thanks for your quick and helpful responses!   Have a great day!


Hello Michael,



Thank you for sharing the information!



This solution worked fine when upgraded our instance from Calgary to Eureka. But now when we upgraded from Eureka to Fuji, the 'Manage record limits for file export' is now showing again though the UI Messages is just a space for all three messages (Are records missing from your file?/Manage Export Limits for File Export/See:).



The server side script doesn't use the UI Messages in the new UI as part of Fuji?



Thanks and Regards,
Santhosh