Set native file size field v4

This Relativity script stores the native file size (in Kilobytes), for each case document in a decimal field; used where the field’s value is empty.

This is a case functionality script to be run at a case level.

Special considerations

Consider the following when running this script:

  • This script cannot be undone.
  • The script may run for some time without reporting any progress.
  • This script updates the Document table.


Before running the script, create a decimal field to store the native file size.


Once run, this script updates the Native File Size field with the native file size for any document in the case where the field’s value was empty.