Skip to content
No description, website, or topics provided.
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Project-CSOM-Read-Local-CustomFields
LICENSE
Local Custom Fields.mpp
Project-CSOM-Read-Local-CustomFields.sln
Project-CSOM-Read-Local-CustomFields.yml
README.md

README.md

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.

You can’t perform that action at this time.