LookupTable.ReadLookupTables Method
Gets custom field lookup tables and corresponding code masks. The language parameter is used only if xmlFilter is an empty string.
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/LookupTable/ReadLookupTables", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/LookupTable/", ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/LookupTable/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public LookupTableDataSet ReadLookupTables( string xmlFilter, bool autoCheckOut, int language )
Parameters
- xmlFilter
- Type: System.String
XML filter to read specific data. For more information, see How to: Use a Filter Parameter with PSI Methods.
- autoCheckOut
- Type: System.Boolean
If true, check out for making changes.
- language
- 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
Permission | Description |
---|---|
Connect to the Project Server database from Project Professional. Global permission. | |
Modify the definitions of Enterprise custom fields and lookup table values. Global permission. |