I need to regenerate an unknown number of file previews. I have not found anything in the documentation so far. Does the Apex API support this? Really don't want to use the online "Regenerate a Content or File Preview" individually.


1 Answer 1


Salesforce support confirmed that at present there is no option to programmatically regenerate the previews.

I was able to generate a Selenium script that iterated through all of my contentversionids and submit each one individually using the "Regenerate a Content or File Preview" page.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .