The formula seems to use thumbnails of SharePoint office files, so the display may not be updated if the thumbnails stored in this SharePoint are not updated.
So there are some problems, but if you just want to display a simple preview, this was a very useful tip.
*But be careful when integrating it into your product, as the PDF viewer itself is still in the testing phase and we have not yet confirmed why it works in this way.