What about using a different Run Process Action (use $PROCESS$ in a Set
Fields action to get the result).
PERFORM-ACTION-OPEN-ATTACHMENT <field_ID>
Opens an attachment from an attachment field, and returns a value of 0
(Successful).
If the attachment is not opened, the command returns one of the
following codes:
1: Cancelled
2: Failed
This should work to open the PDF viewer in both the User Tool and Web
browser in Mid-Tier
I think the other way is to do a Set fields from the attachment to a
View Field.
Fred
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Opela, Gary L CTR USAF AFMC 72
CS/SCBAH
Sent: Friday, December 05, 2008 2:02 PM
To: [email protected]
Subject: Re: PERFORM-ACTION-OPEN-URL not firing on midtier
Try putting a file::\ in front of the URL, I think. You might have to
dig around for the exact syntax. I'm not sure if this will fix it or
not, but it seems like a familiar idea to me.
Gary
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, December 05, 2008 1:47 PM
To: [email protected]
Subject: PERFORM-ACTION-OPEN-URL not firing on midtier
Hi all,
I need help on this one. I don't understand why it is not working...
I have a workflow that works fine on the native tool (User tool) but not
at all on the midtier. The runprocess action is supported by the
midtier.
This is what I did (and it works fine with the native client):
On a display only form,
1 - Set attachment field A with a document from form Test
2 - Run Process: PERFORM-ACTION-OPEN-URL new $A$
It fires perfectly well using the User tool, but not on the midtier.
I put a message between action 1 and 2 to show the value of $A$ which
comes out
On remedy client: C:\DOCUME~1\boyerpa\LOCALS~1\Temp\Master Index.pdf
On midtier: C;\Documents and Settings\boyerpa\My Documents\ARS7.01
Doc\Master Index.pdf
As you can notice, on the native client, it is retrieving the document
and setting it in the temp file locally. On the midtier, it seems to be
trying to access the original path of where the document was when
attached on form Test.
What am I missing?
Thanks for any help!
Pascale Boyer
503-745-2159
ARS 7.01 patch 3
OS: Windows
DB: SQL 2005
Midtier 7.01
Apache\tomcat 5.5
Browser: IE 6
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"