Norm,
How about using a special Mid-tier trick to call a Javascript
function? ( I think this was supported in v5.1.2's mid-tier.)
Make your existing active link only fire for the User Tool (UT) by
using the CLIENT-TYPE keyword. Then copy that active link to a new
Active Like that you make only fire for the Mid-tier. (just a
different value for CLIENT-TYPE) Next change the
"PERFORM-ACTION-OPEN-URL" into a "Run process" action that starts with
the string (javascript:), but do not use the parentheses. Then you
just need to add a Javascript function and append it's name to the Run
Process action.
So if you javascript function was called (openMailtoLink) then your
Run Process action would be (javascript:openMailtoLink();). Again, no
parentheses and I forget if the trailing semi-colen is needed or not.
You can also pass in parameters from ARS fields to the Javascript
functions if needed too.
Your javascript function would likely look something like this:
function openMailtoLink() {
window.open('mailto:", '_targetWindowName');
}
You can get that javascript function into the Mid-Tier Javascript in a
couple of ways. The most "broad way" is to add it to a BMC/Remedy
javascript file that your Mid-tier is already sending to the browser.
( Just make sure that you pick a function name that is not already
part of the Mid-Tier Javascript environment. Maybe make the function
name "eglin_af_mil_openMailtoLink". I doubt BMC/Remedy would have used
that as a name. :) And this approach would let you maintain it in one
place and have access to it on all ARS forms via the Mid-Tier. Just
remember it when you upgrade your Mid-Tier.
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 2/14/07, Kaiser Norm E CIV USAF 96 CG/SCWOE <[EMAIL PROTECTED]> wrote:
**
Anyone have any ideas on how to open a mailto link without using
PERFORM-ACTION-OPEN-URL? There's a bug in version 5.1.2 that isn't fixed
until 6.3, but I need this to work…so anyone have any ideas for me to
consider?
Any ideas at all are much appreciated.
Norm
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers
Are"