This topic is locked
[SOLVED]

 Open hyperlink NOT in read only mode

12/6/2010 1:25:36 PM
PHPRunner General questions
W
wundebar author

Hi,
First sorry for the bad english...i'm italian
In my phprunner application (for use on local network only) i have a list view with hyperlink to various microsoft office documents...the documents are in a folder inside the root and all permissions are read/write.
When i click on the link to open the document, it open the corrispondent microsoft application and the correct file but in read only mode...the only way to modify is to overwrite.
I make the hyperlink with the command HYPERLINK in VIEW AS form
How can i make possible to open the document in read/write mode ? there is a way/option/command ? I googled too but i did not find any answer...
Thank you in advance!!

Admin 12/6/2010

When you open Word document via HTTP your browser downloads it to the temporary folder and opens it from there.
You need to create a special way formatted link to make it happen. Here is the sample link:

<a href=file:///\\server/folder/filename.doc>My Word document</a>


The best approach to build this kind of link is to use 'View as' type 'Custom'.

W
wundebar author 12/7/2010



When you open Word document via HTTP your browser downloads it to the temporary folder and opens it from there.
You need to create a special way formatted link to make it happen. Here is the sample link:

<a href=file:///\\server/folder/filename.doc>My Word document</a>


The best approach to build this kind of link is to use 'View as' type 'Custom'.


Hi Sergey, thanks for your reply,
I try, in CUSTOM type of VIEW AS:
But the link, in browser, appear like above..and nothing happen on click

[color="#0000FF"]file:////server-pc/preventivi/aaa.docx
The right link should be:

file:///\\server-pc/preventivi/aaa.docx

If i put this on the address bar the file open correctly in read/write mode
You can help me again ?

Thanks in advance

mikue from germany 12/7/2010
  1. Try that kind of formatted link if you use unc type :
    $value = "<a href='file://///server-pc/preventivi/aaa.docx'>OFFERTA</a>";
  2. Try that kind of formatted link if you use mapped drive type :
    $value = "<a href='file:///X:/shared/preventivi/aaa.docx'>OFFERTA</a>";
  3. Try that kind of formatted link if you use xampp on local machine and documents are hold locally on harddisk:
    $value = "<a href='file:///C:/users/username/documents/preventivi/aaa.docx'>OFFERTA</a>";
    Special hint for 3) if using vista / win7: you must translate path from italian to english utente = users and documenti = documents
    Note: docx format needs MS Office 2007 application and higher or usage of special converter.

W
wundebar author 12/9/2010


  1. Try that kind of formatted link if you use unc type :
    $value = "<a href='file://///server-pc/preventivi/aaa.docx'>OFFERTA</a>";


This one seems to be ok, i see the link in the status bar of the browser and is correct, only a problem:
if a click on the link from the list table nothing happen

if i copy the link (right click -> copy address) and then paste in another browser tab the file open correctly (read/write mode)
any suggestion?
thanks!

mikue from germany 12/9/2010

Please use Microsoft Internet Explorer

W
wundebar author 12/10/2010



Please use Microsoft Internet Explorer


Same thing :-(

Admin 12/10/2010

wundebar,
I would suggest open a ticket at http://support.xlinesoft.com sending your your order number so we can setup a screen sharing session and troubleshoot this issue. It actually worked for me fine in both IE and Firefox.