Has anyone successfully used the PdfPreview add-on while preserving their custom PDF model type? Even though I followed the documentation in ensuring I implement the IPdfFile interface on my custom model as well as creating a Custom PdfContentMediaResolver to override the GetFirstMatching(string extension). The file upload process still uses the PdfFile model from the PdfPreview add-on instead of my custom type. If this is a bug, is there a safe/creative way to tap into the OnSavedContent event to maybe look for those PdfFile instances and create another version using my custom type? I would appreciate any help or guidance if someone has done this successfully.
Has anyone successfully used the PdfPreview add-on while preserving their custom PDF model type? Even though I followed the documentation in ensuring I implement the IPdfFile interface on my custom model as well as creating a Custom PdfContentMediaResolver to override the GetFirstMatching(string extension). The file upload process still uses the PdfFile model from the PdfPreview add-on instead of my custom type. If this is a bug, is there a safe/creative way to tap into the OnSavedContent event to maybe look for those PdfFile instances and create another version using my custom type? I would appreciate any help or guidance if someone has done this successfully.