Skip to content

isabella232/Project-CSOM-Read-Local-CustomFields

 
 

Repository files navigation

page_type products languages extensions
sample
office-project
office-365
csharp
contentType createdDate
samples
8/12/2016 12:14:15 PM

Project CSOM Read Local CustomFields

The github.com/OfficeDev/Project-CSOM-Read-Local-CustomFields sample uses C# and the Project CSOM to demonstrate how to access custom fields that are defined within a project.

Users typically access local custom fields by opening a project using the Project Professional or Project Pro for O365, then selecting Custom Fields from the Project tab of the ribbon.

Scenario

I want to be able to retrieve project local custom fields so that I can display properties/data unique to my projects.

Using App

  1. Add the Project CSOM client package here
  2. Update the PWA site
  3. Update the login/password to your PWA site.
  4. Upload the sample Project mpp file to PWA and publish
  5. Run the app

Prerequisites

To use this code sample, you need the following:

  • Project Online tenant.
  • Visual Studio 2013 or later
  • Project CSOM client DLL. It is available as a Nuget Package from here
  • The project named "Local Custom Fields" added to the Project PWA site.

How the sample affects your tenant data

This sample runs CSOM methods that reads the contents of uploaded project "Local Custom Fields" for the specified user. Tenant data will be affected.

Additional resources

Copyright

Copyright (c) 2016 Microsoft. All rights reserved.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%