Share via


CustomFields.ReadCustomFieldsByEntity2 Method

Gets all of the enterprise custom fields for the specified entity (project, resource, or task), where formulas are in language-dependent format.

Namespace:  [CustomFields Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/CustomFields.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/CustomFields.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/ReadCustomFieldsByEntity2", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadCustomFieldsByEntity2 ( _
    entityUid As Guid _
) As CustomFieldDataSet
'Usage
Dim instance As CustomFields
Dim entityUid As Guid
Dim returnValue As CustomFieldDataSet

returnValue = instance.ReadCustomFieldsByEntity2(entityUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/ReadCustomFieldsByEntity2", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public CustomFieldDataSet ReadCustomFieldsByEntity2(
    Guid entityUid
)

Parameters

  • entityUid
    Type: System.Guid
    The GUID of the custom field project, resource, or task entity.

Return Value

Type: [CustomFields Web service].CustomFieldDataSet

Remarks

A new method in Project Server 2010. If a custom field or graphical indicator is calculated by a formula, the ReadCustomFieldsByEntity2 method converts formulas in the returned CustomFieldDataSet to a format that depends on the locale specified in the Regional and Language Options control panel of the computer running Project Server. By comparison, the ReadCustomFieldsByEntity method returns a CustomFieldDataSet where formulas are independent of locale.

Project Server Permissions

Permission

Description

Non-standard

You must have either the ManageWorkflow global permission or the ChangeWorkflow global permission. If you have ChangeWorkflow permission, you must also have both the OpenProject category permission and the SaveProject category permission.

LogOnToProjectServerFromProjectProfessional

Allows a user to connect to the Project Server database from Project Professional. Global permission.

ManagePortfolioAnalyses

Allows a user to create portfolio analyses. New in Project Server 2010. Global permission.

ManageEnterpriseCustomFields

Allows a user to modify the definitions of enterprise custom fields and lookup table values. Global permission.

ManageUsersAndGroups

Allows a user to manage Project Server users and groups. Global permission.

NewProject

Allows a user to create a project. Global permission.

ViewResourceCenter

Allows a user to view resource allocation data. Global permission.

ManageWorkflow

Allows the user to manage workflows. Global permission.

See Also

Reference

CustomFields Class

CustomFields Members

CustomFields Web Service

ReadCustomFieldsByEntity(Guid)