Command Line Parameters
- Nate Edwards
- Jill Hohnstein (Unlicensed)
- Patrick Murphy
- Josh Luth
Command Line Parameters are only available for an on-premises installation of Genesis. If using Genesis in a cloud-hosted environment, this capability is not supported.
The Command Line Parameters are:
-File <.epf extension FileName> - ESHAPort document file to open follows command.
CreationFrom=<Date> OR CF=<Date> - Enter creation from date.
CreationTo=<Date> OR CT=<Date> - Enter creation to date.
ModifiedFrom=<Date> OR MF=<Date> - Enter modified from date.
-IgnoreUsers - If you are importing and another user is in the program, you will get this error. “There %s currently %d user%s in the database. If they are modifying the records being imported, this could cause data errors. It is recommended that you have other users log out of the database before completing the import.” If IgnoreUsers is used, this error gets logged and the import function continues. If IgnoreUsers is not used, the import function exits.
ImportExportFile=<file name> or IEF=<file name>. This sets the name of the file you are importing from or exporting to.
ErrorLogFile=<file name> or ELF=<file name>. This sets the file where errors are logged. You can set this option in the import/export settings if you’re in the program. The command line parameter allows you to specify it from the command line.
ModifiedTo=<Date> OR MT=<Date> - Enter modified to date.
ContinueOnError - pushes any changes that worked for an import, and logs the failures
UserCode=<user> or UC=<user> - Selects By User Code (Export Only)
KeyFile=<NameString> or Key=<NameString> - select by Name
NutritionFacts=<path> or NutrFacts=<path> - select the output Label Path
All commands are case insensitive so FILE, file, File, CREATIONFROM, cf would all be valid commands
Dates must be in format MM/DD/YYYY
Example:
ESHAPortSQL.exe -File TestFile.epf CreationFrom=10/15/2000
CT=10/15/2004
MF=10/15/2000 ModifiedTo=10/15/2000