Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8674461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:42:57+00:00 2026-06-12T19:42:57+00:00

I am having trouble finding the local names for custom fields. I tried to

  • 0

I am having trouble finding the local names for custom fields. I tried to use the PSI custom fields service, but no luck. It seems to just get the enterprise fields. I’m really not sure where it is hiding the local names.

I am able to get the custom fields from the ReadProjectDataSet call, but it does not contain the names of the custom fields.

here is my code, which I think was copied from the projtool sample:

 public static SvcCustomFields.CustomFieldDataSet ReadCustomFields( )
    {
        CheckAccess();

        using (var scope = new OperationContextScope(projectClient.InnerChannel))
        {
            ProjectAuthentication.UseCorrectHeaders(isImpersonated);

            return customFieldsClient.ReadCustomFields(string.Empty, false);
       }
    }

here is a screenshot of how it is appearing project desktop:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:42:58+00:00Added an answer on June 12, 2026 at 7:42 pm

    The code is like this:

    CustomFieldDataSet cfDS = new CustomFieldDataSet();
    
    PSLibrary.Filter cfFilter = new Microsoft.Office.Project.Server.Library.Filter();
    cfFilter.FilterTableName = cfDS.CustomFields.TableName;
    
    cfFilter.Fields.Add(new PSLibrary.Filter.Field(cfDS.CustomFields.TableName, cfDS.CustomFields.MD_PROP_NAMEColumn.ColumnName));
    cfFilter.Fields.Add(new PSLibrary.Filter.Field(cfDS.CustomFields.TableName, cfDS.CustomFields.MD_PROP_IDColumn.ColumnName));
    cfFilter.Fields.Add(new PSLibrary.Filter.Field(cfDS.CustomFields.TableName, cfDS.CustomFields.MD_PROP_UIDColumn.ColumnName));
    cfFilter.Fields.Add(new PSLibrary.Filter.Field(cfDS.CustomFields.TableName, cfDS.CustomFields.MD_LOOKUP_TABLE_UIDColumn.ColumnName));
    cfFilter.Fields.Add(new PSLibrary.Filter.Field(cfDS.CustomFields.TableName, cfDS.CustomFields.MD_PROP_TYPE_ENUMColumn.ColumnName));
    
    cfDS = ReadCustomFields(cfFilter.GetXml(), false);
    

    The sample was written as addition to CustomFieldsClient. It reads Name of a custom field, ID, UID, UID of Lookup table and Type of the field.

    But it only reads name of the fields. There are user defined labels for the fields and the labels are defined in Project Pro and stored in Table definitions which are available through Project Pro only.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble finding info right now; it might still be too early. But
I'm having trouble finding books on the Windows Volume Shadow Copy Service. Can anyone
I'm having trouble finding exactly the syntax I need to use to set the
I'm having trouble finding information about how to use a model that doesn't belong
I'm having trouble finding a solution to this via google but I would have
I'm surprised that I'm having real trouble finding how to do this. It seems
I'm having trouble finding good advice and common practices for the use of namespaces
Having trouble finding an explanation in the docs, would someone be kind enough to
I am having trouble finding an answer to this. Consider the clipping code below:
I'm having trouble finding a way to do this in a way that doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.