Using file importfiles.txt to import additional admin data

During server startup, PolicyCenter examines file importfiles.txt to determine if it lists additional administrative data files to load. This file exists in the following location in Guidewire Studio:
  • configuration > config > import > gen

In the base configuration, file importfiles.txt contains the name of one file to load, that of nonRenewalExplanationPatterns.csv.

The file format of each file to load must be either CSV or XML. If adding multiple file names to importfiles.txt:
  • List the files in order of data dependencies.
  • Ensure that you provide both the file name and the file extension for each file that you add.
Warning: Any file that you name in file importfiles.txt must exist in the gen folder or the database upgrade fails.

Import additional admin data at server start

You can add additional file names to file importfiles.txt to load the contents of those files into the database at server start. The files to import must be in either XML or CSV file format. Do not attempt to use SQL commands directly to modify the PolicyCenter operational database tables.

Procedure

  1. Place the appropriately formatted file containing the data in the following folder in Guidewire Studio.
    • configuration > config > import > gen
  2. Add the files to load to the list of files in importfiles.txt.
    If adding multiple file names to importfiles.txt:
    • List the files in order of data dependencies.
    • Ensure that you provide both the file name and the file extension for each file that you add.

Results

PolicyCenter loads the data in sequential order of the files listed in file importfiles.txt during the next application server start.