Import data via an XML connector (Command Line Utility)

Command line for running an UpdateConnector on an environment.

Data

 

Action:

IMPORTXML

General options:

Default.

Example:

"C:\Program files (x86)\Profit\AFAS Windows\Kernel\Bin\AFASCMD.EXE"/O"Environment name " /G"Username" /W"Password"IMPORTXML /N"KnEmployee" /F"A:\Employee.XML" L"C:\TEMP\Employee.LOG"

Extra options

Option

Explanation

/N<UpdateConnector>

The name of an UpdateConnector. This can be followed by a hyphen and a version number.

/F<import file>

This option allows you to state which file should be imported.

/L<import log file>

This option allows you to state which log file should be used.

/X

When using this option, the file to be imported is deleted after importing.

/Y

When using this option, the log file is deleted before starting the import.

See also