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


<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadCustomFieldsByEntity2 ( _
    entityUid As Guid _
) As CustomFieldDataSet
Dim instance As CustomFields
Dim entityUid As Guid
Dim returnValue As CustomFieldDataSet

returnValue = instance.ReadCustomFieldsByEntity2(entityUid)
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public CustomFieldDataSet ReadCustomFieldsByEntity2(
    Guid entityUid


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

Return Value

Type: [CustomFields Web service].CustomFieldDataSet


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




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.


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


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


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


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


Allows a user to create a project. Global permission.


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


Allows the user to manage workflows. Global permission.

See Also


CustomFields Class

CustomFields Members

CustomFields Web Service