We are building a bulk document export functionality for our application, for which we are using the Add Documents to Zip Plugin. It seems that Add Documents to Zip Plugin supports certain file types but not others. So far I have not had an issue with docx, excel, PDF, or image files, but html files do not seem to be supported as part of this plugin. Is anyone aware of what file types are or are not supported by this plugin?
Additionally, when two files of the same name are added, the document paths of the two files are identical and cause an error. Is there any way of getting around this?
Thanks!
Carson
Discussion posts and replies are publicly visible
If you look at the source of the plugin, it does seem to explicitly disallow files that have the same file path. You'd need to check for any similar doc names and change one of them using the Document Properties smart service before invoking the add document to zip plugin.
I don't see anything off hand that would inherently disallow html files, or a file of any extension for that matter. What error do you get in the std-out log when you try to add html files?
Josh, thanks for your reply. There is no std-out log entry, but the zip file does seem to be corrupted. This is the email when sent with the attached zip file containing an html file:
This is the text of that file: