How can we improve Project?

Allow reading and editing 100% complete assignments through CSOM for other user

When reading assignments of an enterprise resource through Project Online CSOM, assignments which are 100 % completed are not returned.

Code example:
=====================================================
//1. Creating Project Context, using credentials of a service account
//with Admin rights on PWA
ProjectContext context = new ProjectContext(...);

//2. Getting resource for reading assignments
EnterpriseResource resource = context.EnterpriseResources.Where(...).FirstOrDefault();

//3. Load Resource Assignments
context.Load(resources.Assignments);
context.ExecuteQuery();
StatusAssignmentCollection assignments = resource.Assignments;
=====================================================

The returned StatusAssignmentCollection of Step 3 doesn't contain assignments with 100% work completed but all other assignments of the resource.

Because of that, editing a 100% complete assignment (e.g. changing/adding work values) is not possible.

At the moment, this problem only occurs in Project Online. When using Project Server 2016 CSOM also the 100% complete assignments are returned.

Please allow this also for Project Online.

19 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Eric Rex shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base