Tadeu Augusto Dutra Pinto,

You did not mention what version of ARS your dealing with. ( It can
help us to understand what options you might have to work with.)

However, in general, the ARS platform has 5 basic API "operations"
that can be done with data. ( SUBMT, MODIFY, DELETE, GET ENTRY, and
MERGE) The API will allow you to do, or trigger, any of those 5
things. However, it does not allow you to execute a specific Active
Link ( a client side feature that is strictly speaking, not part of
the API ) nor only a specific Filter that might be part of any or all
of the above mentioned operations for an ARS form.

However, with all of that said.... Your ARS client program (using the
API) can query for data like a Set Field action would. You mentioned
the v7.0 API... So take a look at this class and methods.

com.remedy.arsys.api.EntryFactory
  .find(...)
  .findAndIterate(...)
  .findByKey(...)
  .findObjects(...)

Just guessing but find would likely be the way to go... then use the
first record found and do a EntryFactory.findByKey(...) to get the
rest of the field values that your want from the other record. Then
let your client program continue on with what it needs to do next with
the data it found.... etc.. etc...

I hope that helps you to start to find your way around the API, but I
suspect that the problem is more fundamental to the design of what
your trying to do than with the API usage itself. The part you did not
explain is why your do not want to submit a new record. ( I suspect
that if the full process was better understood then a better approach
might be possible. But it is hard to tell at this point.)

Anyways.. I hope that helps.

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.



On Wed, Aug 6, 2008 at 5:08 PM, Tadeu Augusto Dutra Pinto
<[EMAIL PROTECTED]> wrote:
> **
> Hi,
>
> How can I use the class FieldAssignInfo and AssignFieldInfo from API 7.0
> (arapi70.jar) to execute a Set Fields Operation on a form???
>
>
> I'm very very lost in this situation... Maybe this is not the correct way to
> do what I want / need...
>
> I'll try to explain what I'd like to do in my App:
>
> I would like to input (via API) determined values in my form, but I don't
> know how does API works... I'm trying to study the API's Javadoc ... but I'm
> very confused about that...
>
> I've already have the values that I want to post in my fields on form ...
> But I don't know how to integrate these datas... Remembering that I don't
> want to SUBMIT a record with this NEW values ... I only want to execute a
> 'Set Fields' Action...
>
> Is there any possibility to do this?? Can anyone help me??
>
> Thanks in advance...
>
> Tadeu Augusto Dutra Pinto

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to