This content has been marked as final. Show 1 reply
I have done a number of OPPM interfaces / tools (Oracle Financials, P6, Microsoft Project, MSSQL Reporting Server, ...). The easy way to learn how the API works is to look at the sample code in the Primavera Portfolio Management 9.0 Enterprise API.chm which is located in the documents folder (look under EN for the English version). For each of the OPPM objects there is a sample code on how to call its methods.
The API comes in COM and Web Services favors. There are not completely identical. Some object’s methods are only available via the COM API (take a look at Users User Groups).
If you need you code to impersonate the user that is logged in, you will need to use the COM API.
If you plan to use the tools menu for your interface, you need to search the API documentation for the psPortfoliosAddOn object with doesn’t show up in the table of contents. The Menu.xsd is well commented on how to setup the menu file.