Mark,

Fields that can have values over 255 bytes can NOT be used within a
GetListEntryWithFields call. In such cases, you'll have to make separate
calls as below:
- GetListEntry or GetListEntryWithFields : primarily for issuing the
query and secondarily retrieving matched entries' shorter(?) values;
- Loop over the matched entries above and iteratively issue a GetEntry
call to retrieve values for fields with long character data.

For operating on StatusHistory field values, please use StatusHistory &
StatusHistoryItem classes. Diary and StatusHistory are different types;
their values encoded differently; and hence have different classes
handling them.

Regards
Appajee


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mark B.
Sent: Monday, July 31, 2006 12:00 PM
To: [email protected]
Subject: Remedy and .NET API

Hi All,

I'm quite new to Remedy so please be patient :)
I've just encountered with two problems concerning .NET API calls.
I want to retrieve information of description field among other fields
and put it into table. 

Calling function GetListEntryWithFields gives me the error:
Error (241): Cannot specify a diary field, a character field with
unlimited length
or maximum length over 255 bytes, or Status-History as a field in a get 
list description;240000007
which is correct: Description field has unilimited length
But I would like to know if  there is any other way to get the
description field content and put it into datatable?

Second problem concerns retrieving information from Status-History
diary field.
I can add a record to a diaryfield eg. this way:
DiaryList.Add(DiaryEntry)
but can't find any relative method to get the specified record out of 
the Status-History field.
Documentation says that there is a public property Item of DiaryList
class but my VisualStudio's IntelliSense either debugger doesn't see
this property

Please point to the right direction  if I'm wrong with this approach 

I use the most recent api from BMC download page and ARSystem 6.3 
Any help (code snippets) would be appreciated.

Thanks, Mark

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to