You have the option to add user-defined fields (UDFs) and codes to P6 EPPM and to prepare the P6 EPPM database for synchronizing the data. Use this procedure to also add UDFs and codes from Oracle Primavera Cloud, Primavera Unifier, Sample provider and third-party applications to P6 EPPM.
For example, if your application has UDFs or codes that P6 EPPM does not have, you can add these UDFs or codes using an XML file that you edit and then point to it in the Gateway Configuration utility. The XML file needs to conform to the DataConfiguration.xsd schema. For more information on the DataConfiguration.xsd schema, see the Primavera Gateway Provider Development Guide.
To add your application UDFs or codes to P6 EPPM:
- Ensure that your JAVA_HOME variable is pointing to a supported JDK folder.
Note: Ensure the following:
- The bin folder of the supported Java JDK is included in the PATH.
- If there are other JDK bin folders in the PATH, it should be listed first.
- 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.
- <Primavera_Gateway_Home>/gateway/app/utilities 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-P6Setup.sh
- Run the following command:
- For Windows installations, run Gateway-P6Setup.bat
- For Linux and Solaris installations, run ./Gateway-P6Setup.sh
- Enter the following information in the Primavera P6 Data Setup Utility dialog box:
- In the Authentication Type field, select UserName Token or SAML 2.0 Token.
- In the P6 Admin User Name field, enter the user name of a user who has admin privileges on the P6 deployment.
- In the P6 Admin Password field, enter the password of the admin user.
- If you chose SAML2.0 Authentication type, then enter or Browse and select the SAML2.0 Token File.
- In the P6 WebServices URL field, enter the URL of the SyncServiceV1 web service in the following format:
<protocol>://<hostname>:<port number>/p6ws/services/SyncServiceV1?wsdl
- In the P6 database instance ID, enter the system ID (SID) from P6 Admin configuration of the P6 database instance.
- Select the Enable Encryption option if this feature is activated.
- If a Keystore File has been generated, enter the following information:
- Browse and select the Keystore File.
- Enter the Keystore Password for the Keystore File.
- Enter the Certificate Alias provided by the Certifying Authority.
- In the P6 Data XML File Path, enter or select Browse to specify the path to the XML file that you modified with the UDFs or codes which you want to add to P6 EPPM.
For a P6 EPPM with Sample provider integration, ensure you have installed the Sample provider, and now select the SampleP6DataSetup.xml in the <Primavera_Gateway_Home>/providers/sample/sampleprovider/p6data folder. Enter the absolute path to the file.
For a P6 EPPM with Oracle Primavera Cloud integration, select the PrimaveraCloudP6DataSetup.xml file in the <Primavera_Gateway_Home>/providers/primaveracloudprovider/p6data folder. Enter the absolute path to the file.
For a P6 EPPM with any third-party enterprise application integration, select the relevant <third-party provider P6datasetup>XML file from the data/p6data folder. Enter the absolute path to the file.
- Select Run. The UDFs or codes will be imported into the P6 EPPM deployment you selected.
- Select Finish to close the utility.