This example demonstrates how to use Gateway File Provider and synchronize data in CSV file format to P6. This synchronization will create an EPS with a new project containing WBS, Activities, and Resource Assignments. Data from the following csv files will be transferred to P6.
The Role-Resource-ResourceRole-Rates-EPS Example.csv contains:
- An EPS object, with an ID, EPS1.
- A Role object containing a hierarchy of roles.
- A Resource object, containing a hierarchy of resources.
- A ResourceRole object containing a list of roles mapped to resources.
- A ResourceRate object containing a list of resource rates associated with each resource.
The Project-WBS-Activity-ResAssignment Example.csv contains:
- A Project object linked to an EPS.
- A WBS object linked to a project.
- An Activity object linked to a WBS.
- An Activity object containing multiple activities defined for the project.
- A ResourceAssignment object, containing a list of resources assigned to activities in the project.
Prerequisites
- Install Gateway selecting File and P6 Providers
- Install P6 EPPM
- Go to Oracle Support and view Doc ID: 2269778.1.
- Download and unzip UsingCSVFormat.zip locally.
The zip includes:
- Two CSV format files:
Role-Resource-ResourceRole-Rates-EPS Example.csv
Project-WBS-Activity-ResAssignment Example.csv
- SampleCSVSetup.zip which contains the metadata files for deployments, templates, business flows, and synchronizations
- Two CSV format files:
Setting Up Gateway for Synchronization
- Sign in to Gateway as an administrator or developer.
- In the sidebar, select Configuration.
- Select the Import/Export tab.
- In the Import Configuration Data section, browse to SampleCSVSetup.zip, and then select Import.
A success message displays: 'SampleCSVSetup.zip was successfully added to Gateway.
- Select the Deployments tab.
- Select Example P6 Deployment and then select Edit.
- In the General step of the Deployment wizard, select Next.
- In the Deployment step:
- In the User Name field, update the name of the P6 user.
- In the Password field, update the password for the P6 user.
- In the Endpoint field, enter the P6 URL in the format, http://<host>:<port>/p6ws/services/SyncServiceV1
- Select Save.
Synchronizing Data in Gateway
Run two separate synchronizations from File to P6 as follows:
- In the sidebar, select Synchronization.
- Run the synchronization, File-P6 Resource Role ResRoles Rates EPS Example as follows:
- In the Synchronization Name column, select File-P6 Resource Role ResRoles Rates EPS Example.
- Select Edit....
The synchronization wizard displays.
- In the Flow & Deployments step, select Next.
- In the Parameters step:
- In the File Name field, select: Role-Resource-ResourceRole-Rates-EPS Example.csv
- Select Save.
- Select Run.
- Run the synchronization, Project-WBS-Activity-ResAssignment Example.csv as follows:
- In the Synchronization Name column, select File-P6 Project WBS Activity Assignments Example.
- Select Edit....
- In the Flow & Deployments step of the Synchronization wizard, select Next.
- In the Parameters step:
- In the File Name field, select the csv file, P6 : Project-WBS-Activity-ResAssignment Example.csv.
- Select Save.
- Select Run.
Verify Transferred Data in P6
- Sign in to P6.
- Select Projects and then select EPS.
- Expand EPS1 - EPS Example.
A new EPS with ID, EPS1, has been created with a new project containing WBS, activities, and resource assignments.