Adding, Updating, or Customizing Gateway Metadata
After modifying the P6ExtraMetaData and PDIExtraMetaData files, run the Gateway-Configuration utility to add your application's UDFs or Codes in the Gateway metadata. The utility is located in the following location:
- On Windows, go to C:\<Primavera_Gateway_Home>\pdi\snapshots\dbsetup-dist
- On Linux and Solaris, go to C:/<Primavera_Gateway_Home>/pdi/snapshots/dbsetup-dist
- Navigate to the <Primavera_Gateway_Home>/pdi/snapshots/dbsetup-dist folder.
- If you are installing on a non-Microsoft Windows system, type the following command to give execute permission for the utility:
chmod 755 Gateway-Configuration.sh
- Run the following command:
- For Windows installations, run Gateway-Configuration.bat
- For Linux and Solaris installations, run ./Gateway-Configuration.sh
- In the Primavera Gateway Configuration Utility dialog box, enter the following information:
- Select Manage Metadata, and select Next.
- Select any of the following options to manage Gateway metadata and select Next.
- Based on the Manage Metadata option selected in the previous step, enter the following database connection details:
- In the DBA User Name field, enter the user name of the oracle database administrator.
- In the DBA Password field, enter the password of the oracle database administrator.
- In the Database Host field, enter the host name of the Oracle database on which you will be updating the Primavera Gateway database.
- In the Database Host Port field, enter the port number of the Oracle database.
- In the Database Name field, enter the Gateway database name and select any of the following methods to connect to the database.
- In the SID field, enter the SID of the Oracle database.
- In the Service field, enter the service name of the Oracle database.
- In the Schema Owner field, enter the schema owner name.
- In the Schema Password field, enter the password for the schema owner.
- In the Provider data folder field, verify the path name for the following, as applicable:
- If you are using the Sample provider, then verify that this field contains the default Sample directory that contains all the Sample XML metadata/mapping templates.
- If you chose to install additional providers, then verify that this field contains the home directory for each provider. The XML files in the associated data subdirectory must include all the required data to load metadata and mapping templates.
For more information about these files, see the Gateway Developer's Guide.
To add providers, select Add and locate the data folder for each provider you wish to add.
To remove providers, select a provider and select Remove.
- In the Gateway Data Folder field, verify the path name to the PDI data folder. For example, C:/PrimaveraGateway/pdi/data.
- If you chose to Customize Gateway Metadata, then specify the XML file in the Customization XML field. Enter the path name or select Browse and locate the Customization.xml file for the specific provider.
Note: This field displays only when you select the Customize Gateway Metadata option.
- Select Test Connection. If the connection fails, modify the applicable fields and repeat as necessary.
- Select Run to run the configuration utility.
Using the Gateway Configuration Utilities
Adding User-Defined Fields (UDFs) and Codes to P6 EPPM
Adding P6 User-Defined Fields and Codes to Providers
Adding or Removing Providers
Adding or Removing Customizations