Loading territory data into the Collaborate database
About this task
All files that are referenced in this task are in the Platform-home\Collaborate\tools\admin\loadTerritories directory.
Procedure
- Create the xml file that contains the territory definitions and user assignments.
- Specify the database properties in the loadTerritories.properties file.
- Edit the loadTerritories.bat (on Windows™) or loadTerritories.sh (on UNIX™) file:
- Run the load file for your system by using the following
syntax:
loadTerritories [path]file
If the territory definitions file is not in the Platform-home\Collaborate\tools\admin\loadTerritories directory, provide the full path, which is enclosed in quotation marks.
For example:
loadTerritories":\HCL\xml\salesTerritories.xml"
Results
When the script completes, a message indicates whether the import ended with or without errors. Errors are recorded in the file loadterritories.log. If any errors are reported, correct the errors and run the script again.