Questions asked by nvtanhttps://answers.axonivy.com/questions/asked-by/1212/nvtan/?type=rssQuestions asked by <a href="/users/1212/nvtan" >nvtan</a>enMon, 11 May 2020 00:53:04 -0400Ivy.wf().documents() - How to change root destination path of uploaded fileshttps://answers.axonivy.com/questions/4560/ivy-wf-documents-how-to-change-root-destination-path-of-uploaded-files<p>I use <code>Ivy.wf().documents()</code> and want to upload files to my own folder ("c:/documents/attachments/ID"). But I got an error as it always upload to a default roor folder "C:\00.FIXIT_Designer7.0.14\files\application\" and just allows add subs folder inside:</p> <pre><code>Ivy.wf().documents() .add(new ch.ivyteam.ivy.workflow.document.Path("c:/documents/attachments/ID")) .write() .withContentFrom(file); IOException: Unable to create directory C:\00.FIXIT_Designer7.0.14\files\application\c:\documents\attachments\ID </code></pre> <p>(double "c:\")</p> <p>Is there any way to change it?</p> <p>Thank you!</p>nvtanMon, 11 May 2020 00:53:04 -0400https://answers.axonivy.com/questions/4560/ivy-wf-documents-how-to-change-root-destination-path-of-uploaded-filesdocument