Can you try some thing like...
EntryFieldValueList resultList = server.GetListEntryWithFields(...,
new int[] { 1, 2, 536870930 }, //list of fields
...);
Console.WriteLine(resultList.Count);
foreach (EntryFieldValue entry in resultList)
{
Console.WriteLine("Entry ID: " + entry.EntryId);
FieldValueList fieldValueList = entry.FieldValues;
//case.1 - you know field ids for which you have queried values
for:
Console.WriteLine("Field(1):" + fieldValueList[1].ToString());
Console.WriteLine("Field(2):" + fieldValueList[2].ToString());
Console.WriteLine("Field(536870930):" +
fieldValueList[536870930].ToString());
//case.2 - just iterated all field values you got
foreach (uint field in fieldValueList.Fields)
{
Console.WriteLine("Field(" + field.ToString() + "):" +
fieldValueList[field].ToString());
}
// of course more defensive code (to check for nulls etc), would
help
}
Regards
Appajee
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of bswrchrd
Sent: Monday, July 23, 2007 11:19 AM
To: [email protected]
Subject: Re: Question about EntryFieldValueList
Appajee,
Tried that and it still failed. What is even more weird to me is that
when I do "Go To Definition" in the context menu and retrieve the
metadata for EntryFieldValueList I get this (which doesn't have Item):
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"