Regenerate Salesforce File Preview

Recently, I began to notice many File records in Salesforce no longer displayed the file preview. When troubleshooting templates for Nintex Drawloop, this became a huge problem. Below is the resolution I stumbled upon:

  1. Navigate to Setup
  2. Go to the search box and enter ‘Regenerate Previews’
  3. Click on the ‘Regenerate Preview’ link
  4. Specify the Record ID of the File
  5. Click the ‘Generate Preview’ button

Note: This solution does not work for files over 25MB, password protected files, encrypted files, and file types not supported by Salesforce.