PS2007 PSI: Filtering resources on custom field value

C

Cramezul

Hi,

I have a "JobType" enterprise custom field defined on resources. My C# app
must show a list of the resources that have the "Inspector" job type.

The only solution I see for the moment is something like this

ReadResources()
foreach resourceUid
ReadResource(resourceUid)
Look for JobType custom field
if JobType custom field exist and value == [Inspector value]
AddResourceToResultList...

Something tells me that ther should be a better way of doing this. Any idea?

Thanks
 
C

Cramezul

Sharry Heberer said:
Yes I already seen it. What I understand is that I can create a Filter to
restrict the result to one table and specify criteria to filter on this table
field values. In my case, I want to show the result of the Resources table
filtered by a values in another table: ResourceCustomFields.

Does filter allow this? If yes, how do we construct such a criteria?

Thanks,
 
S

Sharry Heberer [MSFT]

So I've done a little digging on this, and it should be possible, except
that there is a problem in ReadResources when you are filtering on CF
values. I will submit this issue for consideration in a future release, but
if you need a more immediate solution, then you should work with the
Microsoft Support organization.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top