The My Task Checklist sample code demonstrates how to query for assignments for the current user and to submit status updates (complete/incomplete) using C# CSOM. It also demonstrates how to authenticate against Project online without directly passing the credentials to the application.
As a team member, I want to be able to see my assignments and quickly check them off to mark them as complete.
- Choose the PWA site you want to connect to and click connect.
- Authenticate as a team member.
- Check and uncheck assignments
- Click Submit.
To use this code sample, you need the following:
- Project Online
- Visual Studio 2013 or later
- Project CSOM client library. It is available as a Nuget Package from here
This sample runs CSOM methods that read assignment information for the logged in user and will update the percent complete. Tenant data will be affected.
- Client-side object model (CSOM) for Project 2013
- [SharePoint and Project Online SDK] (https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM)
Copyright (c) 2016 Microsoft. All rights reserved.