Export (download) to a predefined location on the network.

2
I have users that need to export documents to a predefined location on the network, depending on the workgroup they belong to. They currently can use a Microflow (( generate pdf and download file). It is annoying that they have to provide the download location each time. Would it possible to store this location in the db (sth like "N:\workgroupshare\inventorydoc\" , and generate this export (download) to that location immediately without asking for it?
asked
1 answers
2

You need a JavaAction for that (see this). Create one with two parameters: filedocument and directory. Make the directory an attribute of the workgroup. Create an option 'Automatically save the file to a directory'. After the document is committed, check whether this option is true, if so, call the javaaction, if no call the download action.

answered