This topic is locked

Store full-path file name

5/10/2012 6:04:21 AM
PHPRunner General questions
B
b.emanuele author

Hi all,

could someone please help me finding the way to store in a text field the full path name of a file (path and file name of origin)?

In our company we have a network disk with a lot of shared file.

I've tried setting up a file/image field, but:

  1. I don't want to upload a file to the web server.
  2. The field in my table contains only the file's name without the full path.
    Thanks

Sergey Kornilov admin 5/10/2012

You can simply set 'Edit as' type to 'Text field' and paste the full path there. Setup 'View as' type as 'Custom' and display this path as a Hyperlink to the file on network share.

B
b.emanuele author 5/10/2012

Sergey,

thanks for the quick answer.

May I ask you if there is a way to do this with the Open file dialog form?

It's a bit tricky to copy and paste the file name...
regards

Sergey Kornilov admin 5/10/2012

You cannot do this with Open file dialog. This dialog is for uploading files only (which you don't need). Besides that Open file dialog doesn't provide access to the full path to the file.