How to use DumpFilesToDiscCLI
Jump to navigation
Jump to search
DumpFilesToDiscCLI is a tool to run the DumpFilesToDisc codeunit directly from a Command Line Interface such as Windows Powershell. To run the command, you must have JDK 1.8 (Or probably newer) installed and set up. From here you must do the following steps:
- Get war file from www.tempusserva.dk/install/nightly/TempusServa.war
- Rename file ending to .zip
- Unzip the file
- Navigate to \TempusServa\WEB-INF\lib in zip file in a CLI such as Powershell
- Run the following command, but replace the placeholder variables, including the <> characters with appropriate values for the given application you are running the tool on:
java -cp "./*" com.tsnocode.codeunit.common.DumpFilesToDiscCLI <live db name> <db username> <db password> <solution> <categoryField *optional*> <categoryEntity *optional*>