Importing & Exporting XER & XML Files in Primavera P6

Although several file types can be exported from and imported to Primavera P6, two file types are the most commonly used formats. The Oracle XER format is a proprietary file format that supports all Primavera P6 project, resource, and role information.  The XER format allows the user to export and import between different versions of Primavera P6.  An XER file can also be generated as a backup to a Primavera P6 project.

The other format commonly used, XML, stands for “eXtensible Markup Language”. This popular format allows users to share project information between Primavera P6 databases.  The XML file allows project data to be stored in a plain text format. This in turn makes it simpler for various software programs to exchange the data.  Such data can be easily shared and controlled by the Primavera P6 user.

Also, XML files allow the export of baseline data, as well as project activity layouts. If Global and Project Security Profile settings are implemented in Primavera P6, data items that can affect the data in the database will not be imported.

Exporting the XER File from Primavera P6

Open the Primavera P6 project that you are interested in. Go to the File tab and select “Export”:

Exporting the XER File

Select “Primavera PM – (XER)” and select the appropriate Primavera P6 version from the pull-down menu. Select “Next”:

Export Format

Select “Project” and then “Next”:

Export Type

Ensure that you put a checkmark on the project name:

Projects to Export

Select the ellipses for the path where you want to put the exported file and select “Finish”:

File Name

You will receive a confirmation box:

Export Result

Importing the XER File into Primavera P6

Go to the File tab and select “Import”:

Select Import

Select “Primavera PM – (XER)” and select “Next”:

Select Primavera PM – (XER)

Select “Project” and then “Next”:

Select Project

Select the ellipses for the path where the XER file to be imported is located and select “Finish”:

Select the Ellipses For Path

Select the import option, where you can create a new project or update an existing project. In this example, we are creating a new project:

Creating a New Project

Select “Import To” so that you can direct where the new project will be imported into the enterprise structure. Select “Next”:

Select “Import To”

You will receive a box to update the project options. In this example, we are going to use the default configuration:

Update the Project Options

However, you do have the option to use the ‘Modify’ button to choose options specifically to either update the existing parameters or to keep the existing data types:

Update the Project Options

However, you do have the option to use the ‘Modify’ button to choose options specifically to either update the existing parameters or to keep the existing data types:

Modify Button to Choose Options

Select “Finish”:

Select Finish

You will receive a confirmation of the import:

Import Result

If you go to the Main Projects menu, you can see where the new project has been imported:

Main Projects Menu

Exporting the XML File from Primavera P6

Open the Primavera P6 project that you are interested in. Go to the File tab and select “Export”:

File Tab and Select Export

Choose “Primavera P6 – (XML)”:

Choose Primavera P6 – (XML)

Ensure that you checkmark the project that you will export:

Checkmark the Project

Select the ellipses for the path where you want to put the exported file and select “Finish”. The option to save the file as a .zip file may appear. Check “Export all project level layouts” if you want to include all of the project level layouts in the exported XML file:

Select the Ellipses

You will receive a confirmation of the XML export:

XML Export Result

Importing the XML File into Primavera P6

Go to the File tab and select “Import”:

Select Import

Select “Primavera p6 – (XML)” and select “Next”:

Select Primavera P6 – (XML)

Select the ellipses for the path where the XML file is located and select “Finish”. Check “Import all project level layouts” if you want to include all of the project level layouts from the imported XML file:

Import all Project Level layouts

Select the import option, where you can create a new project or update an existing project. In this example, we are creating a new project:

Creating a New Project

Select the ellipses for the path where the XML file to be imported is located and select “Finish”:

Select Finish

The ellipses as shown below allows you to select the baseline(s) to import with the XML file. In this example, we are not carrying over a baseline. Select “Next”:

Import Project Options

In this example, we are using the default import template:

Using Default Import Template

However, you do have the option to use the “Edit” button to choose individual options for the data types. Not all data types have to be imported or updated:

Choose Individual Options For Data Types

Select “Finish”:

Select Finish

You will receive a confirmation of the successful XML import. You will also see a link to a report on the successful import. Click on the blue link below to view this report:

View Report

Go to the main projects menu to see where the new project has been imported:

Main Projects Menu

Open the project and take notice that the Gantt bars on the right of the schedule are green. Remember that we did not carry over a baseline in this instance:

Gantt Bars on the Right Schedule Green

Conclusion:

Now that you know how to utilize two of the most common file types in Primavera P6 to create export files and import projects, you will be able to work with other Primavera P6 users. This promotes Primavera P6’s capabilities that allow users to share and modify project schedule data.

Contact Leopard Project Controls for a CPM Scheduling Consultant.