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.
  • This script will populate the File size (in Kb) for any files, including third party documents not processed in Relativity, as well as those that were transferred into the workspace as ‘Links only’ Natives via Integration Points.

Inputs

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

Results

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.