0

I've been racking my brain over this for a while and Googling has failed me so I was hoping I could get some help here.

I just want to be able to update the Notes field on a Project Task in Project Server through REST/CSOM. I've tried the patch like so and it didn't work:

fetch(projApiUrl + "/Draft/Tasks('" + taskId + "')", {
    method: 'PATCH',
    body: JSON.stringify({
        "__metadata": { "type": "PS.DraftTask" },
        "Notes": "UPDATED NOTES TEXT"
    }),
    headers: fetchHeaders
});

It returned a 204, but the value didn't change at all.

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.