Jul 27 2022 09:30 AM
The API feed for projects only includes the last modified date for baselines [ProjectBaselineModifiedDate] and not the actual date that the baseline was established. To get to that, I need to open MS Project. This is sufficient for out immediate needs with this caveat: if, for any reason, the project is restored from back up or otherwise modified externally, this also updates the [ProjectBaselineModifiedDate] even though the date of the baseline remains the same. We acknowledge this reality.
Recently, 10 projects have had the [ProjectBaselineModifiedDate] modified without any action on our part. This is causing confusion in our reporting.
Is there any chance that adding the actual baseline created date to the API feed is somewhere on the roadmap or does anyone know of another way to access these data other than manual intervention in the report queries?
Jul 27 2022 03:16 PM
SolutionHello @netmarcos ,
This wont be added to the Project Online Odata API. You could have a new Enterprise Custom fields in Project Online and programmatically write the baseline saved dates to those fields. I wrote a simple example many years ago for on-premises but the same concept will work for Project Online for baselines created in the Project Client. For baselines created in PWA, this approach wont work.
Paul
Jul 29 2022 07:30 AM
Jul 29 2022 12:37 PM
Hello @netmarcos ,
On premises it is not supported to query the pub schema with T-SQL, it is only supported to query the reporting schema (pjrep).
Paul
Jul 29 2022 01:13 PM