Hello and thank you in advance for any help you can offer.
I have a scenario where a user selects a word document from resources (it's a template). When they select it, placeholders are substituted with data (using MSWordUtils) and saved in a table as binary data.
I would like to save it as binary data that would allow the user to view/download it as a PDF. It seems that the Forge applications that convert Word documents to PDFs work only with saved files and not a binary data field. If I'm not correct feel free to call me out on this. If I try to take the binary data saved from the word document and use PDF Viewer Reactive to view to document it does not work (I figured it would not but wanted to at least try)
Any help or guidance would be most helpful,
John
If you are converting it to a PDF, you should then be able to store it as binary and the PDF viewer should render it. Is it possible that the binary is in the incorrect format? If you download the binary does it open as a PDF?
Thanks for the reply. That's a good test to see if the binary data is somehow corrupted. I will try it and see what the result is.
You were correct - it was no the binary data itself, but the filename being saved in the table. I gained a better understanding of how this process needs to work, and was able to fix my issue. Thank you for your help!