CentraSite 10.5 | CentraSite Developer's Guide | Importing Objects Using API | Invoking Importer through Command Line
 
Invoking Importer through Command Line
 
Creating Script File to Invoke an Importer
Importer Class Names
Executing Script File to Invoke Importer
Each importer includes a main() method, which allows it to be called from a Windows batch file or from a UNIX shell script.
To invoke an importer from the command line, you must perform the following high-level steps:
1. Create a script file.
2. Execute the script file with the appropriate input parameters.
Note that there are usable scripts available for most of the importers. You can find the script files in the utilities folder in the <CentraSiteInstall_Directory>. For example, you could import a Web Service asset using the command tool named ImportWSDL.[cmd|sh].