I use a form in the system that has only 1 record to store this type of
info. This way the data on each Remedy server (in this form) only
relates to that server. I build my URLs similar to what Axton has
listed below.
Fred
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:arslist@ARSLIST.ORG] On Behalf Of Axton
Sent: Wednesday, January 04, 2006 11:06 AM
To: arslist@ARSLIST.ORG
Subject: Re: URL for each server
I use a form to store the following info, then cross-reference it using
$SERVER$:
- AR Server (as defined in ar.conf Server-Name parameter)
- Web Server (stores http(s)://
- Deployed app name (stores the arserver name as it is registered in
mid-tier)
I then construct the URLs like this:
$Web Server$+"/arsys/apps/"+$Deployed app name$+"name>/start.jsp"
you get the idea.
Do keep in mind that when using $SERVER$ in filters, it returns the
Server-Name parameter from the ar.conf/cfg file. When using $SERVER$ in
active links, it returns what the user specified when logging in, be it
an IP, or a fqdn, or something else.
Axton
On 1/4/06, David Yearsley wrote:
> **
> We have 3 servers (Development, Acceptance Test and Production). We
> are using the Mid-Tier and setting up URL's that all the users to
> access their tickets and the home page.
> The problem we have run into is the URL for each server is different
> based on what type of server it is. Our policy is to have a different
> URL for each type of server so we can't make the URL the same for each
> machine, i.e., $SERVER$.dev for a development server $SERVER$.at for
the AT server. etc.
>
> We would like to make the URL dynamic so that when we migrate work
> flow from one server to the next we don't have to change the code. I
> know the default web address is stored in the ar.conf file.
>
> What is the best way to obtain this information?
>
> Do we use awk or is the web address stored in the database?
>
> Any help would be appreciated.
>
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
(Support: mailto:support@arslist.org)