I’m working with SharePoint and ProjectServer 2007 via PSI with Python.
I can’t find any documentation on how Filter Class (Microsoft.Office.Project.Server.Library) objects work internally to emulate its behaviour in Python.
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Take a look at Colby Africa’s blog post. Also, msdn docs are here.
Edit
The generated filter is just XML. Here is a filter that returns the data from the “LookupTables” table (list of all the lookup tables):
Here is another example of the filters required for getting all the data for one table…
Step 1: Get the row for the LookupTable (general table info)
Step 2: Get all the data from the LookupTableStructures table (hierarchy info)
Step 3: Get all of the values in this lookup table
It requires three separate filters to get all this data because it is split across three separate tables. In C#, I am calling the
ReadLookupTablesMultiLangfunction with each of these filters and then merging the returned datatables.