| **
Peter,
Refer .NET API help doc (it must be there in the
installation pack).
Here is the sample code snippet from
it;
[C#] ARSystem.EntryListFieldList entryListFieldList = new ARSystem.EntryListFieldList();
entryListFieldList.AddField(8, 50, "");
ARSystem.EntryListFieldValueList entryListFieldValues = server.GetListEntryWithFields(formName, "'Short Description' LIKE \"A%\"", entryListFieldList, 0, 0);
foreach (ARSystem.EntryListFieldValue entry in entryListFieldValues)
{
Console.WriteLine(entry.EntryId.ToString());
foreach (uint field in entry.FieldValues.Fields)
{
Console.WriteLine("Field " + field + ":" + entry.FieldValues[field]);
}
}
[_vbscript_] Dim entryListFieldList
Set entryListFieldList = CreateObject("ARSystem.EntryListFieldList")
entryListFieldList.AddField 8, 50, ""
Dim entryListFieldValues
Set entryListFieldValues = server.GetListEntryWithFields_3(formName, "'Short Description' LIKE ""A%""", entryListFieldList, 0, 0)
Dim entry
For Each entry in entryListFieldValues
WScript.Echo entry.EntryId.ToString()
Dim field
For Each field In entry.FieldValues.Fields
WScript.Echo "Field " & CLng(field) & ":" & entry.FieldValues.Item(field)
Next
Next
Regards,
Anthony
From: Action Request
System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of
Lammey, Peter A.
**
Sent: Thursday, August 10, 2006 7:39 PM To: [email protected] Subject: Re: Trouble with using AR System .NET API version 1.2.1761.15495 We have been able to isolate the issue to a
parameter being passed to the function that retrieves the data from Remedy. Once
we established an object indicating all the fields we wanted returned,
everything worked as desired.
However, we are having trouble determining how
to qualify search criteria in the syntax of the .NET API (such as searching for
tickets where 'Status' = "Assigned" as an example.
Can you offer any sample code that performs a
search with qualification?
Thanks From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Papolu, Appajee Sent: Wednesday, August 09, 2006 6:47 AM To: [email protected] Subject: Re: Trouble with using AR System .NET API version 1.2.1761.15495 Peter,
Balu, Usually I would not
encourage folks polluting the system32 dir with application specific binaries.
Having said that, looks like your current issue seem to be clearly a PATH
related some how the PATH adjustments are not sufficient enough to make all the
necessary dependencies to be available when your app runs. Once you put the
necessary stuff in System32, things seem to have worked (did they?). So this may
be a short-term quick check/workaround that when dependencies are made available
(by forcing them to be in System32), things work better to move you forward with
whatever youre set out to do. But IMHO copying to system32 is not a good
installation/deployment statement, so I would like this to be figured out. So in
order to proceed further to see if I need to do any thing in .NET API itself, I
would like each of the following questions (I had asked in my previous posting)
explicitly answered. For your convenience, theyre pasted here
again: >>>> * Can you identify the
version of the .NET API youre using (Look at the version info on
BMC.ARSystem.DLL file properties)? * And please compare it
against the latest drop available on Dev Community and confirm if your
downloaded version is same. * After installation,
are you able to run the installed FieldLabelChanger.exe (simply by
double-clicking on it from File Explorer)? * If the
FieldLabelChanager itself does not run, then the problem may be even more basic.
* If this works fine
[i.e. at least the GUI comes up, allows you to login, brings up a listing of
list of forms/vuis (in combo-boxes) and fills up a grid of field names/labels]
however, then it is indicative of the installation being OK, but the
problem is with the invocation of your specific client program. Then I would
like to understand the following about your client program (sorry, I have
deleted your previous posting that included usage snippet attachment, as I felt
this thread has resolved your issue(s))
* is your app an ASP app?
* What is the exact error you get? * Any other details
that may have caught your eye
<<<< Thanks Appajee From: Action
Request System discussion list(ARSList) [mailto: Peter, I has the same
trouble. I was notified about the missing "BMC.arnettoc.dll", even with a
PATH including the folder in which I have installed the API
files. I had to copy the
files to the folder
"C:\WINDOWS\system32". De :
Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED]
De la part de Papolu,
Appajee ** From: Papolu,
Appajee Peter, Can you identify the
version of the .NET API youre using (Look at the version info on
BMC.ARSystem.DLL file properties)? And please compare it
against the latest drop available on Dev Community and confirm if your
downloaded version is same. After installation, are
you able to run the installed FieldLabelChanger.exe (simply by double-clicking
on it from File Explorer)? If the
FieldLabelChanager itself does not run, then the problem may be even more basic.
If this works fine
[i.e. at least the GUI comes up, allows you to login, brings up a listing of
list of forms/vuis (in combo-boxes) and fills up a grid of field names/labels]
however, then it is indicative of the installation being OK, but the
problem is with the invocation of your specific client program. Then I would
like to understand the following about your client program (sorry, I have
deleted your previous posting that included usage snippet attachment, as I felt
this thread has resolved your issue(s)) is your app an ASP app? What is the
exact error you get? Any other details that may have caught your
eye
Thanks Appajee |
Title: Trouble with using AR System .NET API version 1.2.1761.15495
- Re: Trouble with using AR System .NET API version 1.2.1761... Anthony K R
- Re: Trouble with using AR System .NET API version 1.2... Papolu, Appajee

