Solution ID: prim20470 |
Why does the primary baseline Object Id, using the "getCurrentBaselineProjectObjectId()" method, return a null value? |
Status: Reviewed |
Version(s): 5.0, 6.1, 6.2, 6.2.1, 7.0 |
|
Why does the primary baseline Object Id through the Integration API using the “getCurrentBaselineProjectObjectId()” method return a null value? |
|
The getCurrentBaselineProjectObjectId() method maps to project.sum_base_proj_id which is not populated until the project is summarized.
Therefore, the getCurrentBaselineProjectObjectId() method will return null if the project has not been summarized.
Note: The loadCurrentBaselineProject() method will load the primary baseline regardless of whether the project has been summarized.
|
|
In Project Management, summarize the project (Tools, Summarize) |
↧
Solution ID: prim20495 |
How to confirm whether schedule process completed correctly or not when scheduled via API? |
Status: Reviewed |
Version(s): 4.0, 4.1, 5.0 |
|
How to confirm whether schedule process completed correctly or not when scheduled via API? |
|
JobManager The Job Manager is used to invoke all jobs, whether asynchronous (Schedule, Summarize, Apply Actuals) or synchronous (Copy Project). It is retrieved for a particular session by calling Session.getJobManager(). You can check the status of a particular asynchronous job by calling getJobStatus and passing in the ID of the job returned when the job was created. Other methods exist for deleting a job and getting a list of all jobs.
Note: Asynchronous jobs created using the Job Manager are serviced by the Primavera Job Service, which runs as a Windows NT/2000/XP service. If you have not installed the Primavera Job Service, see the Administrator’s Guide for instructions on how to install the service on a Windows machine.
See also – Solution ID: prim37574 How to view what jobs are currently running in the Integration API?
This information can be found on the API CD \DOCS\PROGRAMMERREFERENCE.HTML |
↧
↧
September 2, 2013, 3:03 pm
Solution ID: prim20899 |
Unable to see Java Beans Connectivity Folder within Crystal Reports 10 Developer or Advanced editions |
Status: Reviewed |
Version(s): 4.1 |
|
Integration API 4.1 SP1 |
|
Unable to see Java Beans Connectivity Folder within Crystal Reports 10 Developer or Advanced editions |
|
To verify whether your installation of Crystal Reports is properly setup to report off Java Beans, complete these steps:
1. In the Crystal Reports Designer, click the New button. The Crystal Reports Gallery appears. 2. Click As a Blank Report, and then click OK. The Database Expert dialog box appears. 3. Expand the Create New Connection folder, and then search for the Java Beans Connectivity folder.
If the Java Beans Connectivity folder does not exist, re-install Crystal Reports 10 Developer or Advanced editions with the Java Data components. The Java Data components are available by expanding the Data Access folder in the Crystal Reports Setup dialog box.
Note: Please refer to www.businessobjects.com for more information in regards to configuring Crystal Reports to use Java Bean classes as data sources. |
↧
September 5, 2013, 11:27 am
Solution ID: prim21087 |
Is scheduling available through the SDK? |
Status: Reviewed |
Version(s): 4.0, 4.1 |
↧
September 7, 2013, 4:55 pm
Solution ID: prim21189 |
How to launch an application from within the Integration API? |
Status: Reviewed |
Version(s): 4.0, 4.1, 5.0 |
|
How to launch project manager from within the Integration API? |
|
Sample code to launch an executable via JAVA |
|
Runtime r = Runtime.getRuntime(); Process p = null; try{ p=r.exec(“C:\\Program Files\\Primavera\\Project Management\\PM.exe”); } catch(Exception exp) { System.out.println(exp.getStackTrace()); } |
↧
↧
September 8, 2013, 7:30 pm
Solution ID: prim21334 |
How to create a root EPS using the Integration API |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 4.0, 4.1 |
|
How to create a root EPS using the Integration API |
|
The required fields for creating an EPS are:
Id Name ParentObjectId or OBSObjectId
To create a non-root EPS, the EPS’s ParentObjectId must be specified. To create a root EPS, since the ParentObjectId would be null, the EPS’s OBSObjectId must be specified instead. The reason behind this is if it is not a root EPS, it will inherit the OBSObjectId of the parent unless otherwise specified.
Here is sample code to create a Root EPS using the Integration API:
//Set variables for New EPS String sEPSID = “Create EPS”; String sEPSName = “Test Create”;
//Get OBS element. In this sample, it is getting the first OBS Object ID, but a where clause can be entered to get a specific OBS Object ID BOIterator boiOBS = gom.loadOBS( new String[] { “ObjectId”, “Name”,”ParentObjectId” }, null, null ); OBS obs = (OBS)boiOBS.next(); ObjectId objIdOBS = obs.getObjectId(); EPS eps = new EPS(session); //session specified in other code
//Set required fields for create eps.setId( sEPSID ); eps.setName( sEPSName ); eps.setOBSObjectId(objIdOBS );
//Create EPS ObjectId objIdEPS = eps.create(); |
↧
September 8, 2013, 10:44 pm
Solution ID: prim21363 |
Is there is any way to include the Title of User Defined Fields, Activity Codes, Project Codes, or Resource Codes in the XML output of the Integration API Export methods? |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 4.0, 4.1 |
|
Is there is any way to include the Title of User Defined Fields, Activity Codes, Project Codes, or Resource Codes in the XML output of the Integration API Export methods? |
|
The ability to include the Title of User Defined Fields, Activity Codes, Project Codes, or Resource Codes in the XML output is in an existing enhancement request.
Workaround:
XSLT can be used to transform the XML document into whatever it needs to look like. However, if the need is for the XML document to conform to a valid schema, XSLT can be used to transform our schema file (or edit it directly). Programs like XMLSpy, Microsoft’s Office 2003 with Front Page Graphical XSL editor, and JAXP with an XML transformer can be used.
DISCLAIMER: The applications listed above are provided for the convenience of the User and is not provided under warranty or supported as part of Primavera System Inc.’s Maintenance and Support Program. Users who implement the applications do so at their own risk. Primavera Systems Inc. will not be responsible for any problems or data loss resulting from the use of these applications. Additionally, most license agreements prohibit the direct modification of Data in the database, and as such, direct modification may void your warrantee. |
↧
September 10, 2013, 7:44 am
Solution ID: prim21399 |
Is there a way for the Integration API to monitor changes made by the client (PM.exe)? |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 4.0, 4.1 |
|
Is there a way for the Integration API to monitor changes made by the client (PM.exe)? |
|
Monitor changes made to business objects |
|
The ability for the Integration API to monitor changes made by the client (PM.exe) is in an existing enhancement request. |
↧
September 10, 2013, 2:20 pm
Solution ID: prim21443 |
Is there a Refresh() method in the Integration API ? |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 4.0, 4.1 |
|
Is there a Refresh() method in the Integration API ? |
|
The ability to have a Refresh() method in the Integration API is in an existing enhancement request. |
↧
↧
September 10, 2013, 4:21 pm
Solution ID: prim21444 |
How to change the rate in which the Integration API refreshes data |
Status: Reviewed |
Version(s): 3.5, 3.5.1, 4.0, 4.1 |
|
How to change the rate in which the Integration API refreshes data |
|
Project Manager / Project Management takes awhile to show data created / updated with the Integration API |
|
There is a setting in the Integration API Administrator. Go to Start, Programs, Primavera Integration API, Primavera Administrator.
Once in the Administrator, expand your configuration. Then expand the TableSyncService.
By default it is set to 60000 ms which is 1 minute. Setting this lower will affect performance so we recommend that you go no lower than 15000 ms which is 15 seconds.
![]()
|
|
If you would like to be able to refresh data through the API using a refresh method. See solution prim21443 |
↧
September 12, 2013, 8:01 pm
Solution ID: prim21585 |
Unable to use Crystal Reports 10 Standard or Professional Editions with the Integration API |
Status: Reviewed |
Version(s): 4.0, 4.1 |
|
Does Crystal Reports 10 Standard or Professional Editions work with the Integration API? |
|
Crystal Reports 10 |
|
Java Beans |
|
When trying to use Crystal Reports 10 Standard or Professional Editions using the Integration API, Java Beans data sources are not available. |
|
The option to report using Java Bean data sources is not available in Crystal Reports 10 Standard or Professional editions. Reporting using Java Bean data sources is only available with Crystal Reports 10 Developer or Advanced editions.
Note: You can learn more about this from the Crystal Reports Knowledgebase under Article ID #C2015605. |
↧
January 11, 2014, 6:23 pm
Solution ID: prim27822 |
Actuals and ETC not downloading correctly into MS Project using ProjectLink API. |
Status: Reviewed |
Version(s): 8.9, 8.9.0a, 8.9.0b, 8.9.0c, 8.9.0d, 8.9.0sp1, 9.0, 9.0.0a |
|
ProjectLink API provided in version 7.5 |
|
Actuals and ETC not downloading correctly into MS Project using ProjectLink API. |
|
When using the sample macro “onPvOpen_writeTimeInfo” to bring actual time and ETC hours to Microsoft Project:
![]() The hours are matched to the task and are disbursed evenly among the resources assigned to the task, regardless of how time has been entered by those resources. |
|
This feature is working as designed. The ProjectLink API is intended to provide a basic functionality and to be a starting place from which customers can build their own macros. Customers are responsible for supporting their own macros.
See also section C.3 in the System Administrator Guide 7.5 (sysadmin.pdf) and the ProjectLink Guide 7.5 (projectlink.pdf) |
↧
January 12, 2014, 9:55 am
Solution ID: prim27909 |
Error: Unable to parse XML string when launching myPrimavera admin application |
Status: Reviewed |
Version(s): 4.1, 5.0, 6.0, 6.1, 6.2, 6.2.1, 7.0 |
↧
↧
January 28, 2014, 2:17 am
Solution ID: prim28101 |
ProjectLink documentation does not show mappings between the CORE and Microsoft Project for milestones. |
Status: Reviewed |
Version(s): 8.0 |
|
ProjectLink documentation does not show mappings between the CORE and Microsoft Project for milestones. |
|
ProjectLink document page 52, Table A-1 Mappings Between Primavera and Microsoft Project Data Fields ![]()
|
|
Mapping of milestones between Primavera and ProjectLink is entirely configureable and is handled by the customer’s customizations to the ProjectLink API. |
|
This known problem has now been corrected in Primavera for Services 8.6 and also the latest version of Primavera Evolve: prim45478 ”What is the latest version of Primavera Evolve?” |
↧
January 28, 2014, 2:19 am
Solution ID: prim28107 |
Are the Budgeted (i.e. Planned) Units/Cost fields available to be spread for the Project, WBS, or EPS in the Integration API? |
Status: Reviewed |
Version(s): 4.1, 5.0 |
|
Are the Budgeted (i.e. Planned) Units/Cost fields available to be spread for the Project, WBS, or EPS in the Integration API? |
|
The Project, WBS, and EPS tables only show Summary information. The Summary Tables only store Baseline, Actual, Remaining and At Complete data (no Planned or Budget).
This was available in the SDK because the SDK does not use Summary Data to provide its spreads, even on Project, WBS and EPS. Everything is live.
Project Management, myPrimavera, and the Integration API use Summary data on its spreads for Project, WBS and EPS. Everything is stored. Since Planned Units/Cost is not stored in the Summary tables, it is not exposed in any of the Summary Data Dependent features of all the applications. |
|
This issue is an existing Enhancement Request. It will be considered for a future release
UPDATE: In Primavera Integration API 5.0 Service Pack 4, spread planned fields were added to the Project and WBS objects. At this time, it is still an enhancement request for these fields to be added to the EPS object. For EPS, use the workarounds below.
Workaround1:
The BaselinePlanned Units/Cost is exposed. To get this data populated, the current project has to be assigned as the baseline. Once it is assigned, then the Baseline Planned fields will be populated (i.e. BaselinePlannedCost, etc.). See Solution ID: prim30622 for more information on how to do this. This is for the Integration API 5.0 only since the ability to assign a baseline is new to 5.0.
Workaround2:
Use the live spreads of the child object (i.e. Resource Assignments) and “rollup” the Planned Units/Cost to the EPS levels. |
↧
January 28, 2014, 9:00 pm
Solution ID: prim28269 |
Is there the ability to check through the Integration API, if a project is open exclusively by a user in the Client/Server application? |
Status: Reviewed |
Version(s): 3.5.1, 4.0, 4.1, 5.0 |
|
Is there the ability to check through the Integration API, if a project is open exclusively by a user in the Client/Server application? |
|
The Integration API does not interact with the Client/Server users, therefore, can not know what settings they have set. |
|
This issue is an existing Enhancement Request. It will be considered for a future release |
↧
January 29, 2014, 9:54 am
Solution ID: prim28335 |
Is there the ability to get a Project’s WBSObjectID in the Integration API? |
Status: Reviewed |
Version(s): 3.5.1, 4.0, 4.1, 5.0 |
|
Is there the ability to get a Project’s WBSObjectID in the Integration API? |
|
The ability to retrieve the WBS Object Id directly from a Project object is an existing Enhancement Request. It will be considered for a future release
Workaround:
Load a child WBS of the Project and use the child’s getParentObjectID() method to get the Project level WBS Object ID. Then set the activity’s WBSObjectId to that. Some sample code for doing this is below:
//Load Project into BOIterator and set a Project object to myProject
BOIterator boProj = gom.loadProjects(Project.getWritableFields(), “Id = ‘AddActs’”, null);
Project myProject = (Project) boProj.next();
//Load Child WBS
BOIterator boWbs = myProject.loadWBSChildren(WBS.getAllFields(), null,null);
WBS myWbs = (WBS) boWbs.next();
ObjectId wbsObjId = myWbs.getParentObjectId();
|
↧
↧
February 13, 2014, 12:29 am
Solution ID: prim28378 |
Where to find Integration API 5.0 Documentation? |
Status: Reviewed |
Version(s): 5.0 |
|
Where to find Integration API 5.0 Documentation? |
|
The Integration API documentation can be found after the Integration API has been installed. By default, it will be in: C:\Program Files\Primavera\IntegrationAPI\docs.
It can also be found on the Integration API CD, in the “docs” folder.
This directory contains the Setup guide, The Readme File, and the Programmers Reference Guide. To launch detailed instructions on using individual Java classes for the Integration API (JAVADOCs), launch the index.html file in: C:\Program Files\Primavera\IntegrationAPI\docs\api |
|
Click on this link to download the documentation for the Integration API Version 5.0. |
↧
February 13, 2014, 8:36 am
Solution ID: prim28463 |
Summary Spread data is different from PM when viewing by month In the API |
Status: Reviewed |
Version(s): 4.0, 4.1, 5.0 |
|
Summary Spread data is different from PM when viewing by month In the API. |
|
Summary Spread data viewed via the API is different than summary spread data in Project Management. |
|
API Summary Spread data is different from Project Management summary spread data when viewing by month. |
|
Monthly summary spread data does not match between the API and Resource Assignment View. |
|
Go to Admin, Admin Preferences, Options tab. Set the WBS level and Resource/Role Assignment Level options to the appropriate time interval.
![]()
If the spreads still do not match, schedule the project then re-summarize the project in Project Management.
Note:
- The API spreads the resource units between the Start date and the End date.
- Project Management uses the Start date + the remaining duration to calculate the End date, then spreads the resource units between the Start date and the End date.
|
↧
February 13, 2014, 4:17 pm
Solution ID: prim28527 |
Can the API show spread data in Fiscal Years |
Status: Reviewed |
Version(s): 3.5.1, 4.0, 4.1, 5.0 |
|
Can the API show spread data in Fiscal Years |
|
The ability to Spread data via Fiscal Years in the API is an existing Enhancement Request. |
↧