As far as I know there's no function to pass data back.
Here's how you might (partially) work around this. Assume you want to
pass back a number, e.g. "530922".
- Create several Active Link Guides, e.g.
Guide:SetField_0
Guide:SetField_1
Guide:SetField_2
....
- Each one of these guides should contain a single Active Link which
appends a single digit to the content of a charcter field:
Guide:SetField_0 appends "0"
Guide:SetField_1 appends "1"
....
- In the HTML page, implement a Javascript Function that splits "530922"
into "5", "3", "0", "9", "2", "2" and loops over that list, calling the
corresponding guides via arInvokeGuide().
Of course this is only viable if the string to pass back is rather short
and the set of possible characters is small.
This becomes much easier in ARS 7.0, where it's possible to send an
event from the view field to the user tool with a single function call.
Thilo Stapff
Axton wrote:
** There is one way you could probably accomplish this. You can call an
active link guide from a view field, this is how the flashboards works
for drill downs, etc. For a reference of js the functions available
from within view fields, see ar_wut.js located in the aruser/lib
directory. There may be a function that will allow you to pass data
back, but I'm not 100% sure of that.
arInvokeGuide(server, guide)
F(id)
SetLabel(id, newVal)
Axton Grams
On Jan 18, 2008 8:49 AM, Carey Matthew Black <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Frank,
Upgrade to v7.1 and use a Data Visualization Field. ( It is designed
to do what you are after... and then some.)
However.. in v6.3... the only thing I can think of (that would work on
the User Tool and the Mid-Tier) would be to have the process be more
like this...
a) Build HTML table.
b) User clicks on table and the HTML makes calls to a back end DB to
submit a record.
(-- think ajax/javascript post...etc..)
c) User then clicks on an "ARS button" (not in the html field) and
Active links look at an ARS view form that is pointed at the results
submitted by the HTML link click. Then does the right thing.
If you could deal with a solution only for the Mid-Tier then in v6.3
you might be fancy enough to work out a Javascript solution to avoid
step c for the user. But I do not know how to do it with the User
Tool.
HTH.
--
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 Jan 18, 2008 7:59 AM, Frank Caruso <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> ** ARS 6.3 p20
> Solaris/Sybase
>
> I know that I can walk a table field and, using a View Field,
construct an
> HTML Table with the results.
>
> However, what I would like to allow the user to do is select and
entry in
> the HTML table (or click a INPUT button in the table) and have a
value(s)
> returned to Remedy so that work flow can then continue. This will
all be
> done from a dialog box and will need to work in both the User
tool and the
> MidTier.
>
> Reason: I have two sets of data being returned from two vendor
LDAP forms.
> There is no other way to combine the data into a one table field.
I do not
> want to show the user two table fields.
>
> Thank you
>
> Frank
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
<http://www.arslist.org>
Platinum Sponsor: www.rmsportal.com <http://www.rmsportal.com>
ARSlist: "Where the Answers Are"
__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
html___
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"