Skip to content

Ways of importing numerous XER files

Konstantinos PapagiannakisMember for 8 years 10 months
Created
5
4
0

Dear Professionals,

Is there a way of importing numerous XER files in P6 rather than importing one by one?

5 replies

Oldest first
  1. 0
    Zoltan Palffy ·

    what format are they to begin

    what format are they to begin with  ? one large file or multiple individual files ?

  2. 0
    Julian Nunez ·

    The only way I think this is

    The only way I think this is possible, is if the XER you are importing contains multiple projects.

    i.e. if you open 12 projects at once in P6, it will let you export all of them in to a single XER.  Good luck.

  3. 0
    Zoltan Palffy ·

    you can use the windows

    you can use the windows command line to import xer file this is hiow

    To use the Windows command line interface to import an XER file  the following:

     

    • Make a copy or edit the actions.xml file to specify the EPS you want to import the project to, the layout you want to use, and the XER file you want to import from.

     

    You can specify more than one import action in a single file, by including multiple <action> nodes.

    The following is a sample actions.xml file that illustrates importing 2 XER files from the same script. All tags must appear in the file; however, you can leave some tags empty, as noted below. Values in bold are literal values you must enter as is. Values in italics are samples that will vary with your configuration.

    <actions>

    <action>

           <type>import</type>

    <importFormat>XER</importFormat>

    <importType>PROJECT</importType>

    <importAction>CREATE</importAction>

    <importTo>EPS1</importTo>

    <importConfiguration>MyConfig1</importConfiguration>

    <importFile>c:\somefile1.xer</importFile>

           </action>

    <action>

           <type>import</type>

    <importFormat>XER</importFormat>

    <importType>PROJECT</importType>

    <importAction>CREATE</importAction>

    <importTo>EPS2</importTo>

    <importConfiguration>MyConfig2</importConfiguration>

    <importFile>c:\somefile2.xer</importFile>

           </action>

    </actions>

    • Close the PM module if it is running.
    • From the Windows command line, or a batch file, or from code, you can issue a command in the following form from the folder where PM.EXE is located:

     

    PM.EXE /username=<name> [/password=<name>] [/alias=<name>] /actionScript=<path> [/logfile=<path>]

     

    for example it would look like this 

    PM.EXE /username=admin /password=admin /alias=PMDB /actionScript=c:\somefolder\importprojects.xml /logfile:c:\somefolder\myLog.txt

    If any values include spaces, enclose the value in double quotes (""). For example:

    PM.EXE /username=admin /password=admin /alias=PMDB /actionScript="c:\some folder\importprojects.xml" /logfile="c:\some folder\myLog.txt"

    Processing results are written to the log file, or you can echo them to the command line interface

  4. 0
    Tom Boyle ·

    Bookmarking Zoltan's

    Bookmarking Zoltan's procedure.

  5. 0
    Mohammad Khan ·

    Hi AllI am also trying to

    Hi All

    I am also trying to import multiple .xer files (49 nos) into P6 one shot and had tried the solution provided at the Oracle website (https://docs.oracle.com/cd/F25600_01/English/admin/p6_pro_importing_exporting/helpmain.htm?toc.htm?49709.htm) but unfortunately this command line script is not working

    Tried multiple times but as it is written, P6 application start window appears

    Trying this script on a local standalone database (SQLite)

    Any advise 

Log in or join to reply

ProjectControls.com is free to join. Members can post questions, reply, vote and follow discussions.

Existing members: your original username and password still work. Forgot password?