Notifications

131 views

Description

Description

When listing a table and massive updates want to be done to the listed records, the "Update Selected" and "Update All" context menu options are used.
A form is displayed after clicking on any of these options. How can fields be added or removed into this form?  

 

 

 

Procedure

When the "Update Selected" or "Update All" option is selected, the _update form of the table is displayed. For example, the URL for the
cmdb_ci_server table will be:

https://my_instance.service-now.com/cmdb_ci_server_update.do?sys_action=sysverb_multiple_update&sysparm_multiple=true&sysparm_nostack=yes&sysparm_query=&sysparm_view= 

 

 

The _updated form that is displayed, is the Default view of that table, so in order to add or remove fields, you need to edit the default view for that table.
Another way to get the sys_id of the form section that is being displayed in the _update form, is using the Browser Developer Tools as the below screenshot shows:

 

 

So, the section for the the cmdb_ci_server table will be:
https://my_instance.service-now.com/nav_to.do?uri=sys_ui_section.do?sys_id=91069a70c0a80164007208e4f0cd6eba 

 

In summary, the solution is: 

  1. Edit the default view for the specific table or get the sys_id of the form section (/sys_ui_section).
  2. Add or remove the fields there. 
  3. Clear the ServiceNow cache (/cache.do).

 

NOTES:
- Use the column name when adding fields to the form. 
- If fields are added,  ensure the column order is correct, if two or more fields have the same column order, then those fields might not be displayed, for example: 

 

 

- Ensure the order of the following two elements are correct,  .start_split    and  .end_split
- Clear cache after modifying the form (/cache.do) 

 

Applicable Versions

All current supported versions. 

 

 

Article Information

Last Updated:2019-08-02 20:37:48
Published:2019-07-29
Screen Shot 2019-07-08 at 11.06.38 AM.pngScreen Shot 2019-07-08 at 11.32.24 AM.pngScreen Shot 2019-07-29 at 10.38.20 AM.pngThis one.png