We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

sarah_bioni
ServiceNow Employee

Summary

In the Security Exposure Management (Exposure Assessment) workspace, custom columns added to the Exposure Assessment list (Assess by CVE) are lost when you sort by any column. This article documents the symptom and the validated fix: setting a Column Preference Key on the list component.

 

Root cause

The list component has no Column Preference Key defined. Without a persistent key to store column personalization, the sort action re-applies the default column definitions instead of the user's personalized set, dropping any added columns.

 

Resolution

Assign a stable Column Preference Key to the list component so column preferences persist across sort actions.

  1. Generate a unique key value using a background script:
   gs.info(gs.generateGUID());
  1. Copy the generated GUID from the script output.
  2. Open the page in UI Builder, select the list component (e.g., List 1).
  3. In the Configure panel, locate the Column Preference Key field.
  4. Paste the generated GUID into Column Preference Key and Save.

sarah_bioni_0-1784653839051.png

 

KB: KB1641555

Version history
Last update:
3 hours ago
Updated by:
Contributors