March 22, 201114 yr Hi, I need people to be able to open procedures that are located on network drive through IWP with OpenURL Example URL: file://d:\procedures\01.pdf Now in IWP a http:// prefix is automatically added when the user clicks, so they simply cannot open the file. I searched the forum and found that some user had a solution (http://fmforums.com/forum/topic/32433-open-url-in-iwp/) but the topic old and the attachment is lost. Is there anyone that knows how to solve this problem? Thanks in advance.
April 18, 201114 yr Author For anyone who's interested, here is my workaround for the above problem. On changing the field that contains the document (the doc that users need to open through IWP) a scripttrigger exports the content of a 2nd field. This 2nd field contains an HTML meta-refresh code. This html code tells the browser to reload using address x, which is in this case, the address of the the document (file://10.51.x.x/docs/01.doc) This record is written to a file called e.g. 01.html and is saved on a webserver (so a fileserver that can be reached with an HTML prefix http://) A third field contains the adress of the HTML file, so something like http://10.51.x.x/html/01.html This field is used for the "open url" action, this will be the field that the user clicks on. So now the user can click and directly open the document. Note that the meta-refresh tags that direct your browser to a local file, does not work wit Firefox, since this finctionality is disabled. It works fine in IE.
Create an account or sign in to comment