It would depend on how your catalog page is created.

If your Catalog page is built using HTML forms then the catalog filed
could be referenced (depending on how the field is named) as
FormName.CatalogFieldName.value so you could build the URL dynamically.

function Build_URL() 
{ 
  var return_value = " http://<mid-tier-server>/arsys/forms/<production
server>/NFCUTestWeb?F536870913=" + FormName.CatalogFieldName.value; 
  return (return_value) 
}

ASP, PHP, Java, and other web page tools/environments/languages can have
other ways of doing the same thing.

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Joseph Kasell
Sent: Thursday, January 15, 2009 9:12 AM
To: [email protected]
Subject: Re: Mid-Tier Question - Passing Values

Fred,

Appreciate the response.

But that's what I'm trying to determine: how DO you pass the catalog
text
to that field if you don't hard code that particular text in the URL?  I
just want to have one universal URL to deal with which is used by all
the
links but which accepts whatever service catalog text that needs to be
passed.

Joseph Kasell
Navy Federal Credit Union


-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Thursday, January 15, 2009 8:41 AM
To: [email protected]
Subject: Re: Mid-Tier Question - Passing Values

Sure... You could pass the catalog text into a field on the Mid-Tier and
then have an AL that runs on Window Loaded do a lookup in a back end
translation form to fill in the fields you want.  

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Joseph Kasell
Sent: Thursday, January 15, 2009 8:13 AM
To: [email protected]
Subject: Mid-Tier Question - Passing Values

Good morning listers!

Here's my situation.  A web-based service catalog is going to be
implemented in the next few weeks here at work.  It will have a laundry
list of links (i.e. - I need a phone, I need new software installed, I
need
a new monitor, etc.)  The goal is that when a link is clicked, it will
launch a mid-tier browser in a custom form I've developed that will have
certain fields pre-filled and one or two others where the end user can
free-type text.

I used the ability of using the Mid-Tier URL to pass data to one of the
pre-filled fields on that form.  This field is the one that contains the
name of the request as presented in the service catalog.  Here's an
example:

http://<mid-tier-server>/arsys/forms/<production
server>/NFCUTestWeb?F536870913=3DI%20need%20a%20phone

This works beautifully.  However, I am thinking ahead about the other
requests we have now and the need to encode a new URL for each and any
for
the future (in other words, field id 536870913 would need to say "I need
new software installed" or "I need a new monitor")  Not that hard to do
but
it could be an admin headache.

My question is this: instead of having a hard-coded URL for each service
catalog request, is there any way to build a "generic" URL so that the
text
in that service catalog link is passed to that field I referenced ?

We're running Mid-Tier 7.0.01 patch 001.  The service catalog page is
external to our mid-tier server.

Appreciate the help.

Joseph Kasell
Navy Federal Credit Union

________________________________________________________________________
_______

UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

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

Reply via email to