Hello,
How can I write a javascript which recreates the PDF preview of a document?
For thumbnails you can use the following tow commands for recreation:
document.createThumbnail("doclib", true);
document.save();
Reason ist, that I have sveral documents where the preview is not working. The reason for this problem was a transfomer issue combined with to few system resources. Using the above command I was able to recreate all thumbnails.
Thanks,
Florian