When trying to call cmd.exe you might be running into a security problem in the browser. Modern browsers really don’t like to allow execution of outside programs directly from a link because that’s an easy way to run malware etc. This could be true for calling the file:// prefix as well since that would require opening Windows Explorer. Just a theory and I don’t know that there is actually a way around that particular problem. The WUT does not have this restriction that I am aware of.
-Rick From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Sinclair, Keith Sent: Friday, October 10, 2014 10:48 AM To: arslist@ARSLIST.ORG Subject: Re: NOT SOLVED: PERFORM-ACTION-OPEN-URL to open internal network site ** </facepalm> Yes, you are correct. I copied the wrong part of the log. This was the correct one: ActiveLink Start:- ST:SI-OpenSiteOther | ST:SiteInformation/Default Admin View - Fri Oct 10 2014 12:14:46 PM ms 493 True actions: action 0 Run Process: PERFORM-ACTION-OPEN-URL new file://pwfil01/Public/IT<file:///\\pwfil01\Public\IT> HD/DocTest/S80039514.pdf ActiveLink End:- ST:SI-OpenSiteOther | ST:SiteInformation/Default Admin View - Fri Oct 10 2014 12:14:46 PM ms 493 EVENT End:- Button/Menu Field | Site Other(536870948) | ST:SiteInformation/Default Admin View Fri Oct 10 2014 12:14:46 PM I was showing a colleague how it all works fine and dandy in the user tool but not in a web browser and was swapping between two ALs being enabled/disabled. As an alternative, I tried to run a cmd.exe start //filepath/…/… session, which again worked in the Client Tool, but gave me an error in web browsers. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of LJ LongWing Sent: Friday, October 10, 2014 12:37 PM To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG> Subject: Re: NOT SOLVED: PERFORM-ACTION-OPEN-URL to open internal network site ** yes...but your Log you just posted is showing \\server<file:///\\server> not file://server<file:///\\server>..... On Fri, Oct 10, 2014 at 11:30 AM, Sinclair, Keith <ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com>> wrote: ** Using the URL directly in Chrome does work, also in IE. However, trying to call it from an AL using the Perform…URL, etc. it doesn’t do anything. Driving me nuts… Logs still are showing that AL fired: ActiveLink Start:- ST:SI-OpenSiteOther | ST:SiteInformation/Default Admin View - Fri Oct 10 2014 12:25:25 PM ms 271 True actions: action 0 Run Process: PERFORM-ACTION-OPEN-URL \\pwfil01\Public\IT<file:///\\pwfil01\Public\IT> HD\DocTest\S80039514.pdf ActiveLink End:- ST:SI-OpenSiteOther | ST:SiteInformation/Default Admin View - Fri Oct 10 2014 12:25:25 PM ms 271 EVENT End:- Button/Menu Field | Site Other(536870948) | ST:SiteInformation/Default Admin View Fri Oct 10 2014 12:25:25 PM From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG>] On Behalf Of LJ LongWing Sent: Friday, October 10, 2014 11:56 AM To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG> Subject: Re: NOT SOLVED: PERFORM-ACTION-OPEN-URL to open internal network site ** I just used the following url in chrome file://server/share/something.log<file:///\\server\share\something.log> if you try to specify the url in question, does it open manually? What does the log show? On Fri, Oct 10, 2014 at 10:43 AM, Sinclair, Keith <ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com>> wrote: ** Never mind, I stand corrected. This will work in the client tool but I cannot get it to run in Chrome or IE10 for the life of me. IE10 does nothing. Chrome opens up a blank window. All browser settings have been reset back to stock and pop up blockers are completely off. From: Sinclair, Keith Sent: Friday, October 10, 2014 10:27 AM To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG> Subject: SOLVED: PERFORM-ACTION-OPEN-URL to open internal network site I agree with Fred, as well. Looks like the “file://” did the trick. I had forgotten that was an option for browsers. Now my battle is for the file location folder permissions as I tried it on a publicly accessible network directory/file and was able to open it, but not my original document. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of LJ LongWing Sent: Friday, October 10, 2014 9:00 AM To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG> Subject: Re: PERFORM-ACTION-OPEN-URL to open internal network site ** I agree with Fred On Fri, Oct 10, 2014 at 7:54 AM, Sinclair, Keith <ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com>> wrote: ** So, I have a button that fires an AL with Run Process: PERFORM-ACTION-OPEN-URL \\NETWORK\Public\Site<file:///\\NETWORK\Public\Site> Management\Site Documents\$Site ID$.pdf. When I click on the button, nothing happens. The AL does fire, according to the logs. If I change the OPEN-URL to http://www.msn.com, it works. The button opens up MSN in a new browser window. From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG>] On Behalf Of LJ LongWing Sent: Friday, October 10, 2014 8:45 AM To: arslist@ARSLIST.ORG<mailto:arslist@ARSLIST.ORG> Subject: Re: PERFORM-ACTION-OPEN-URL to open internal network site ** Keith, We would need a bit more information, such as 'What happens' when you try....there should be no difference between an external and an internal web/document, as long as you are using the properly formatted url. Have you run logs, what do they show. On Fri, Oct 10, 2014 at 7:42 AM, Sinclair, Keith <ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com>> wrote: ** Is there a way to open an internal document via the PERFORM-ACTION-OPEN-URL command? I have used this in the past and it worked but now I cannot get it to open a URL unless it’s an external website. If I try to open an internal link, the link appears to do nothing. Essentially, I am trying to achieve a link to a dynamic document repository. If there’s another way to do it, then I am all ears. I’ve tried multiple browsers but with the same results. Stuff: ARS 8.1 MT 8.1 Linux/Oracle backend. Thanks, Keith Sinclair Remedy Development ShopperTrak Chicago USA O: 312.676.8289<tel:312.676.8289> | M: 630.946.4744<tel:630.946.4744> ksincl...@shoppertrak.com<mailto:ksincl...@shoppertrak.com> | @shoppertrak www.shoppertrak.com<http://www.shoppertrak.com/> _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"