Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Tools Reference > Repositories > Exporting and Importing Repository Objects >
Exporting Object Definitions Using the Command Line Interface
You can also export object definitions using the Command Line Interface. The command line interface is invoked from the siebdev executable using the command switch /batchexport. The siebdev.exe is located in the Bin directory of the Siebel Tools installation directory.
The syntax of the /batchexport switch is:
siebdev.exe /c <config file> /d <database> /u <user name> /p <password> /batchexport <Repository Name> <Input File Name> <Log File>
The command line interface provided by the /batchexport switch accepts an input file that specifies export objects. The input file takes a comma-delimited format of Object Type, Object Name Search Expression, and .sif file name. The search expression takes any Tools accepted query criteria. To specify .sif file, you can use absolute file path or relative file path to the current directory.
You can place multiple lines in the input file, each requesting to export multiple objects into one .sif file. However, if you specify the same .sif export file in multiple lines, only the last export will take effect—the previous exports will be overwritten.
As an example, the following content in an input file would request the batchexport switch to export all business components whose name is like "*Account*" into exports.sif:
"Business Component,*Account*,export.sif"
NOTE: There should be no space before and after commas.
The following sample export command would export objects specified in the input file, obj.txt. It will also log results into export.log:
siebdev.exe /c tools.cfg /d sample /u sadmin /p sadmin /batchexport "siebel repository" obj.txt export.log
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel Tools Reference Published: 20 October 2003 |