Sample: Loading organizations
This sample shows you how to insert new organizations into the
database.
About this sample
This sample loads the following organizations into the database:- Sample Organization
- HR Department
- Retail Department
If you prefer to work with data in XML format instead of in CSV format, you can configure the utility to use XML formatted files. Edit the wc-dataload.xml file and change the location elements to reference the xml files provided.
Procedure
- Open the command-line interface and go to the following directory:
- WC_installdir/bin
- WCDE_installdir\bin
- Enter the following command:
- ./dataload.sh ../samples/DataLoad/Member/Organization/wc-dataload.xml –DLoadOrder=Organization
- dataload ..\samples\DataLoad\Member\Organization\wc-dataload.xml –DLoadOrder=Organization
Verifying results
To verify that the organizations were loaded into the database:- Open the Organization Administration Console.
- Click .
- Search for each of the following organizations:
- Sample Organization
- HR Department
- Retail Department