What file types does Add Documents to Zip plugin support? How to deal with duplicate files?

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

Parents
  • 0
    Certified Lead Developer

    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?

Reply
  • 0
    Certified Lead Developer

    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?

Children