Ah.. but...
Use the Runmacro that fits the right _shoe_. :) [ I even managed to
get a Buckeye reference in my answer! That should be worth at least
two drinks in the ARSList drinking game! :]
I would be surprised if you can not use the v5 runmacro against the v6
server. Then use that "v5" arx file and import it to the v5 ARS
server.
I no longer have access to a v5 ARS server so....
Rmdy_Buckeye please do the following:
Login to the server.
Find the runmacro on the server and run it with a -h (or -help, or
--help) command line flag from a shell window. It should spit out a
bunch of command line options that you can use. They likely include
the AdvancedGuide-630.pdf details:
Page 566:
"
The AR System server includes the runmacro utility, which can run a
macro or export data without a GUI, as a background process. The
runmacro utility can be run from filter or escalation workflow, or as
a standalone process (that is, a Windows batch file or UNIX script).
The runmacro utility can also be used by third-party applications to
run AR System macros. One limitation of the runmacro functionality is
that it provides no GUI support. Therefore, runmacro can execute
processes that run in the background and complete, but it cannot
perform tasks such as displaying a Results List of a set of records.
The runmacro command has two formats, which follow. (The items between
square brackets are optional.) Enclose arguments that contain blank
spaces or symbols in double quotes.
You can use the original version of runmacro without the output file
option (-o):
runmacro [-h <home_directory>] [-d <macro_directory>]
[{-x <server_name>} ...] { -e | -i } <macro_name>
[-p <parameter>=<value> ...] [-U <user_name>] [-P <password>]
[-Q <internal_qualification_format>]
[-q <client_tool_qualification_format>]
[-Z <internal_format_qualification_file_name>]
[-z <client_tool_format_qualification_file_name>]
[{-w | -W } <external_authentication_string>] [-a <port_number>]
[-O]
You can use runmacro with the -o option to use the old arcopy syntax,
which copies the output to a file:
runmacro -o <output_file_name> [{-x <server>} ...] -U <user>]
[-P <password>] [{ -f | -s} <form>] [-t {arx|csv|xml}]
[-Q <internal_qualification_format>]
[-q <client_tool_qualification_format>]
[-Z <internal_format_qualification_file_name>]
[-z <client_tool_format_qualification_file_name>]
[{-w | -W } <external_authentication_string>] [-a <port_number>]
"
What you want to use is the "OLD" arcopy syntax. Something like:
runmacro -o logfile.txt -x ARSserver.your.com -U bob -P
Yep_password_goes_here -f User -t arx -q "'1'="$Request ID$"" -a
Port_number_if_you_need_it
Now you likely need a wrapper around that to get the command line
syntax right from the Run Process action. But that is a simple shell
script issue. And you then need to turn around and "import" that
records to "server#2" as well. (See the docs for "arimportcmd" that
are also in that same chapter too. I think it was still called that
for a v5 server.)
But the possible key is to use the v5 tools against the version 6
server go GET the data and the v5 tools to PUT the data to a v5
server. (Assuming that James's concerns are valid.)
--
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 9/14/06, McKenzie, James J C-E LCMC HQISEC/L3
<[EMAIL PROTECTED]> wrote:
**
Remedy_Buckeye:
Run the program on the server, not the client. Thus, your users will not
have to clear any dialogs, etc. This is done using a FILTER which triggers
on the change of password (you have to copy the cleartext password to
another field before submit and this can be done with your AL.) It is NOT
possible, from what I understand, to downlevel from 6.0 to 5.0 the encrypted
password.
James Mckenzie
L-3 GSI
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Rmdy_Buckeye
Sent: Thursday, September 14, 2006 12:13 PM
To: [email protected]
Subject: Re: Syncing passwords between two servers
RunMacro
Description Run the specified macro, substituting the specified parameters.
The macro is run in visible mode. If you run this method against an
invisible instance of Remedy User, it will be made visible to the desktop
user. If Remedy User User is visible but minimized, its window will be
brought to the foreground.
The
desktop user must dismiss any dialogs triggered by the macro before your
automation client can regain control.
The above is taken from the C_API_Guide_English page 421.
To reiterate, when a password is changed on the User form on server
A(running 6.0), I want to in the background send that password and user id
to server B(5.0) and have the Remedy software on server B sync up that
password.
I do appreciate this assistence, so far I am impressed by the number of
people and qualit of respones on this website. Ill let my team know about
this group.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
__20060125_______________________This posting was
submitted with HTML in it___
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org