File Format for Importing Profile Values

You can import profile option values to your application by creating separate text files containing values. You can then upload these files to the Oracle WebCenter Content document repository.

Here are a few things that you need to keep in mind while creating these files:
  • Use a vertical bar or pipe ( | ) as a delimiter between fields for both the header and the value rows.
  • According to the Oracle WebCenter Content specification, set the file encoding to UTF-8 without the Byte Order Mark (BOM).
  • The first line in the file must be a header line, and the files must look exactly the same as shown in the sample file.

To create a file containing the profile values, include the headers specified in this table:

Header Description
ProfileOptionCode This value displays the profile option code.
LevelName This value displays the level name of the profile. It must be one of these level names:
  • Site
  • Product
  • User
UserName This value must correspond to the registered user name in the application. Don't provide any other shortened or coded name of the user.
ProfileOptionValue This value displays the profile value that you can import.

Here's a sample file with the header values at the beginning of the file, followed by line entries of the two profile values. For importing several profile values, add more line entries in a similar format.

ProfileOptionCode|LevelName|UserName|ProfileOptionValue
AFLOG_BUFFER_MODE|USER|APP_IMPL_CONSULTANT|TEST
AFLOG_LEVEL|USER|APPLICATION_DEVELOPER|FINEST