This documentation is archived and is not being maintained.

LookupTable.ReadLookupTables Method

Office 2007

Gets custom field lookup tables and corresponding code masks. The language parameter is used only if xmlFilter is an empty string.

Namespace:  WebSvcLookupTable
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

[SoapDocumentMethodAttribute("", RequestNamespace = "", 
	ResponseNamespace = "", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public LookupTableDataSet ReadLookupTables(
	string xmlFilter,
	bool autoCheckOut,
	int language


Type: System.String
XML filter to read specific data. For more information, see How to: Use a Filter Parameter with PSI Methods.
Type: System.Boolean
If true, check out for making changes.
Type: System.Int32
Locale ID (LCID).

The primary DataTable in a LookupTableDataSet is the LookupTablesDataTable.


The xmlFilter parameter works with the Criteria operators to filter rows only in the primary LookupTablesDataTable. For example, you cannot use filter with the ReadLookupTables method to filter rows in the LookupTableTreesDataTable. If you try to filter rows in a secondary DataTable, the PSI returns a FilterInvalid exception.

However, you can use the Fields.Add method to filter columns in the primary LookupTablesDataTable and the in secondary LookupTableTreesDataTable and LookupTableMasksDataTable.

Project Server Permissions




Connect to the Project Server database from Project Professional. Global permission.


Modify the definitions of Enterprise custom fields and lookup table values. Global permission.