Notifications

743 views

Description

Using the method promoteColumn() does not make any changes to the table structure.

Cause

Starting with London release, this method no longer works and has been blacklisted.

A method would be blacklisted if its found to have any security issues or its use can have adverse effects on the instance.

The method promoteColumn() is not documented as part of ServiceNow documentation and hence we do not support and strongly advice against the usage of it

Resolution

To promote a field to the parent table you can either:

  • create a new field directly on the parent table and use it as an alternative OR
  • delete the column from the child table and recreate it in the parent table. The recommended way would be to: 
    • Copy data to a staging table via script or export it to CSV or Excel as a backup before deleting the current field. 
    • Delete the field and re-create it where required. 
    • Depending on how you backed up the data, you can run a script to copy it from the staging table or use transform maps to import it from exported files. 

Additional Information

Transform Maps

Delete a field from a table

Article Information

Last Updated:2019-08-12 10:02:01
Published:2019-08-12