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 as follows:

  1. 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

  2. Go to any of the following folder locations:
    • <Primavera_Gateway_Home>/gateway/app/utilities folder

      where

      <Primavera_Gateway_Home> is the installed location of Gateway.

    • <Gateway Download Folder>/GenericInstaller/GatewayUtility folder.
  3. Run the following command:
    • On Windows: Run Gateway-Configuration.bat
    • On Linux and Solaris: Run ./Gateway-Configuration.sh
  4. In the Primavera Gateway Configuration Utility dialog box, enter the following information:
    1. Select Manage Metadata, and select Next.
    2. Select any of the following options to manage Gateway metadata and select Next.
      • Replace Gateway Metadata
      • Update Gateway Metadata
      • Customize Gateway Metadata

        Note: The Customize Gateway Metadata option only updates the Gateway database with metadata.

  5. Based on the Manage Metadata option selected in the previous step, enter the following database connection details:
    1. In the DBA User Name field, enter the user name of the oracle database administrator.
    2. In the DBA Password field, enter the password of the oracle database administrator.
    3. In the Database Host field, enter the host name of the Oracle database on which you will be updating the Primavera Gateway database.
    4. In the Database Host Port field, enter the port number of the Oracle database.
    5. 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.
    6. In the Schema Owner field, enter the schema owner name.
    7. In the Schema Password field, enter the password for the schema owner.
    8. 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 <Primavera_Gateway_Home>\providers\sample\data 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 Primavera Gateway Provider Development 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.

    9. In the Gateway Data Folder field, verify the path name to the gateway/data folder. For example, C:/PrimaveraGateway/gateway/data.
    10. 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 file created for the specific provider.

      Note: This field displays only when you select the Customize Gateway Metadata option.

    11. Select Test Connection. If the connection fails, modify the applicable fields and repeat as necessary.
    12. Select Run to run the configuration utility.

Related Topics

Configuring Primavera Gateway

Adding User-Defined Fields (UDFs) and Codes to P6 EPPM

Adding or Removing Providers



Legal Notices | Your Privacy Rights
Copyright © 2013, 2021

Last Published Thursday, December 16, 2021