Questions tagged [ms-project-server-2016]
30 questions
3
votes
0 answers
MS Project Delete Custom Fields Dialog Opening After Running Code
I have tool that's part of a VSTO add-in for MS Project that clears data out of an MS Project file that the user chooses. It uses methods such as Application.CustomFieldDelete(), Application.CustomFieldPropertiesEx(), Application.BaselineClear(), …

Kenny Arnold
- 406
- 2
- 8
2
votes
1 answer
1
vote
0 answers
How can I programmatically retrieve a list of project file names from Project Server?
I have a tool that needs to open Project files to get data out of them. Some of these project files are hosted on the Project Server site rather than a network location that can be browsed to with a normal file explorer.
I know you can open files…

Kenny Arnold
- 406
- 2
- 8
1
vote
0 answers
How to add a new Enterprise Resource to Resource center in SharePoint 2019 through CSOM
using (var Context = new ProjectContext(PWA_Url))
{
Load resources and custom fields
Context.Load(Context.EnterpriseResources);
Context.Load(Context.CustomFields);
Context.Load(Context.LookupTables);
…

Abhishek Bandi
- 11
- 1
1
vote
0 answers
Is there a way to programmatically get a list of the different departments Enterprise Fields belong to?
As far as I know, Enterprise Fields can be setup in Project Server to belong to a particular Department. I believe this would make it so a certain profiles would have access to certain Enterprise fields only if they are part of the same department…

Kenny Arnold
- 406
- 2
- 8
1
vote
1 answer
Is There a way to get a List of all the Enterprise Fields a user on Project Server has In Use?
I'm building a MS Project VSTO tool (written in C#) that in many instances needs to either read or write data from a field in MS Project. Since I don't always know what field will contain the data I need, I many times need to allow the user the…

Kenny Arnold
- 406
- 2
- 8
1
vote
1 answer
How to get Baseline X dates in Project server 2016 from Database?
How can I get Baseline´s columns from Project Server?
It is not possible to get them using CSOM. Also, I couldn´t find them in database script.
Is it the correct database? Is it pjpub, pjver or pjdraft? What is the correct table?

Jose Luis Suarez Cabrera
- 89
- 1
- 11
1
vote
0 answers
How to fix a broken MS Office (Project) Library reference?
One day while happily working away in MS Project I noticed that one of my custom formula fields did not work anymore. When I went to check the formula, it was gone (the formula, not the custom field). So, I went to go copy it from one of my other…

Eric Christoph
- 348
- 1
- 12
1
vote
0 answers
MS Project Server - How to block/interrupt save and publishd event on closed project
As in title, how to do it using csom to check for eg. boolean custom field 'Project closed' is set as true and lock project for editing. I think do it on project event, but how?
I've checked that on click save button first triggered method is…

Konrad L
- 21
- 3
1
vote
1 answer
Microsoft Project unable to establish a connection with Project Server 2016
I just built a Project Server 2016 and have connection troubles. Since this is a proof of concept, I did not use TLS. The URL is just http://xxxxxxxxxxxxx/sites/PWA I'm using the Project Permissions Mode.
I am testing with an unactivated copy of…

Bruce Dimon
- 161
- 10
1
vote
1 answer
How to programmatically assign Lag in MSProject C#
Microsoft Docs LinkPredecessors Method is described as:
public void LinkPredecessors (object Tasks, Microsoft.Office.Interop.MSProject.PjTaskLinkType Link = Microsoft.Office.Interop.MSProject.PjTaskLinkType.pjFinishToStart, object Lag);
How can I…

cchapel
- 11
- 1
1
vote
2 answers
Microsoft Power Platform Custom Connector to Project Server API - OAuth 2.0 Settings
When building a custom connector from powerapps/powerautomate to the Project Server API where can I find out what the OAuth settings should be? Settings include:
Identity Provider
Client id
Client secret
Login URL
Tenant ID
Resource URL
Scope…

Eric Christoph
- 348
- 1
- 12
1
vote
2 answers
Is there a way to get a list of all Project from MS Project Online (PWA)
MS Project is a bucket of bolts... but sometimes we have to work with what we've got.
I have a MS Project online, Project Web Access (PWA) with no reporting capabilities like PowerBI or anything.
Is there any way to use VBA to get a list of all…

Maxcot
- 1,513
- 3
- 23
- 51
1
vote
1 answer
Project Server Enterprise Custom Fields Always result null
i have created enterprise custom fields (formula) for Project server 2016
it was working before the issue now is all formula fields results null even i put fixed text or value of another built in field for example
and all formula working with …

mohamed farag
- 11
- 1
1
vote
0 answers
Connect from Microsoft Project Professional 2016 to Microsoft Project Online from command line
This article describes Command-line switches for Microsoft Office Project, although, for version 2007. I ve tried this command line for Microsoft Project Professional 2016 to connect to Microsoft Project Online.
I m passing command as…

Boris Zinchenko
- 2,142
- 1
- 24
- 34